eAccelerator 配置参数详解
eaccelerator.shm size="32" eAccelerator 可以使用的共享内存的数量 以兆为单位 . "0" 是指操作系统的默认值. 默认值是 "0".可根据服务器的实际情况来调整,16,32,64,128都是可以的. eaccelerator.cache dir="/home/php/tmp" 这个目录是给磁盘缓存使用. eAccelerator
eaccelerator.shm size="32" eAccelerator 可以使用的共享内存的数量 以兆为单位 . "0" 是指操作系统的默认值. 默认值是 "0".可根据服务器的实际情况来调整,16,32,64,128都是可以的. eaccelerator.cache dir="/home/php/tmp" 这个目录是给磁盘缓存使用. eAccelerator
运行: $/sbin/iptables I INPUT p tcp dport 80 j ACCEPT $/sbin/iptables I INPUT p tcp dport 22 j ACCEPT $/sbin/iptables I INPUT p tcp dport 3306 j ACCEPT 然后保存: $/etc/rc.d/init.d
mysql服务器有一项功能,可以检测到哪条sql语句查询得比较慢,就是慢查询slowlog,现在介绍如何开启. 在 mysqld 下面增加如下代码: long query time = 1 log slow queries = /usr/local/mysql/data/slow.log log queries not using indexes long query time = 1
1.备份现在的源文件 mv /etc/yum.repos.d/CentOS Base.repo /etc/yum.repos.d/CentOS Base.repo.bak 2.下载163源 cd /etc/yum.repos.d/ wget http://mirrors.163.com/.help/CentOS6 Base 163.repo 3.把下载文件改成源文件
站长在使用drbd的时候,执行drbdadm create md ha 时出现: Device size would be truncated, which would corrupt data and result in 'access beyond end of device' errors. You need to either use external meta data r
yum install keepalived 编辑keepalived.conf: vi /etc/keepalived/keepalived.conf Configuration File for keepalived global defs { router id bj ifc ngix } vrrp instance VI 1 { state BACKUP interfa
编译pptp的时候出现这个错误: configure: error: youmust configure in a separate build directory 大概意思就是要进入一个新的目录来configure. 所以如果源码路径是 /usr/local/pptp 下面运行: /usr/local/pptp/configure 就可以编译了.
安装rrdtool之前确保安装了这些库: yum install zlib libpng freetype libart lgpl libart lgpl devel libxml 如果还是没用: yum y install pango Libraries: lxml2 lcairo lcairo lcairo lm lcairo lpng12 lgl