I am setting up a Virtual Machine with Ubuntu 10.04 Lucid Lynx Server.I have been reading the section on setting up Apache with an SSL certificate within the book : Beginning Ubuntu LTS Server Administration - 2nd EditionContrary to the official documentation, the book advises to always use a 'pass phrase' when setting up Apache with SSL (to protect your reputation if the private SSL key is compromised).If you set-up a 'pass phrased SSL key' then you are required to type a pass phrase each time you start Apache. This is a slight problem if Apache starts up automatically when Ubuntu boots up. On page 338 it then offers a tip to prevent Apache from starting up at boot time....To ensure that it doesn't start automatically, enter the line NO_START=0 in /etc/default/apache2I have modified that /etc/default/apache2 file accordingly, rebooted and Apache2 is still trying to start-up upon boot. The NO_START=0 line seems to have no effect.As I look through forums on the web, it seems that most people have issues and then end up skirting the problem by simply using a certificate without a pass phrase.Does anyone know the the best practice method of preventing Apache from starting up at boot time for a passphrased secure SSL'd Apache?
Run Ubuntu 10.04 LTS with Apache2 SSL with passphrase
ubuntu;apache httpd;services;openssl
To disable the auto-starting of a service you can use:sudo update-rc.d -f SERVICE disableso in your case asudo update-rc.d -f apache2 disableshould do the job. To enable a service just replace the disable with an enable ;-)Aux: To get an overview of services starting with a specific runlevel you might install sysv-rc-conf. Executing sysv-rc-conf you can enable/disable services with space. q closes the program and saves the changes.