Linux
linux screen 命令详解
一、背景
系统管理员经常需要SSH 或者telent 远程登录到Linux 服务器,经常运行一些需要很长时间才能完成的任务,比如系统备份、ftp 传输等等。通常情况下我们都是为每一个这样的任务开[……]
nginx 支持thinkphp 伪静态
在nginx配置文件目录添加php伪静态规则
/usr/local/nginx/conf
# vim thinkphp.conf
if (!-e $request_filename)[......]
zabbix通过snmp监控华为AR2200-S路由器
1、在zabbix server端安装net-snmp net-snmp-utils
yum install net-snmp net-snmp-utils -y
2、登录路由器开启snm[……]
redhat更换centos yum 源
删除redhat自带的yum源
rpm -aq | grep yum|xargs rpm -e --nodeps
下载新的yum安装包
wget http://mirror.centos.org[……]
wget 模拟浏览器下载文件
wget --user-agent="Mozilla/5.0" "http://rdsbak-bj.oss-cn-beijing.aliyuncs.com/custins530149/hins8246[......]
centos yum安装php5.6
安装源
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
输入
yum install php56w[……]
centos 安装epel源
CentOs 5.x
rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
CentOs 6.x
rpm -Uvh http://mirr[……]
redis出现问题zmalloc.h:50:31: 错误:jemalloc/jemalloc.h:没有那个文件或目录
解决方法
[root@localhost redis-3.0.4]# make MALLOC=libc
参考原文http://www.phperz.[……]
Error: database disk image is malformed
yum update出现此提示Error: database disk image is malformed
解决 yum clean all
清楚yum缓存[……]
nagios+cacti+npc错误 ndo2db-3x: mysql_error: ‘Unknown column ‘long_output’ in ‘field list”
cacti+nagios+npc 报错 ndo2db-3x: mysql_error: ‘Unknown column ‘long_output’ in ‘field list”
提示确少lo[……]
nagios+cacti+npc整合问题 ndo2db: mysql_error: ‘Unknown column ‘importance’ in ‘field list”
日志错误信息 ndo2db: mysql_error: ‘Unknown column ‘importance’ in ‘field list”
解决方法执行 mysql-upgrade-2[……]