上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 44 下一页
摘要: 1.下载源代码http://thrift.apache.org/download/下载最新版本thrift-0.8.0.tar.gz2.安装boost库sudo apt-get install libboost-dev libboost-dbg libboost-doc bcp libboost-*3.安装其他相关工具包sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ li 阅读全文
posted @ 2012-03-17 09:25 zaleilynn 阅读(403) 评论(0) 推荐(0) 编辑
摘要: A.You need to install the glibc-devel package. It contains the object files necessary for developing programs which use the standard C libraries (which are used by nearly all programs). If you are developing programs which will use the standard C libraries, your system needs to have these standard . 阅读全文
posted @ 2012-03-16 22:53 zaleilynn 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 重新编译gccCFLAGS="-O3 -fPIC" ./configuremake && make install 阅读全文
posted @ 2012-03-16 22:35 zaleilynn 阅读(160) 评论(0) 推荐(0) 编辑
摘要: (本文章仅适用于C++程序)写服务程序时,如果需要提供命令行参数。传统的方法是手工解析argv参数,或者使用getopt函数。两种方法都比较费劲。使用Google gflags可以大大简化命令行参数处理。安装gflag从官方地址http://code.google.com/p/google-gflags/下载gflags并安装。比如我下载的是1.5版本。[yichi@yichi tmp]$ wgethttp://google-gflags.googlecode.com/files/gflags-1.5.tar.gz[yichi@yichi tmp]$ tar zxvf gflags-1.5.t 阅读全文
posted @ 2012-03-16 17:27 zaleilynn 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 一个符号有多的位置的时候,使用ctrl + ] 会跳到第一个位置,g + ] 会让你选择跳转到哪一个tag去的---------------------------------------------------------------这个还是太复杂----------------------------------------------------------[/home/brimmer/src]$ ctags -R"-R"表示递归创建,也就包括源代码根目录下的所有子目录下的源程序。"tags"文件中包括这些对象的列表:l 用#define定义的宏l 阅读全文
posted @ 2012-03-16 11:36 zaleilynn 阅读(216) 评论(0) 推荐(0) 编辑
摘要: linux下DHCP服务器配置(使用Ubuntu LTS 8.04)转载请注明 原文:http://blog.csdn.net/xl_xunzhao/archive/2008/10/09/3044502.aspxxunzhao的博客已搬家至:http://xunzhaoxz.itpub.net系统环境:Ubuntu 8.04 LTS服务器版linux下DHCP服务器的配置其实就是配置dhcpd.conf文件。(1)首先安装DHCP服务器程序dhcp3-server,可以使用命令sudo apt-get install dhcp3-server进行安装,当然有图形界面的话使用新立得进行安装也是一 阅读全文
posted @ 2012-03-12 19:32 zaleilynn 阅读(411) 评论(0) 推荐(1) 编辑
摘要: http://code.google.com/p/cloudxy/wiki/Set_vm_scene 阅读全文
posted @ 2012-03-11 17:12 zaleilynn 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 我为什么要安装KVM?1. 受制于VMWare Workstation版本的8GB磁盘文件限制2. VMWare安装文件动则几百MB,更新麻烦3. 被KVM虚拟机的性能吸引,可以看这个测试报告Phoronix - Ubuntu 8.04 KVM BenchmarksPhoronix - Intel Core i7 Virtualization Performance4. 命令行配置——灵活我的系统环境软件环境:主机操作系统:Linux leo-laptop 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:53:35 UTC 2009 x86_64 阅读全文
posted @ 2012-03-11 16:57 zaleilynn 阅读(907) 评论(0) 推荐(0) 编辑
摘要: sudo add-apt-repository ppa:kernel-ppa/ppa && sudo apt-get updatesudo apt-get install linux-headers-2.6.35-14 linux-headers-2.6.35-14-generic linux-image-2.6.35-14-generic linux-maverick-source-2.6.35 阅读全文
posted @ 2012-03-09 17:46 zaleilynn 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 有够复杂的安 装 了 vnc4server之后 , ubuntu下 修改 (修改了 第二行 和 最后 一行 )unset SESSION_MANAGER. /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresourcesxsetroot -solid greyvncconfig -iconic &x-terminal-emulator -geometry 80x24+10+1 阅读全文
posted @ 2012-03-07 18:24 zaleilynn 阅读(553) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 44 下一页