1、下载phpwgethttp://cn2.php.net/distributions/php-5.6.0.tar.gz2、安装相关组件yuminstallgccgcc-c++curl-develbzip2bzip2-developensslopenssl-devellibxml2-devellibjpeglibjpeg-develyuminstalllibmcrypt*3、编译./configure--prefix=/usr/local/php--enable-fpm--with-..
分类:
Web程序 时间:
2014-09-17 18:55:03
阅读次数:
254
1、准备工作nginx-1.6.0.tar.gzhttpd-2.2.23.tar.gzDirectorServer:10.0.2.201RealServer:10.0.2.203RealServer:10.0.2.2042、DirectorServer上配置nginx#tarzxvfnginx-1.6.0.tar.gz#cdnginx-1.6.0#./configure--prefix=/usr/local/nginx--with-http_stub_status_module--wi..
分类:
其他好文 时间:
2014-09-17 15:32:43
阅读次数:
212
wgethttp://pkgs.fedoraproject.org/repo/pkgs/sysbench/sysbench-0.4.12.tar.gz/3a6d54fdd3fe002328e4458206392b9d/sysbench-0.4.12.tar.gztarxfsysbench-0.4.12.tar.gzcdsysbench-0.4.12./autogen.shyum-yinstalllibtool./autogen.sh./configure--prefix=/usr/local/sysbench..
分类:
其他好文 时间:
2014-09-16 16:12:11
阅读次数:
141
1、下载nginx-1.4.7.tar.gzpcre-8.35.zipzlib-1.2.8.tar.gz放在同一文件夹内2、yuminstallgcc-c++zipunzip3、tarzxvfzlib-1.2.8.tar.gzcdzlib-1.2.8./configure--prefix=/usr/local/zlibmakemakeinstall4、unzippcre-8.35.zipcdpcre-8.35./configure--prefix=/usr/local/pcrema..
分类:
其他好文 时间:
2014-09-16 16:05:41
阅读次数:
184
[root@jbossshell]#catzabbix.sh#!/bin/bashset-xHOST=`hostname`DIR=/rootserviceiptablesstopAZ(){groupaddzabbixuseraddzabbix-gzabbix-s/sbin/nologintar-zxvf$DIR/zabbix-1.8.5.tar.gzcdzabbix-1.8.5./configure--prefix=/usr/local/zabbix--enable-agentmakemakeinstallm..
分类:
其他好文 时间:
2014-09-16 16:05:31
阅读次数:
176
在Xcode 4, 5的模板工程中可以看到Precompile Prefix Header,但是在Xcode 6被去掉了。本文来简单探究下原因和pch文件在不同设置下的编译过程。...
分类:
其他好文 时间:
2014-09-16 12:44:00
阅读次数:
244
1 #include 2 #include 3 #include 4 #include 5 #define N 500005 6 using namespace std; 7 typedef long long LL; 8 LL prefix[N], suffix[N], num[N]; 9 LL....
分类:
其他好文 时间:
2014-09-13 17:10:55
阅读次数:
122
[leetcode]Longest Common Prefix...
分类:
其他好文 时间:
2014-09-13 10:39:35
阅读次数:
173
#!/bin/bash
ip=`/sbin/ifconfig|grep"Bcast"|awk‘{print$2}‘|awk-F:‘{print$2}‘|head-n1`
cd/root/soft/memcached
#安装libevent
tarzxvflibevent-2.0.12-stable.tar.gz
cdlibevent-2.0.12-stable
./configure--prefix=/usr/local/libevent
make&&makeinstall
cd/root..
分类:
其他好文 时间:
2014-09-12 15:18:24
阅读次数:
176
";mysql_connect($db_host,$db_user,$db_pass);mysql_query('set names utf8;');mysql_select_db($db_name);$dbuse = $db_name.".".$prefix; ...
分类:
其他好文 时间:
2014-09-11 15:11:42
阅读次数:
190