XAMPP:
=====
Automatically start it on login.
step:1
Open terminal and run following command.
$sudo gedit /etc/init.d/lampp
step:2
paste following code in opened file
#!/bin/bash
/opt/lampp/lampp start
save & close
step:3
run following command to make this script executable
$sudo chmod +x /etc/init.d/lampp
step:4
run following command to install init scripts to all runlevel
$sudo update-rc.d lampp defaults
step:5
restart the system
&
xampp would be start automatically. You can check it by opening
http://localhost in browser
=====
Automatically start it on login.
step:1
Open terminal and run following command.
$sudo gedit /etc/init.d/lampp
step:2
paste following code in opened file
#!/bin/bash
/opt/lampp/lampp start
save & close
step:3
run following command to make this script executable
$sudo chmod +x /etc/init.d/lampp
step:4
run following command to install init scripts to all runlevel
$sudo update-rc.d lampp defaults
step:5
restart the system
&
xampp would be start automatically. You can check it by opening
http://localhost in browser
No comments:
Post a Comment