1. Turn off SELinux
Vi/etc/selinux/config
Reboot
2. Install the Secure Dog Linux version
Http://bbs.safedog.cn/thread-63020-1-1.html
Can take the wget way to download the release package (32-bit system to change 64 to 32): Wget http://safedog.cn/safedog_linux64.tar.gz Step 2: Execute the following command under the root account: Tar xzvf safedog _LINUX64.TAR.GZCD Safedog_linux64chmod +x *.py./install.py
3. Modify the default 22 port
Modify the configuration file vi/etc/ssh/sshd_config find #port 221 segment, here is the identity by default using 22 port, modified as follows: Port $ Port 999 then save exit Perform/etc/init.d/sshd restart test Yes, repeat, delete the 22-port line.
Edit Firewall configuration: Vi/etc/sysconfig/iptables
Enable Port 999.
Execute/etc/init.d/iptables Restart
Others to be determined ....
Some operational records of the CentOS system