Linux learning which boot self-starting services are necessary?

  Like the Windows system, some useless software services will run by default during the running process of the Linux server. These occupy a lot of system resources and also have security risks, so it is generally recommended to close them. So, what boot-and-start services do Linux hosts need at work?

  After the new Linux system is installed, there are 5 self-starting services that need to be retained:

  Ø sshd: It is used when connecting to the Linux server remotely, so it must be enabled, otherwise the remote connection service cannot be provided.

  Ø rsyslog: Log related software, which is a mechanism provided by the operating system. The system daemon usually uses the rsyslog program to write various information to each system log file.

  Ø network: When the system starts, if you want to activate or close each network interface, you can consider opening it.

  Ø crond: It is used to periodically execute the task plan configured by the system and the user. Turn on when needed. It is almost a software that must be used in operation and maintenance work.

  Ø sysstat: sysstat is a software package that includes a set of tools for monitoring system performance and efficiency. These tools are helpful for collecting system performance data, such as CPU usage, hard disk and network throughput data, etc. Analysis is helpful for judging whether the system is running normally.

  The main tools integrated by the sysstat package are:

  Ø The iostat tool provides data on CPU usage and hard disk throughput efficiency.

  Ø The mpstat tool provides data related to single or multiple processors.

  Ø The sar tool is responsible for collecting, reporting and storing system activity information.

  The above five services are recommended to be retained after the system is installed, and they are also the services that must be retained for all production servers. In the future, the corresponding self-starting service can also be adjusted according to the business usage scenario of the server.

  Hope this sharing can help those in need. Linux is now deeply loved by Internet companies. If you want to stand out from many IT workers, you need to have advanced technology, and learning to add value is essential. The road to learning is about perseverance. The old boy education Linux cloud computing operation and maintenance course, 10 years of technical precipitation, put an end to the paper, the whole enterprise real cases combined with theory teaching, if you want to learn the knowledge of Linux cloud computing operation and maintenance in depth, you can pay attention to the old boy education.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325266055&siteId=291194637