Results 1 to 2 of 2
Thread: install apache server in linux
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2012
install apache server in linux
how to install apache server in linux redhat
but i can not connect to internet
- Join Date
- May 2011
if it is Red Hat Enterprise Linux, then you need a subscription/RHN login. Then you can download the httpd packages and copy them to a CD which you can then take to your stand-alone server and install from there (using rpm/yum commands).
Or use the original media from which you installed RHEL, the httpd packages should be on there, too.
If you are in a bind, you can always compile the binary RPMS from the original Source RPMS that Red Hat makes available:
In the above listing, you can see httpd-2.2.15-9.el6_1.3.src.rpm, which appears to be the latest released SRPM. Then you rebuild it using the rpmbuild command (from the rpm-build package). Don't rebuild it as root, though - dangerous. Set up a proper environment for building RPMS as a regular user. but the command is something like:
rpmbuild --rebuild /path/to/httpd-x.xx.src.rpm
Of course you probably don't even have rpm-build installed (or gcc or make...), so you may have a chicken and the egg problem there.
Honestly, though, if you are running RHEL, you should be using a subscription and getting updated packages properly. If you don't really care about this, then just use CentOS, a binary clone of RHEL.