寻觅生命中的那一片浅草......

文章属于类别 Linux

iptables limit 参数备忘

* 限制特定封包傳入速度
* 限制特定埠口連入頻率
* iptables Log 記錄參數備忘
* 自定 Chain 使用備忘
* 防治 SYN-Flood 碎片攻擊
阅读全文»

crontab 格式

第1列分钟1~59
第2列小时1~23(0表示子夜)
第3列日1~31
第4列月1~12
第5列星期0~6(0表示星期天)
第6列要运行的命令
阅读全文»

Linux logwatch使用笔记

#Author:空气人儿

使用笔记:
1、下载
wget ftp://ftp.kaybee.org/pub/redhat/RPMS/noarch/logwatch-7.3.6-1.noarch.rpm
2 安装
检查你的主机上是否已经存在Logwatch(Redhat默认已经安装了Logwatch,不过版本比较旧):
阅读全文»

Linux系统之间快速拷贝大量小文件

a机
$ tar cf – win98 | nc -l -p 5555

b机
nc a_ip 5555 | tar xf –

a_ip换成a机的ip地址.

转载自:http://www.itpub.net/showthread.php?threadid=543812&pagenumber=

Starting VNC server: 2:root [FAILED]解决

那天安装好vnc,修改了相关配置,输入service vncserver start,竟然启动失败,折腾好久没结果,最后输入vncserver,设置密码,生成了相关目录,问题解决,用service vncserver restart可以顺利重启vnc,写个备忘。

[root@test log]# service vncserver start
Starting VNC server: 2:root [FAILED]
[root@test log]# vncserver

You will require a password to access your desktops.

Password:
Verify:
xauth:  creating new authority file /root/.Xauthority

New ‘test.test.com:1 (root)’ desktop is test.test.com:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/test.test.com:1.log

2025年十一月
« 5月    
 12
3456789
10111213141516
17181920212223
24252627282930