Linux optimization section

Source: Internet
Author: User

Linux System Optimization section:

1. Without root management, through sudo authorization management in the name of the ordinary user
2. Change the default remote SSH service port to prevent the root user from connecting remotely
3. Automatically update server time to synchronize with Internet time
4. Configure the Yum update source to download the installation package from the domestic update source
5. Turn off SELinux and iptables (external IP is generally open at work)
6. Adjust the number of file descriptors, process and file opening will consume the file descriptor
7. Regularly automatically clean up the Mail directory junk files to prevent inode nodes from being filled
8. Streamline and retain the necessary boot-up services
9.linux kernel parameter optimization/etc/sysctl.conf, execution sysctl-p effective
10. Change the character set so that it supports Chinese, but it is recommended to use the English character set
11. Lock critical system files (/etc/passwd/etc/shadow/etc/group/etc/inittab)
After processing the above content, renamed Chattr,lsattr to Deanyang
12. Clear the/etc/issue/etc/issue,net, remove the system and kernel version of the pre-logon information
13. Clear the redundant system virtual account
14. Add a password to the Grub menu

Linux optimization section

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.