How to start, stop, restart XAMPP on Lubuntu

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... thumbnail 1 summary

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]

CommandFunction
startstart all services
stopstop all services
restartrestart all services
startapachestart apache only
startmysqlstart mysql only
startftpstart ftp only
stopapachestop apache only
stopmysqlstop mysql
stopftpstop ftp
statusstatus
securitysecurity 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:

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 ~

Không có nhận xét nào

Đăng nhận xét