divinequran Posted February 26, 2009 Share Posted February 26, 2009 hi, How do i set chkconfig for lampp, i want the lamp to start automatically when the system gets started. now i start it manually every time. /www/lampp/lampp start Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted February 26, 2009 Share Posted February 26, 2009 start apache and mysql? chkconfig httpd on chkconfig mysqld on Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted February 27, 2009 Share Posted February 27, 2009 What distro are you using? Why don't you use your distro's package manager instead of choosing a third-party bundle? Quote Link to comment Share on other sites More sharing options...
divinequran Posted March 6, 2009 Author Share Posted March 6, 2009 i am comfortable using it, but every time i use to start the service when i start system, i want to make it auto start. Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted March 6, 2009 Share Posted March 6, 2009 Why cant you just place the line to start the services in your: /etc/rc.d/rc.local And what is wrong with the chkconfig commands in my earlier post? Create an alias to /www/lampp/lampp for /sbin/service Then you can write: service lamp start Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted March 6, 2009 Share Posted March 6, 2009 And what is wrong with the chkconfig commands in my earlier post? They're distro specific and only work if there are existing init scripts available for those. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.