For a web developer LAMPP is the primary application for web development, so to start it every time whenever you login. You can make a script which will automatically start LAMPP on login.
Open terminal and run following command.
sudo gedit /etc/init.d/lampp
Use following code in file & save and close the file.
#!/bin/bash /opt/lampp/lampp start
Now run following command to make this script executable.
sudo chmod +x /etc/init.d/lampp
In Last run following command to install init scripts to all runlevel.
sudo update-rc.d lampp defaults
Restart the system for confirmation, lampp would be start automatically & you can check it by running http://localhost in your browser.
Advertisements