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