PDA

View Full Version : Start Apache and Mysqld at Bootup



delamatrix
01-04-2005, 07:09 AM
I have just installed Knoppix to my hard drive. How can I start apache and mysqld at bootup? I'm a linux newbie and I have yet to grasp shell scripts and etc. Is there an easy way to do this. A full howto or explanation would be greatly appreciated.

Thanks,

- Delamatrix

Durand Hicks
01-04-2005, 07:37 AM
Very easy, open a terminal window and su to root.
Type update-rc.d apache defaults and hit enter.
Type update-rc.d mysql defaults and hit enter.
Logout of terminal and reboot, both will start before you even get to the desktop.
Alternatively, you could just type /etc/init.d/apache start and /etc/init.d/mysql start instead of rebooting to get them running now and reboot later when you need to.


HTH,

Durand

delamatrix
01-04-2005, 08:14 AM
Thanks Durand! It's working. I love knoppix!

- Delamatrix

Durand Hicks
01-04-2005, 08:27 AM
You're welcome.