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!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Red Hat Linux and Fedora
Red Hat and most of its derivatives (such as CentOS) use runlevels like this:
Red Hat Linux/Fedora runlevels Code Information
1 Single-user mode
2 Multi-user mode, console logins only (without networking)
3 Multi-user mode, console logins only
4 Not used/User-definable
5 Multi-user mode, display manager as well as console logins (X11)
If you're setting up a server, I highly recommend using another distro, preferably something that focuses on stability and has a life cycle longer than 6 months.
I second that, just a minor correction, while Fedora's release cycle is indeed 6 months, the life cycle is 13 months (more specific, if the version after the next version is released you will have one month support until your version reaches end of life).
If, on the other hand, you are happy to upgrade your server every six to thirteen months, then fedora may work just fine ... it does for me, but I do tinker with it. Some advantages are that fedora 19 runs faster than earlier fedoras, the security updates keep you in front and you keep up to date. I think it just depends on how you wish to run your server.
I chose fedora as I am replacing an old dchp server, which was also fedora (albeit a very old version), so i figured it would be easiest to migrate the configuration over from that machine. (dhcpd.conf), but I'm open to suggestions of other distros if the dhcp service is easy to setup and configure using my old config file. In fact, the hardware I have doesn't officially support Fedora 19, the last version tested is FC13. Other supported distro choices include CentOs 5.4 (32 bit), CentOs 5.5 (64 bit), Ubuntu 10.10 (64), FreeBSD 8.1 (64), SuSE SLES 10 SP3 (64), SuSE SLES 11 SP1 (64), various RedHat versions (pay I imagine).
I tried pushing 'a' on the grub screen, but only the 'e' and 'c' options work. I suppose I should learn how to use the grub command line...
I had previously tried editing inittab file, but upon opening i saw that it is no longer used in this version of Fedora, something in the commented out parts about using systemctl instead. It also didn't contain any runlevel lines. Thats when I decided to join this forum to ask the question. I appreciate all your responses so far
Last edited by linuxdawgjr; 08-21-2013 at 11:50 AM.
Actually you're more likely to get compatibility between your "very old Fedora" and a newer CentOS than with a newer Fedora.
Fedora 19 uses the BETA dhcp 4.2.5
CentOS 6.4 (latest version) uses dhcp 4.1.1, same as Fedora 13
CentOS 5.9 uses dhcp 3.0.5, same as Fedora 7.
It's entirely possible your dhcp config will not work on Fedora 19 since it's so much newer, and it's entirely possible that even once you put in the effort and get it running, it'll spontaneously break for no reason since it's running a Beta version. Then once you finally get THAT patched up, the OS will become unsupported and you're left in the dust until you decide to install a new one and go through the whole process again.
Last edited by suicidaleggroll; 08-21-2013 at 12:13 PM.
Ok thanks for the valuable info, I think I'll try CentOs 6.4 then, Enterprise-class distro makes the most sense. I don't mind doing more learning / configuration if I end up with something more stable and maintainable in the end.
I've since got the DHCP server up and running. CentOS was quite straightforward to install, very minimal. DHCP was also quite easy to setup, though I did get some assistance from my peers in order to transition from the old server to the new server, minimizing downtime and problems. Long story short, we gradually reduced the lease time on old server until it was very short (a minute or two if I remember correctly), and then only at that point did we do the switch (new DHCP was on-standy with service turned off). The new server was setup exactly the same, and after the switch and confirming there were no issues, we bumped the new DHCP server back up to serving reasonable lease times.