Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
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
I downloaded the source from ISC then I compiled it and installed it using the commands ./configure, make, make install
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.
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.
Oh, I see. I thought it would be the same thing. Since I'm a newbie, I was trying to go through the motion of compiling and learning from it. No matter, this is just a test virtual machine so I'll take your suggestion and try that route. Perhaps this is probably the same problem I'm having with my BIND install as it didn't put the named.conf in /etc directory and it looks like I have to manually piece every thing together. So from now on, it seem like it's always best to get the RPMs. Thank you.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.