Skip to content

Instantly share code, notes, and snippets.

@disono
Last active April 17, 2018 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save disono/2d892e249ddcacdc8b6b652aca8fa34e to your computer and use it in GitHub Desktop.
Save disono/2d892e249ddcacdc8b6b652aca8fa34e to your computer and use it in GitHub Desktop.

Start XAMPP on reboot

1. Open Terminals and then create script file that run on startup
sudo nano /etc/init.d/lampp

2. and paste this code and save
#!/bin/bash
/opt/lampp/lampp start

3. now give execution permission to lampp
sudo chmod +x /etc/init.d/lampp

4. and run following command
sudo update-rc.d lampp defaults

5. at last reboot your system.
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment