Linux System Foundation Tuning

Source: Internet
Author: User

    • Without root, add regular users and manage with sudo authorization

    • Change the default remote connection SSH service port and disable root user remote connection

    • Scheduled Automatic server time update

    • Configure the Yum update source to download and install the RPM package from the domestic update

    • Turn off SELinux and iptables (iptables work scenario if a WAN IP is typically turned on, except for high concurrency)

    • Adjust the number of file descriptors, and the process and file opening will consume the file descriptor

    • Automatically cleans/var/spool/clientmquene/directory junk files regularly, preventing inodes nodes from being filled (c6.4 default is no sendmail, so it is not possible)

    • Streamlined boot-up service (Crond,sshd,network,rsyslog (c5.8 syslog))

    • Linux kernel parameter optimization/etc/sysctl.conf execution sysctl-p effective

    • Change character set, support Chinese, but suggest or use English character set, prevent garbled problem, do not use Chinese

    • Lock critical system files

      Chattr +i/etc/passwd/etc/shadow/etc/group/etc/gshadow/etc/inittab

After processing the above content to change chattr,lsattr renamed XCN, so it is much safer

    • Clear/etc/issue, remove system and kernel version before login screen display

    • Clear unused default system account or group (not required)




This article is from the "Little Rookie" blog, please be sure to keep this source http://baishuchao.blog.51cto.com/12918589/1945916

Linux System Foundation Tuning

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.