Linux system optimization

Source: Internet
Author: User
Tags ssh port

Optimize your Linux system:

1. Install the streamlined system installation package.

2. Configure high-speed domestic yum source.

3. Do not start the service unnecessarily.

4. Optimize system kernel Parameters/etc/sysctl.conf

5. Add system file descriptors, stacks and other configurations.

6. Disable root remote login, modify SSH port to special port, prohibit DNS, empty password.

7, the machine with the external network IP to open the configuration firewall, only open the required services, configure or close SELinux.

8. Clear unused default system accounts or groups (not required) (Users who add OPS members)

9. Lock sensitive files (e.g./etc/passwd)

10. Configure server and Internet time synchronization.

11. Configure sudo fine-grained control over normal user privileges.

12. The above is written as a one-click Optimization script.

Linux system optimization

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.