nginx 支持thinkphp 伪静态
在nginx配置文件目录添加php伪静态规则
/usr/local/nginx/conf
# vim thinkphp.conf
if (!-e $request_filename)[......]
Zack_Hou
在nginx配置文件目录添加php伪静态规则
/usr/local/nginx/conf
# vim thinkphp.conf
if (!-e $request_filename)[......]
1、在zabbix server端安装net-snmp net-snmp-utils
yum install net-snmp net-snmp-utils -y
2、登录路由器开启snm[……]
删除redhat自带的yum源
rpm -aq | grep yum|xargs rpm -e --nodeps
wget http://mirror.centos.org[……]
wget --user-agent="Mozilla/5.0" "http://rdsbak-bj.oss-cn-beijing.aliyuncs.com/custins530149/hins8246[......]
安装源
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
输入
yum install php56w[……]
CentOs 5.x
rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
CentOs 6.x
rpm -Uvh http://mirr[……]
解决方法
[root@localhost redis-3.0.4]# make MALLOC=libc
参考原文http://www.phperz.[……]
yum update出现此提示Error: database disk image is malformed
解决 yum clean all
清楚yum缓存[……]
cacti+nagios+npc 报错 ndo2db-3x: mysql_error: ‘Unknown column ‘long_output’ in ‘field list”
提示确少lo[……]
日志错误信息 ndo2db: mysql_error: ‘Unknown column ‘importance’ in ‘field list”
解决方法执行 mysql-upgrade-2[……]
host_notification_options:
d = notify on DOWN host states,
u = notify on UNREACHABLE host states[……]
例如check_load -w 15,10,5 -c 30,25,20这个命令的意义如下
当1分钟多于15个进程等待,5分钟多于10个,15分钟多于5个则为warning状态
当1分钟多于30个进[……]