Linux相关
wister1984
这个作者很懒,什么都没留下…
展开
-
linux安装 宋体
1.把XP下的字体C:\WINDOWS\FONTS \simsun.ttc(也就是宋体,大小为10M),把他重命名为 simsun.ttf 2.拷贝simsun.ttf 字体到 /usr/share/fonts/zh_CN/TrueType/ 下来 3. 在linux命令行下执行:fc-cache /usr/share/fonts/zh_CN/TrueType/ 字体...原创 2012-06-11 17:33:30 · 224 阅读 · 0 评论 -
iptables 常用命令
查看iptables当前规则 #iptables -L -n 建立规则 #iptables -A INPUT -s xxx.xxx.xxx.xx -p tcp --dport 80 -j DROP 移除规则 #iptables -D INPUT -s xxx.xxx.xxx.xx -p tcp --dport 80 -j DROP 常用操作命令: -A 或 -append 在所...2012-03-27 12:40:29 · 127 阅读 · 0 评论 -
使用shell脚本结合iptables防止类CC攻击
#!/bin/bash #script info: # Analysis access_log.abc log for a certain period of time to visit the suffix: "mp3", # and more than a certain number of requests an IP address, this IP address ...原创 2012-04-09 14:01:11 · 207 阅读 · 0 评论