Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I just installed Apache2 on SuSE 9.1. Can some one tell me how to turn it on? I assumed once I installed the RPM from SuSE's ftp server that it would auto start for me and start when ever I booted up the computer or that I would have some kind of GUI I could click on in the start menu for the settings. I all ready figured out where to put my web site's files. All I need to know is how to turn it on and I'm good to go.
Well.. Im not on suse and have little experiance with it but maybe its set for root only at the moment, I had to change the premissions for my apache so maybe that might be your problem (course sounds like your using a newer version then mine its about a year old still worth checking into that though)
See it worked fine for me and root to access but no one else could I just made it so that anyone could view and thats all worked for me so I thought Id sujest it and also, maybe I editied my apache and other things but it starts auto tho right as mine does.
OK, I got it working. I ended up installing a RPM from the SuSE ftp server for adding a Apache2 module into YAST. After that I started up YAST and it was only a matter of clicking on a box to enable the Apache2 server. And no command line required. Thanks every for the help but I ended up figuring it out my self.
Open YaST, in the Software section click "Changed Source of Installation". Click Add, put mirror.mcs.anl.gov in "Server Name" and put pub/suse/i386/9.1 "Directory on Server". Click Ok and wait... Than click Finish.
Now Go back to the Software section and click "Install and Remove Software". Goto the box on the top left labeled "Filter", click in it and pick "Search". Under "Search In" and make sure all 5 boxes are checked. Goto the bottome middle and check the box that says "Autocheck". Go back to the top left to the Search field and type "apache2" (with out "'s) and hit enter or click search or what ever floats your boat.
Pick all the apache2 RPM's you want, I don't feel like listing them all. The one you really want is (scrowl all the way down) "yast2-http-server". That will add a thingy into Yast so you can some what configure Apache2 with a nice pretty GUI. Click Accept and install your sh*t.
Now go back YaST and goto the "Network Services" section. You should now see "HTTP Server" on the right seconded from the top so you should click that. Click "Enabled" at the top and check mark "Adapt Firewall" box. Click Finish and your good to go.
thank you for your answer, but i had that Apache GUI already installed. my apache still fails to start, both at boot and when i try to start it from the command line. is it possible that another program is blocking my 80 port ? how can i check that out ?
I couldn't say, I'm new to Linux my self. What SuSE are you using? Personal or Profesional and where did you get it? I got SuSE Personal from CompUSA. I installed the Apache RPM's from the SuSE site and they all work fine.
And also did you install any other daemons that may be listening on port 80?
Hello, to check ports you should use the "netstat" command. See man pages for mor info, but I use "netstat -an" (all connections and no translate port number to services). You could use "netstat -putan" too (less info, but you'll see it if there is a dameon listening on port 80). You should check if there is a line like:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3348/httpd
Good luck with apache .
PS: You should take a look at your httpd.conf and set up some basics like domain, webmaster, etc. (Im not an apache expert!)