会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
陳聽溪
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
12
下一页
2014年11月28日
centos时区设置
摘要: [root@ logs]# tzselect Please identify a location so that time zone rules can be set correctly.Please select a continent or ocean. 1) Africa 2) Americ...
阅读全文
posted @ 2014-11-28 19:42 陳聽溪
阅读(332)
评论(0)
推荐(0)
2014年11月13日
999!!!
摘要: curl -o /dev/null -s -w %{speed_download}:%{time_total} urlss -ant | awk 'NR>1 {++s[$1]} END {for(k in s) print k,s[k]}'netstat -n | awk '/^tcp/ {++S...
阅读全文
posted @ 2014-11-13 16:16 陳聽溪
阅读(472)
评论(0)
推荐(0)
2014年10月30日
初始化:编译开发环境并常用工具组件
摘要: # yum -y install \automake make cmake autoconf rpm-build ncurses ncurses-devel ntp \gd cpp gcc gcc-c++ glibc glibc-devel glibc-common glib2 glib2-de...
阅读全文
posted @ 2014-10-30 15:30 陳聽溪
阅读(401)
评论(0)
推荐(0)
2014年10月29日
pstart
摘要: 下面是我初步的排查过程: [1] [root@71 ~]# tcpdump host 192.168.0.71|grep "IP 115.*"|more tcpdump: verbose output suppressed, use -v or -vv for full proto...
阅读全文
posted @ 2014-10-29 10:30 陳聽溪
阅读(698)
评论(0)
推荐(0)
2014年10月28日
tcpdump -i eth0 -n -vvv src or dst port 443
摘要: tcpdump -i eth0 -n -vvv src or dst port 443
阅读全文
posted @ 2014-10-28 19:19 陳聽溪
阅读(425)
评论(0)
推荐(0)
2014年10月17日
删除大目录
摘要: find . -name "*" -exec rm -fv {} \;find . -name "*"|xargs rm -rf "*"先创建一个空目录empty dir 然后rsync -a --delete /dir/empty dir
阅读全文
posted @ 2014-10-17 17:15 陳聽溪
阅读(177)
评论(0)
推荐(0)
2014年10月10日
squid调整
摘要: Squid采用新方案部署的调整步骤一,隔离二,修改三,验证四,波及==============================[1] 把被引用到的待修改对像实例,从前端应用负载nginx的配置中摘出比如cdn节点XX截止2014-10-10,对外提供服务的2个节点是111.222,111.223登录...
阅读全文
posted @ 2014-10-10 19:31 陳聽溪
阅读(279)
评论(0)
推荐(0)
2014年9月29日
;,&,&&,shell,区别
摘要: command1&command2&command3 三个命令同时执行 command1;command2;command3 不管前面命令执行成功没有,后面的命令继续执行 command1&&command2 只有前面命令执行成功,后面命令才继续执行
阅读全文
posted @ 2014-09-29 17:40 陳聽溪
阅读(230)
评论(0)
推荐(0)
sed插入,替换指定行的特定字符串,删除指定行首的#
摘要: sed -i '$a service snmpd start' /etc/rc.localsed -i "41s:public:mykey:g" /etc/snmp/snmpd.confsed -i "85s:#::g" /etc/snmp/snmpd.conf参考资料:http://www.osc...
阅读全文
posted @ 2014-09-29 16:32 陳聽溪
阅读(7939)
评论(0)
推荐(0)
2014年9月25日
find,xargs,tar有选择打包
摘要: find ./ -mtime 83 -exec sz {} \;find . -type f -exec ls -l {} \;\;表达 -exec 的结束。==========================[1]find / -name "*.sh"|xargs tar -rf sh.tgz[2...
阅读全文
posted @ 2014-09-25 17:37 陳聽溪
阅读(3420)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
12
下一页
公告