start lampp at startup as root

31,208

You can edit the rc.local file to auto start lampp.

use root login and edit /etc/rc.local file and add line /opt/lampp/lampp start to end of the file.

Reboot the machine and you can check the status of the lampp using /opt/lampp/lampp status

Hope this helps you!

Share:
31,208

Related videos on Youtube

philipp
Author by

philipp

Updated on September 18, 2022

Comments

  • philipp
    philipp over 1 year

    Possible Duplicate:
    How to make sudo remember my password and how to add an application to startup

    I have lampp installed on my Ubuntu 12.04 Everything works very fine and now I would like to start the lampp-server on startup.

    I have a startlampp.sh script with this:

    cd /opt/lampp
    sudo ./lampp start
    

    code in it. It is enabled for execution and when I run it in terminal I am asked for the password and finally it starts lampp.

    Can I include the password in the script that it runs on startup?

    Greetings philipp

  • philipp
    philipp over 11 years
    /etc/rc does not exist. Should I make it?
  • devav2
    devav2 over 11 years
    check etc/rc.local if you don't find it then please refer this link
  • Kabir Hossain
    Kabir Hossain over 7 years
    It works for me. Just put /opt/lampp/lampp start before exit 0 of rc.local file