08 2012 档案

摘要:cacti:在被检测端(客户端)修改iptables,允许服务端访问被检测端的udp161端口。#yum -y install ntp net-snmp net-snmp-devel net-snmp-utils net-snmp-libs net-snmp-utils net-snmp-perl# service snmdp restart# iptables -I INPUT -p udp -m udp -s 服务端IP地址 --dport 161 -j ACCEPT# iptables-save > iptables.script# iptables-save# vi iptabl 阅读全文
posted @ 2012-08-31 15:05 陳聽溪 阅读(294) 评论(0) 推荐(0) 编辑
摘要:用yum安装cacti,nagios先是安装完cacti;用http://ip:port/cacti/index.php测试,正常;然后继续安装nagios;安装完后用http://ip:port/nagios测试,正常;然后,继续跳会cacti的时候,竟然报错了:ForbiddenYoudon'thavepermissiontoaccess/cacti/index.phponthisserver.============================================1102 yum install nagios nagios-nrpe nagios-plugins 阅读全文
posted @ 2012-08-29 17:26 陳聽溪 阅读(3583) 评论(0) 推荐(0) 编辑
摘要:...安装oracle客户端,配置了环境变量后,要记得配置tnsnames.oracd $ORACLE_HOMEmkdir -p network/admincd network/admin/vi tnsnames.ora... 阅读全文
posted @ 2012-08-21 16:00 陳聽溪 阅读(1764) 评论(0) 推荐(0) 编辑
摘要:centos 6(在CentOS 6.5当中,portmap服务由rpcbind负责):1yum-yinstallnfs-utilsrpcbind====================yum install portmap nfs-utils-lib nfs-utilsservice portma... 阅读全文
posted @ 2012-08-21 15:22 陳聽溪 阅读(261) 评论(0) 推荐(0) 编辑
摘要:/查找,n查找下一个:set nu设置行号gg,[[跳到文件首shift+g,]]跳到文件末vi中去掉“^M”::1,$s/^M/或者:g/^M/s///g:%s/\r//g:e ++ff=dos在命令行下 dos2unix^M指的是同时按住ctrl+vm替换::s/vivian/sky/g 替换当前行所有 vivian 为 sky参考地址:http://soft.chinabyte.com/374/7749874.shtml 阅读全文
posted @ 2012-08-07 15:35 陳聽溪 阅读(255) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示