How to make XAMPP autorun on Ubuntu?
You need to run XAMPP automatically when you turn on the computer.
1 answer
Just open a terminal and write:
sudo gedit /etc/rc.local
Editor at your discretion, if there is no gedit
, you can any other (nano, vim, pluma, etc.)
And then you need to add these 2 lines before the last line:
cd /opt/lampp/ sudo ./lampp start
And it's all. Just save and restart your computer. Note that these lines must be above the last line, which says exit 0
Reply @Muhammad bin Yusrat
Notice there the link 2 answers, both working, but this answer is easier.
If you add any ready-made script for this, remember that you need to give it the necessary rights.
Thanks also to @Suvitruf for the source found.
|