We need to start below command when we start out system everytime
sudo /opt/lampp/lampp start
Now, We don't need start everytime, just create one script for handling autostart process into Ubuntu
- Open terminal and type below Command
sudo gedit /etc/init.d/lampp
- Now, put this script into lampp file
#!/bin/bash
/opt/lampp/lampp start
- Close file and make executable file for using command:
sudo chmod +x /etc/init.d/lampp
- Scipt make to all run level executable
sudo update-rc.d lampp defaults
After applying this, you'll need restart your system and open localhost. You don't need to run /opt/lampp/lampp start
command
Not working for me, any idea?