Tuesday, June 8, 2010

Red Hat linux Lecture 1 (RH-253)

system Services :
1. by init
2. by service command
3. by chkconfig command
4. by xinetd daemon
1. INIT SERVICES
#init run_level
command is used to chose a desired run level.
2. SERVICE
#service service_name restart|stop|start
command is used to restart/start/stop a particular service. For example service vsftpd restart command will restart vsftpd service immediately. This will not survives after a reboot

3. CHKCONFIG COMMAND
#chkconfig service_name on|off
command is used to runnin a particular service after a reboot also. tahat was not possible by service command.

4. XINETD

xinted hold the services that is to be run on a particular run levels. it turns on the given set of services in a particular run level. means it holds the list of services that has to be run in a particular run level.

No comments: