LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-09-2007, 08:07 PM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
apache to apache2


I have apache and installed apache2. Apache usually is the one to start but I want apache2 to start instead how do I change this?

On command line what I do is every start.

apachectl stop
apache2ctl start

By the way, I have this on my desktop computer, and the reason I do this is a means of testing out webspecific code, to learn (for school). I heard its not a good Idea of haveing a server setup on a desktop computer. I don't know anything about it though, how ever its nice to test things out.

Thanks
 
Old 03-09-2007, 08:59 PM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
sudo /etc/init.d/apache stop
sudo /etc/init.d/apache2 start


if you want apache permanently stop,
and apache2 always auto start
sudo update-rc.d -f apache remove
sudo update-rc apache2 defaults


Good luck
Ks
 
Old 03-10-2007, 12:41 PM   #3
Four
Member
 
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
Thank you
 
  


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 and apache2 signature16 Linux - Networking 1 03-14-2006 05:50 PM
why do a program need both apache and apache2? otoomet Debian 1 09-26-2005 07:31 AM
Can you run Apache2 without Apache 1.3? elfoozo Debian 5 05-10-2004 05:17 PM
Remove apache2, keep apache 1.3 jermo5 Linux - Software 0 08-05-2003 09:37 AM
Apache2 and Apache acid2000 Linux - Software 1 05-22-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:09 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
Open Source Consulting | Domain Registration