set dhcpd to start as service
Hello everyone, I managed to install and configure ISC dhcpd. Everything works great but how do I set dhcpd to start as a service everytime I reboot the computer? Currently, I have the /usr/local/sbin/dhcpd set in rc.local and it works fine but how come I can't get it to start using the chkconfig --add dhcpd command or using sym links in the rc3-5.d? Currently I have to stop the dhcpd process by doing the kill -HUP and then start it again by issuing the /usr/local/sbin/dhcpd. I'm using CentOS 5.3
|
How did you install it? If you used the built-in yum tool (or GUI equiv), then you should be able to use the GUI SystemAdmin->Services or chkconfig from the cmd line.
See also the 'service' cmd: http://www.linuxtopia.org/online_boo...ng-server.html |
Quote:
|
Well that would be it then. Unless you have extremely odd requirements, always use the built-in tools to download/install sw, which will get it from trusted repos eg in your case the official CENTOS repos.
Personally, I'd remove your handbuilt one and use the tools. |
Quote:
|
Do not get the RPMs unless the package is not available in the yum repositories. Use yum to install the packages. If you do not find them in repositories, then find out the repos that may contain them. If you still do not find anything then find RPMs. And if still no luck then compile from source.
YUM is the best solution. |
All times are GMT -5. The time now is 01:00 AM. |