Thursday 3 December 2015

Start Xampp automatically when system start (In Ubuntu)


To Open Xampp Automatically  when system start Follow the Process

Open Terminal (Shortcut key  : cntr+alt+t )

Then type the following command

sudo  /opt/lampp/lampp start
sudo gedit /etc/init.d/lampp

It will open a file paste the following code in that file


#!/bin/bash
/opt/lampp/lampp start



Then save file and type following commands on terminal

sudo chmod +x /etc/init.d/lampp
sudo update-rc.d lampp defaults



Now restart your system.

No comments:

Post a Comment