安装curl官网上下载安装包 curl-7.37.0.tar.gz 解压tar -zxvf curl-7.37.0.tar.gz进入解压后的目录,指定安装目录./configure --prefix=/usr/local/curlmakemake install使用将curl命令加入环境变量vi /...
分类:
系统相关 时间:
2014-07-14 08:38:32
阅读次数:
339
node.js的安装下载了.tar.gz格式的源码,tar zxvf *.tar.gz$ cd node-*$ ./configure --prefix=/usr/local/node$ make$ make install配置Node.js$ cp /usr/local/node/bin/npm ...
分类:
Web程序 时间:
2014-07-14 08:17:10
阅读次数:
223
优化性能参数设置,在ngnix.conf中的http 层加上fastcgi参数如下:
http {
fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m;
fastcgi_connect_timeout=300;
fastcgi_send_timeout=30...
分类:
其他好文 时间:
2014-07-13 17:17:07
阅读次数:
218
默认网站根目录为/usr/local/nginx/html,要将它改成/homw/www
vi /usr/local/nginx/conf/nginx.conf
将其中的
location / {
root html;
index index.php index.html index.htm;...
分类:
Web程序 时间:
2014-07-13 17:06:03
阅读次数:
219
前言:nagios界面上,看到监控mysql服务报错如下:Warning:NRPE: Unable to read output 1,去nagios监控服务器上check下1.1,执行check_nrpe命令远程调用在监控端nagios服务器上执行check_nrpe检查mysql状态报错如下:[root@mysqlvm2 ~]# /usr/lib/nagios/plugins/check_nr...
分类:
移动开发 时间:
2014-07-13 16:40:37
阅读次数:
232
All relative paths in this config are relative to php's install prefix
Pid file
/usr/local/php/logs/php-fpm.pid
Error log file
/usr/local/php/logs/php-fpm.log
Log level
notice
Whe...
分类:
Web程序 时间:
2014-07-13 16:26:05
阅读次数:
248
[root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start
Starting php_fpm Jul 12 09:41:02.077951 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default'
...
分类:
其他好文 时间:
2014-07-13 16:20:24
阅读次数:
225
执行:
./configure --prefix=/usr/local/php --enable-fastcgi --enable-fpm
之后出现
Running FastCGI Process Manager checks
checking for php-fpm config file path... $prefix/etc/php-fpm.conf
checking for ...
分类:
其他好文 时间:
2014-07-13 13:50:43
阅读次数:
205
参数说明: -l参数就是用来指定程序要链接的库,-l参数紧接着就是库名,比如,我要链接到数学库,它的库名是m,它的库文件名是libm.so(一般放在/lib、/usr/lib或/usr/local/lib目录下),很容易看出,把库文件名的头lib和尾.so去掉就是库名了...
分类:
其他好文 时间:
2014-07-12 20:02:17
阅读次数:
192
1.RAID 廉价磁盘冗余阵列2.Symbolic links 通俗易懂的说就是通过连接符指向的操作,人为的将某些数据库分布到其他的文件夹/磁盘上 Linux: Mysql DATA路径:/opt/mysql/data mkdir /usr/mysql/data/test 创建一个目...
分类:
数据库 时间:
2014-07-12 15:50:04
阅读次数:
241