Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to start xampp when the ubuntu starts on ubuntu 9.10. I tried going to system->preferences->startup applications adding it there, but it didn't work. I surmised it was because it needs to be started as root. I know you can make a startup script some how, but I'm not sure how to do it. How can I make it start xampp when the computer boots, even without logging in?

FYI, the command for starting it is sudo /opt/lampp/lampp start

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You will need to add it to the startup scripts. This may help http://www.apachefriends.org/en/faq-xampp-linux.html#fsl

share|improve this answer
    
it says to do egrep :initdefault: /etc/inittab but when i do that it says no such file or directory –  The.Anti.9 May 10 '10 at 3:49
    
I tried adding the things to init.d and restarted the server, but it still didn't start. –  The.Anti.9 May 10 '10 at 4:05
    
according to embraceubuntu.com/2005/09/07/…;, you can't just add a script to the init.d directory. $ chmod +x SCRIPT_NAME $ update-rc.d SCRIPT_NAME defaults –  imjoevasquez May 14 '10 at 20:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.