摘要: 安装步骤: (系统要求:Linux 2.6+ 内核,本文中的Linux操作系统为CentOS 5.4) sudo -s LANG=C yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-... 阅读全文
posted @ 2010-04-09 18:11 刘光明 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: --cache-file=FILE cache test results in FILE --help print ... 阅读全文
posted @ 2010-04-09 18:11 刘光明 阅读(982) 评论(0) 推荐(0) 编辑
摘要: --help this message --prefix=PATH set the installation prefix --sbin-path=PATH set path to the nginx binary file --conf-path... 阅读全文
posted @ 2010-04-09 16:52 刘光明 阅读(231) 评论(0) 推荐(0) 编辑
摘要: (因为经典,转载来跟大家分享.我相信大家看后都会有所感叹) 一个人最终成功与否,在多大程度上成功,也并不是最关键的,关键的是做正确的事情,并且把事情做好的能力。 ­ 1 职业生涯就像一场马拉松比赛 ­ 我们的工作轨迹,二三十岁的时候,生活的压力还比较小,身体还比较好,上面的父母身体还好,下面又没有孩子,不用还房贷,也没有孩子要上大学,当个外企小白领还是很光鲜的,挣得不多也够花... 阅读全文
posted @ 2010-04-09 16:21 刘光明 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 一般情况下,优化参数都是通过export命令设定CFLAGS和CXXFLAGS,然后configure的时候会自动读入,make的时候会自动使用所选的优化参数。通过添加优化参数,让程序针对某个CPU型号和某个系统进行最大优化,减少文件大小、CPU使用率、内存使用率。优化后的程序,将不再具有跨系统跨平台的能力。 首先查看CPU信息,然后根据CPU信息到http://gentoo... 阅读全文
posted @ 2010-04-09 11:06 刘光明 阅读(419) 评论(0) 推荐(0) 编辑
摘要: Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local/squid] --exec-prefix=EPREFIX install architect... 阅读全文
posted @ 2010-04-09 11:03 刘光明 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-depen... 阅读全文
posted @ 2010-04-09 09:38 刘光明 阅读(1655) 评论(0) 推荐(0) 编辑