I'm totally new to Ubuntu (Linux). I'm just installed Ubuntu 16.04 and install XAMPP (lampp, apache, mysql) on it. They are running well, but not started when I'm start/ restart the system.
To start Apache every time I've to run the command :
quleiss@quleiss:~$ sudo /opt/lampp/lampp start
My question is, is there any way that it will start automatically when I'm starting my system.
I'm googled for this but there are many solutions for how to install Apache ?, but not for how to make auto-start Apache ?.
I referred this question : Start script on system startup (Ubuntu 16.04.1)
After running sudo systemctl status apache2
command it will give this output :
apache2.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
Any kind of help is appreciated, Thanks in advance.
apt-get install
method? Just curious is all. If there was no specific requirement, then the standard is apt-get.sudo systemctl status apache2
from the terminal and let me know what response you get, post into your question...apt-get install apache2
, etc