How to manage installed services in linux using service and chkconfig in linux (RHEL 6) | service

Опубликовано: 15 Июль 2020
на канале: Red hat Linux Training for beginners
1,257
36

Please watch and subscribe my channel

MANAGING INSTALLED SERVICES
Services are programs (called daemons) that once started run continuously in the background and are ready for input or monitor changes in your computer and respond to them.

2 commands used to control services:

service - This controls the starting and stopping of services during a session, these setting are not saved. If you start Apache this way but it is not set to start on boot using the above method then it will continue to run but on next boot will not start automatically.
chkconfig - This controls which services are set to start on boot, by their nature these setting are saved and are applied at next boot. Changing these settings will not start the service immediately; it will just flag them to be started from the next boot.

The command use for maintaining a service is

#service (name of the service) status
#service name of the service start
#service name of the service stop
#service name of the service reload
#service name of the service restart


• The command use for service availability is

--- To check the status of the service
--- To start the service
--- To stop a service
--- To reload the service
--- To restart the service

#chkconfig - -list
#chkconfig service on
#chkconfig service off

--- To check the availability of service
--- To make the service available after restart
--- To make the service unavailable after restart


Смотрите видео How to manage installed services in linux using service and chkconfig in linux (RHEL 6) | service онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Red hat Linux Training for beginners 15 Июль 2020. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 1,257 раз и оно понравилось 36 посетителям.