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.
I just loaded my first RHEL 6 server running at init 3.
This is a test box I want to load Nagios on.
GD Development Libraries
I can't use yum yet because I won't consider registering this until I test Nagios.
Using rpm has been a chore...seems like everything I try to load has some dependency. The funniest one was when I ran:
rpm -ivh httpd-2.2.15-5.el6.x86_64.rpm
and it said I needed the following dependencies:
apr-util-ldap is needed by httpd-2.2.15-5.el6.x86_64
httpd-tools = 2.2.15-5.el6 is needed by httpd-2.2.15-5.el6.x86_64
libapr-1.so.0()(64bit) is needed by httpd-2.2.15-5.el6.x86_64
libaprutil-1.so.0()(64bit) is needed by httpd-2.2.15-5.el6.x86_64
When I ran:
rmp -ivh apr-util-ldap-1.3.9-3.el6.x86_64.rpm
It said I needed apr-util-1.3.9-3.el6.x86_64.rpm
When I tried to load that package, it said the dependency was:
rpm -ivh apr-util-1.3.9-3.el6.x86_64.rpm
warning: apr-util-1.3.9-3.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
libapr-1.so.0()(64bit) is needed by apr-util-1.3.9-3.el6.x86_64
I do an ls libap* in the Packages folder on the CD-ROM and there is no file.
A friend told me to try:
rpm -ivh --aid apr-util-1.3.9-3.el6.x86_64.rpm
But I get the same results. I can't find this in the RHEL 6 book either.
Can anyone tell me what I'm doing wrong or what I have to do to get this moving?
libapr-1.so.0()(64bit) is needed by apr-util-1.3.9-3.el6.x86_64
this is saying it needs a *FILE* and not a *PACKAGE*. Compare this with the httpd-tools *PACKAGE* dependency above. This is a different kind of dependency, and so you need to find out what package contains that file. the answer is just "apr", which is on your install media.
I always check the man pages before posting a question on here. I will not let this beat me and will eventually get it going.
I do not understand why they will not let me use yum for the 30 days after installing this, but they said I would either have to un-register one of my production servers and add this one. I will not do that, of course.
As far as what was loaded, that's easy, I loaded RHEL 6 from the iso in VMware and took the "Basic Server" build and only added the machine name and IP settings.
It should not be this difficult though, people...I realize Windoze is much simpler in a lot of ways, but Linux should not be this difficult either...just my two cents.
It is difficult because you are making it difficult for yourself. Any troubles you're asking about here are your own making. Uu are not supposed to use rhel without an rhn subscription. If you don't want a subscription them use centos instead. Otherwise subscribe, possibly a free trial, to rhn. Either way, uu should be installing stuff with yum. Moreover, everything you need is on you distro media, so there is no need to download anything. Actually, have you tried using the add/remove upload in the system menu? I think that will initially reference your dvd's to install the server package groups you could have chosen at install time.
How am I making it difficult for myself, Chris? I downloaded the iso from their site, loaded it, it errors out when trying to run init 5, but Linux gained its popularity (from what I've read) from doing everything from the command line, right (not to mention how rock-solid it is!)?
So I should be able to do everything from there anyway, correct? I have several RHEL's in my production environment that I am paying for via RHN. I loaded this one to get Nagios running for a possible alternative to paid monitoring software, so why pay for something I'm just testing? If I like what I see, I will register it. The problem has not been with Nagios, I haven't even gotten there yet, it's all the dependencies for software that Nagios says must be installed (Apache, PHP, GCC, and GD Development Libraries). Through about 20 hours of reading and experimenting, I've been able to get the first three loaded and I might have downloaded something last night that will load the last requirement...we'll see (it says httpd is running, but I can't get to my default website yet...I think it is a firewall issue, but I haven't fixed that yet).
I disagree with your statement about not using RHEL without a subscription because they offer it as trial software, but when you load it, they do not want you to update it or load software unless you buy the subscription? How is that true trial software? I can download and update with other vendor's software (like SUSE and Windows).
Also, you said, "Moreover, everything you need is on you distro media, so there is no need to download anything. Actually, have you tried using the add/remove upload in the system menu?" Well, I have not been able to find the dependencies for the GD development libraries, but I did find a site stating this is not on the DVD and it offers the rpm's for many different vendor's software distributions, so I think I found what I need there. As I stated above, RHEL 6 won't run at init 5, so I can't do the add/remove in any menu...I found this: