Alright, in the previous article i already show you how to install XAMPP on lubuntu, and now in this article i'm going to explain about how to use it.
Okay, let's start with how to start, stop, and restart the services. There are three services on XAMPP 1.8.3-4; MySQL, proFTP, and Apache.
And there are two ways to start, stop, and restart the services, using command line and using GUI, unless you use the older version of XAMPP.
How to start, stop, and restart XAMPP using command line:
Open the terminal console, press CTRL + ALT +T, and then type following command:
sudo /opt/lampp/lampp start
That command will start all three services (MySQL, proFTP, Apache)
kernelpanic@lubuntulaptop:~$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.3-4...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
To stop, the command is sudo /opt/lampp/lampp stop, and for restart the command is sudo /opt/lampp/lampp restart.
You can also start the service individually, for example you want to start MySQL only, then you run this command:
sudo /opt/lampp/lampp startmysql
Here's full list of command for XAMPP:
sudo /opt/lampp/lampp [Command]
Command | Function |
start | start all services |
stop | stop all services |
restart | restart all services |
startapache | start apache only |
startmysql | start mysql only |
startftp | start ftp only |
stopapache | stop apache only |
stopmysql | stop mysql |
stopftp | stop ftp |
status | status |
security | security check |
How to start, stop, and restart XAMPP using GUI:
The easiest way to start, stop, and restart XAMPP is using the GUI, like when the first time installing XAMPP. Here's the command to trigger the GUI:
NOTE
for the 64 bit version, use the following command instead:
~ cheers ~
sudo /opt/lampp/manager-linux.run
NOTE
for the 64 bit version, use the following command instead:
sudo /opt/lampp/lampp/manager-linux-64.run
~ cheers ~
No comments:
Post a Comment