
Stop unnecessary services
Linux starts many unnecessary services (programs) that are not used immediately after installation.Services that are not used consume server resources unnecessarily just by being started and running, which is not desirable for security measures.There are two commands to stop services: service and chkconfig, but the service command will cancel the settings and start the stopped service when the server is restarted.Stop the service with the chkconfig command, which will keep the service stopped even after restarting the server.