Apache2: how to enable on startup?

Gandalf ulist at gs1.ubuntuforums.org
Sun May 15 15:41:04 UTC 2005


Magnus Therning Wrote: 
> On Sun, May 15, 2005 at 12:31:26PM +0100, David Marsh wrote:

> >I installed Apache 2, since that appears to be the new world order,
> and

> >after getting over the initial shock, was actually pleasantly
> surprised

> >at how much simpler the new 'sites-available' structure works..

> >

> >However, Apache 2 doesn't start automatically on boot up.

> >

> >What's the Correct[TM] Ubuntu way to make it do that?

> 

> I've never had to do anything special to do that!

> 

> How do you start it manually? I assume '/etc/init.d/apache2 start'
> does

> the trick. Then make sure there is a link in /etc/rc.2 to

> /etc/init.d/apache2 (the links name should start with 'S').

> 

> /M

> 

> -- 

> Magnus Therning                    (OpenPGP: 0xAB4DFBA4)

> magnus at therning.org

> http://magnus.therning.org/

> 

> Software is not manufactured, it is something you write and publish.

> Keep Europe free from software patents, we do not want censorship

> by patent law on written works.

> 

> I have the simplest tastes. I am always satisfied with the best.

> -- Oscar Wilde

> 

> -- 

> ubuntu-users mailing list

> ubuntu-users at lists.ubuntu.com

> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users

> 

> -----BEGIN PGP SIGNATURE-----

> Version: GnuPG v1.2.5 (GNU/Linux)

> 

> iD8DBQFChzkqiMWTaatN+6QRAo+QAJ0cdCEqMte4PC99nWneYt/2yTBgZgCgqNMF

> 2dt26B7eLH1hb/vq+Sc5+oI=

> =4rFi

> -----END PGP SIGNATURE-----

well exactly that's what "sudo update-rc.d apache2 defaults" do,
except you don't have to create links manually they will be created
automatically in rcX.d folders using that command


-- 
Gandalf




More information about the ubuntu-users mailing list