How to give highest priority to SSH service to run on boot (RHEL6 64 bit)
Hi all,
May i ask a question, how to give SSH service highest priority to start on boot time on RHEL6 64 bit? I want to be able to immediately SSH in to a linux server once it is restarted (dont mind to wait other services to start up). Thanks in advance, Kevin |
services in boot process start base on number that their link have in runlevel folder. you can change their number to lower number to change its starting order. but be careful to don't make it so lower that it starts before its dependency services like networking.
you can find those runlevel folders in one of these addressees : " The runlevel-specific scripts are stored in /etc/rc.d/rc?.d, /etc/init.d/rc?.d, /etc/rc?.d, " ? is runlevel number. |
Note that you couldn't make ssh the very first service to start -- you'd need to wait at least until networking is up and running.
|
Thanks for your suggestion guys....
Some of your tips help to reduce the boot time... I will keep looking for other ways to optimize the boot time more. |
All times are GMT -5. The time now is 08:46 PM. |