vbp6us
09-01-2003, 11:46 PM
Hi,
How do I make linux start Apache and Mysql on boot? Im running SuSE 8.1. Thank you.
How do I make linux start Apache and Mysql on boot? Im running SuSE 8.1. Thank you.
|
Click to See Complete Forum and Search --> : How do I make linux start Apache and Mysql on boot? vbp6us 09-01-2003, 11:46 PM Hi, How do I make linux start Apache and Mysql on boot? Im running SuSE 8.1. Thank you. o0zi 09-02-2003, 03:28 AM SuSe 8.1 may have a program for configuring that kind of thing - look for something to do with services or daemons. If you want to do it manually, look in the /etc/init.d and /etc/rc.d directories for your startup scripts, and add the commands to start Apache and MySQL to a file called rc.local. Satanic Atheist 09-02-2003, 10:07 AM I've never used SuSE, but with RedHat and Mandrake, after installing RPMS you could do the following: > chkconfig --list > chkconfig --level 345 named on (That's for named - the DNS server). Under Slackware you need to write Bash scripting, but since SuSE has a reputation for being easy on beginners, it's doubtful you'd need to do that. Under X, there's often a boot init control that allows you to configure runtimes and you should be able to start mySQL and Apache from there. Finally, if all else fails, you could simply jury-rig the system to run them at boot by adding the paths to the executables into /etc/rc.d/rc.sysinit (or is it rc.local? You'll know the right one). Hope this helps. Like I said, I've never used SuSE so I don't know what systems it has (such as whether it uses RPMs). James vbp6us 09-02-2003, 05:31 PM ok guys, thanks. :) I can't try these out until i get home. :( justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |