SELinux 的howto文档下载

07月 12th, 2008 xiao H Posted in 系统管理 No Comments »

这是Getting Started with SE Linux HOWTO 的中文译本,这不是我翻译的,翻译者是一个CU 网友jerry017cn

SELinux是linux最新加进的功能,我在尝试使用了之后发现功能还是非常强大的,设置起来还是比较麻烦的。但是又发现国内关于SELinux的技术文档实在是太少了。于是决定自己尝试翻译一篇。
这篇Getting Started with SE Linux HOWTO: the new SE Linux只是一篇入门级的HOWTO。
希望大家能够支持~~
英文原版地址:lurking-grue.org
Read the rest of this entry »

标签:,

我常用的小shell

07月 4th, 2008 xiao H Posted in shell, 系统管理 No Comments »

下面是我平常用的一些bash shell 组合,方便我的日常管理。
清除所有arp 缓存
arp -n|awk ‘/^[1-9]/ {print “arp -d “$1}’|sh

显示打开连接数前10个机子的IP 和连接
cat /proc/net/ip_conntrack | cut -d ‘ ‘ -f 10 | cut -d ‘=’ -f 2 | sort | uniq -c | sort -nr | head -n 10

Read the rest of this entry »

标签:

Page 1 of 11