LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2004, 02:16 AM   #1
jaqkar
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
RH9 Apache Start on Boot


Hi All

What is the correct way of starting apache on boot on a Redhat 9 install?

Thx
 
Old 02-21-2004, 02:17 AM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
go to

"system settings" --> "server settings" --> "services"

then check the checkbox next to "httpd"

-JAX
 
Old 02-21-2004, 02:22 AM   #3
jaqkar
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Original Poster
Rep: Reputation: 0
How would I do it from console as I am not running X ?
 
Old 02-21-2004, 02:33 AM   #4
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
I think you put it in

/etc/rc.d/init.d

-JAX
 
Old 02-21-2004, 09:13 AM   #5
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
As root in the terminal type

Code:
chkconfig httpd on
That will start the httpd service on bootup.
 
Old 02-21-2004, 11:33 AM   #6
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
just run setup as root then from the menu choose services turn on httpd you do not need x to run setup it is ncurces based

or

/sbin/services httpd start will work to but when you reboot you have to ru it again..
 
  


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
Interface ppp0 fails to start during RH9 boot nimcha Linux - Software 0 05-20-2004 03:07 PM
Start Jabber server on Linux RH9 system Boot jimmax777 Linux - Software 4 02-17-2004 05:19 AM
apache wont start on boot Pete Dogg Linux - Software 12 10-30-2003 01:26 PM
Why Won't Apache and MySQL Start on Boot? John_Saunders Linux - Newbie 1 07-17-2002 01:23 AM
apache want to start in boot tarak4u Linux - Networking 4 05-16-2002 02:26 AM


All times are GMT -5. The time now is 02:57 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration