28.How to manage rc scripts using chkconfig?
Ans.
To configure any software package to work at boot time use this command with following options:
1. To check all packages working at which run levels:
#chkconfig –list
2. To check whether package is working at boot time:
#chkconfig –list packagename
3. To reset run levels for any package:
#chkconfig –levels 0123456 packagename OFF
4. To set run levels for any package:
#chkconfig –levels 23456 packagename ON
Ans.
To configure any software package to work at boot time use this command with following options:
1. To check all packages working at which run levels:
#chkconfig –list
2. To check whether package is working at boot time:
#chkconfig –list packagename
3. To reset run levels for any package:
#chkconfig –levels 0123456 packagename OFF
4. To set run levels for any package:
#chkconfig –levels 23456 packagename ON
Comments
Post a Comment