i) if it is standard service and has a script in /etc/init.d just check its status
chkconfig --list
if is off
make it on by the following commands
chkconfig
Similarly you can make a service off by following command
chkconfig
other way write a script put it in /etc/init.d
add run following command
chkconfig --add service name
chkconfig
simlarly you can remove a service for the list
chkconfig --del service name
ii) put the startup code in rc.local file.
No comments:
Post a Comment