Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
if it is not to much trouble can someone explain, in as much detail as possible, how to install and configure apache on a RedHat 7.1 box? It would be greatly appreciated.
umm,...i guess I wasn't clear when I stated my problem.
1.) I am new to linux
2.) I don't have apache installed,...at least I don't think I do
3.) I understand what an rpm is but isn't there a syntax to use to make it install into a specified directory? If so what is that syntax and where do I want to install it to, on a redhat 7.1 box
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
rpm -Uvh some_rpm_name.rpm is what you need to install. Get the RPM from the Redhat 7.1 site or cd and it will put it where it likes to be.
You may run into an issue where you don't have dependencies installed. When you try to install an RPM and get errors about failed dependencies, just go get the ones you need and install away.
ok,...thanks for that tip. What is the command to see if Apache is running on my box? "which apache" ? and how can I see where it is installed? ie. absolute path.
well I ran the rpm from the RedHat 7.1 disc and it came back with 2 lines that said something and processed up to 100%,...then that was it,....I have no idea what I did or what it did
I need help installing and configuring apache for use on a LAN,..no internet. I don't know anything about apache so if you could be a detailed as possible that would help.
ps. If you are just going to point to the linux.com HOW-TO's please don't bother,...they are un-resourcefull in the detailed process I need. Thanks in advance
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
Okay... there are several ways to tell if the webserver is running on your system. Here are a few:
1. ps -aux | grep httpd
That should return several instances of Apache if it is running.
2. Point your browser to http://localhost
You will get the default Apache page if its running.
3. /sbin/chkconfig --list httpd
That will show you the runlevels at which Apache is setup to run.
You should install the Apache documentation RPM's as well. They provide very detailed information on how to do just about anything you want. Also, read httpd.conf. That file is well commented with information that can get you up and running fast.
ok apache is not running,...I tried running the rpm from the redhat disc and it said "processing" and it counted up to 100% and that was it,....what do I do now?
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
Well... it sounds like you may have a successfull install, its just not running.
As root type "service httpd start". That should crank it up. What did the chkconfig command show? You can do this
"chkconfig --level 35 httpd on" to get it setup to auto start on run levels 3 and 5
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.