![]() |
Install Apache HTTPD on RedHat Linux
I am trying to install the apache http server on a redhat 64 bit install that's running on VMWARE.
Apache doesn't provide an rpm.but they say I can convert the source tarball to an rpm using this command rpmbuild -ts httpd-2.4.x.tar.bz2 From the apache website I downloaded httpd-2.4.3.tar.bz2 when I try the command above I get rpmbuild command not found. So I try to install rpmbuild package. In the Applications->Add/Remove Software i search on rpmbuild and don't find anything. I typed in yum install rpmbuild and initially got bash-3.2# yum install rpmbuild Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process No package rpmbuild available. Nothing to do Then I went online and found a sample yum.conf file and replaced the one that I had in /etc and tried the same command and got these messages http://ayo.freshrpms.net/fedora/linu...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: core. Please verify its path and try again I have a certain familiarity with Ubuntu, this is my first adventure with RedHat- and was forced on me due to an online course I am doing. I'd surely appreciate any help. Thanks! |
I'm not a Redhat user anymore, but IIRC Redhat provides an Apache httpd RPM - if you didn't install it with your initial install, you can install it with rpm -Uvh httpd-<version>.<arch>.rpm (depending on the version and your architecture).
Of course it's possible that Redhat has changed a lot since I was a regular user... ;) |
|
Hi,
I managed to locate httpd-2.4.3-15.fc19.x86_64.rpm online by a google search and tried to install it using that command (also by opening with package manager) I get a list of failed dependencies. Missing Dependency: liblua-5.1.so()(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libsystemd-daemon.so.0(LIBSYSTEMD_DAEMON_31)(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libexpat.so.1()(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: systemd-units is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libsystemd-daemon.so.0()(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libapr-1.so.0()(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libdb-5.3.so()(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libc.so.6(GLIBC_2.14)(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: httpd-tools = 2.4.3-15.fc19 is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libaprutil-1.so.0()(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Missing Dependency: libpcre.so.1()(64bit) is needed by package httpd-2.4.3-15.fc19.x86_64 (/httpd-2.4.3-15.fc19.x86_64) Shouldn't the install process take care of installing dependent packages too? I did come across the What's Yum site earlier and that's how I figured out enough to run the yum commands that didn't work. Thanks |
1.
Code:
This system is not registered with RHN. 2. Alternately: a) create a local repo from the Install media and use that instead https://code.google.com/p/iredmail/w...Yum_Repository b) convert to Centos instead, which is a free rebuild of RHEL 3. That last you mentioned is for Fedora 19 '.fc19.'. Don't even think of trying to use it on this OS :( |
First things first, I'm having to use a VMware image that is provided to me by this online course I'm taking that has the relevant s/w pre-installed in it. I can't follow along with the course unless I use it. it also means that I don't have the original install CD/DVD.
The course instructions seem to assume I've httpd in place and I have posted on their forum explaining my problem and haven't heard back. I thought I'd try and install apache while I wait for a response. Unfortunately, So I don't have the flexibility of using Centos, much as I'd like to. I tried to run the rhn_register command. I get a message requiring me to buy a subscription (or unentitle an unused one). I don't really want to buy anything to complete what is supposed to be a free online course! I found that rpm at this site rpmfind.net/linux/rpm2html/search.php?query=httpd Wasn't sure which to pick for my OS, just picked the first! Looks like I'm SOL at this point unless the course organizers come back with some suggestions? Thanks! |
I am a little bit surprised that an online course is providing unregistered copies of Red Hat VMware images. Would you be so kind to provide a link to that onli9ne course, I would like to have a look at that.
|
Sure...
The site is http://bigdatauniversity.com/ I signed up for the course Hadoop Fundamentals. you can click on courses in the main page and then under Big Data, Hadoop Fundamentals. You need a userid/pwd to actuall sign up tho. Once you do and actually are on the course's web page, choose option 4 "Download and use the supplied VMWARE image". My VMWARE session does say "non-commercial use only" in the title bar- don't know if that makes a difference. Thanks for willing to try this out. Regards |
I couldn't download the image parts, getting a not found on server message. Will try again later.
|
All times are GMT -5. The time now is 07:57 PM. |