Chinaunix首页 | 论坛 | 博客
  • 博客访问: 830087
  • 博文数量: 105
  • 博客积分: 636
  • 博客等级: 中士
  • 技术积分: 1704
  • 用 户 组: 普通用户
  • 注册时间: 2012-08-11 10:57
文章分类

全部博文(105)

文章存档

2017年(4)

2016年(9)

2015年(18)

2014年(16)

2013年(34)

2012年(24)

发布时间: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)"}.........【阅读全文】

阅读(1055) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(9081) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(22409) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(10151) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册