LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 09-01-2002, 12:53 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Apache on startup


Hello

Finally I Installed Apache web server on my Red Hat 7.3. But I need always ti start the Apache web server after reboot. What I have to do to make Apache server start up by itself.

Thanks
 
Old 09-01-2002, 01:10 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You need to add it to your starting scripts. You can create one one for Apache using one you can find in /etc/rc.d/init.d and making a symlink to /etc/rc.d/rc?.d directories you need OR use an easier method: just add the command you use to run Apache to /etc/rc.d/rc.local (somewhere at the beggining, after comments - lines with #s).
 
Old 09-14-2002, 05:36 AM   #3
Amerist
Member
 
Registered: Apr 2002
Location: Germany
Distribution: RedHat & SuSE
Posts: 106

Rep: Reputation: 15
If you're using GNOME, there's an easier way. Go to Programs > System > Service configuration and type in your root password. Then you can see a list of services that are installed and which ones are set to start at boot. You just look for "httpd" in that list and make sure it has a checkmark next to it. Then you must save your changes and exit. That's it. This works also for making sure that MySQL server and client are running.
 
Old 09-14-2002, 08:06 AM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
run ntsysv, and go down to httpd and press the spacebar to put an * . Now when your machine starts apache starts.
 
Old 09-14-2002, 01:23 PM   #5
Amerist
Member
 
Registered: Apr 2002
Location: Germany
Distribution: RedHat & SuSE
Posts: 106

Rep: Reputation: 15
Quote:
Originally posted by hanzerik
run ntsysv, and go down to httpd and press the spacebar to put an * . Now when your machine starts apache starts.
That's funny. My Red Hat 7.3 does not have ntsysv.
 
Old 09-14-2002, 01:54 PM   #6
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Hhmm everytime I have installed RH, ntsysv is installed, and I do minimal installs.
try and find it:
find / -name ntsysv
 
Old 09-15-2002, 03:48 AM   #7
Amerist
Member
 
Registered: Apr 2002
Location: Germany
Distribution: RedHat & SuSE
Posts: 106

Rep: Reputation: 15
Ok you're right. I do have it. It's at /usr/bin/ntsysv . Very cool. Thanks for the tip.
 
Old 09-22-2002, 03:59 PM   #8
morfy50
LQ Newbie
 
Registered: Sep 2002
Posts: 4

Rep: Reputation: 0
Now that you have Apache, do yourself a favour and get Webmin if you don't have it already.
http://www.webmin.com/

You can config Apache, mysql, etc plus Linux itself. For a lazy guy like me it makes life easier

Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache/mysql startup robyne *BSD 1 07-11-2005 01:34 AM
Apache/1.3.31 (Unix) Startup, NEED help w0lv3rin3 Linux - Software 1 10-24-2004 11:11 AM
Automatic Startup of Apache m2azer Linux - General 6 09-20-2004 07:39 AM
apache startup dmedici *BSD 5 03-23-2004 12:18 PM
Apache startup Question jester_69 Linux - General 7 05-21-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration