Apache problems
Hi all
Recently I installed apache 1.3.20 on Mandrake 8.0 and everything went ok. The problem is this, I can only start the apachectl server when logged as root. :confused: I want to start the server as a service so every user can use it, any help on this would be appreciated. Thx in advance |
Thats right, you really only want root to start it, otherwise it can't listen on port 80! Just start it from once of your startup scripts (don't know exactly where in Mandrake, something in /etc/rc*) and leave it running. That way it comes up at boot time, and shuts down when you shut your PC down.
cheers Jamie... |
Has anyone done this in Mandrake 8.0???
I,ve had a look in etc/ but there,s the following directories..... rcd rc0.d rc1.d rc3.d rc4.d rc5.d rc6.d and also the following files..... rc rc.local rc.sysinit You may be able to tell i,m a total newbie at linux so a detailed explanation of what to do would be appreciated. I also intend to install PHP 4 and postgre SQL, should I install these before doing the above or doesnt it matter? Thx again sorry to be a pain:) |
I'd plum for rc.local myself. Just add a line that says exactly what you type on the command line to start it.
If you are going to install PHP then you can do this after Apache no problem. But you'll want to install PostgreSQL before PHP otherwise your won't be able to install support for it. You might also want to look into MySQL - http://www.mysql.com - as an alternative database. As for installing the above, get them downloaded and read the install details that comes with them. I've installed them both a few times and its all pretty straight forward. cheers Jamie... |
Thx m8 i,m gonna try that.
I was going to try mysql but it doesnt properly support relationships. Well transactions actually. I know you can accomplish the same thing using the join command but its not the same and no good for critical systems. (Hope I explained that right, or i,m gonna get flamed :) ) Thx for the advice though. |
Hello again, I only joined 5 minutes ago and i,ve allready posted loads of messages, anyway
It worked, thx again. I dont suppose you know what database software this site is run from do you??? L8rs |
I think that http://www.linuxquestions.org/questi...&threadid=2840 and http://www.linuxquestions.org/questi...&threadid=3952 and http://www.linuxquestions.org/questi...&threadid=4045 and http://www.linuxquestions.org/questi...=&threadid=238 should answer your question, and the others I think you'd want to ask after finding the answer to the first! I'm not sure what version of Apache Jeremy is running. If you want to know ask a question in the Website Questions & Suggestions forum.
cheers! Jamie... |
All times are GMT -5. The time now is 06:19 PM. |