Some operational records of the CentOS system

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.