Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-13-2001, 04:28 PM
|
#1
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Rep:
|
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.
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
|
|
|
07-13-2001, 04:32 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-13-2001, 05:44 PM
|
#3
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
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 
|
|
|
07-13-2001, 05:49 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
07-13-2001, 05:55 PM
|
#5
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
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.
|
|
|
07-13-2001, 06:35 PM
|
#6
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|