发布时间:2013-05-25 14:53:20
#!/bin/bash#this is scirpts about apache customlog#date is today#date is yesterdayapadate=`date -d last-day "+%d/%b/%Y"`#cat /usr/local/apache/logs/access_log |grep "$apadate" |more#total size#cat /usr/local/apache/logs/access_log |grep "$apadate" |awk 'BEGIN{print "total size(B)"}.........【阅读全文】
发布时间:2013-05-20 14:12:41
在安装好centos 5.4后 如果默认启动防火墙,则启动的是ip6tables 如果想更换成iptables 需要先关闭 在启动 系统会启动iptables 为了启动时自己启动iptables 需要如下操作chkconfig --level 345 ip6tables offchkconfig --level 345 iptables on启动和关闭iptables 的命令如下service iptables start/stop/restar.........【阅读全文】
发布时间:2013-05-18 15:22:23
aix 中 /etc/security/user 存放用户的概要 常用参数参数如下 1.account_locked defines whether the account is locked.locked accounts can not be used for login . &nb.........【阅读全文】
发布时间:2013-05-15 11:48:56
运行某些perl 编写的脚本时 会报出一下的错误:perl: warning: Setting locale failed.perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), &n.........【阅读全文】