DEV Community

Dimas Adiputro
Dimas Adiputro

Posted on

Install XAMPP in linux

download the binary using wget or upload to the server manually.

[root@single ~]# wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/8.0.30/xampp-linux-x64-8.0.30-0-installer.run

[root@single ~]# chmod +x  xampp-linux-x64-8.0.30-0-installer.run

[root@single ~]# [root@single ~]# ./xampp-linux-x64-8.0.30-0-installer.run 
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want 
to install. Click Next when you are ready to continue.

XAMPP Core Files : Y (Cannot be edited)

XAMPP Developer Files [Y/n] :n

Is the selection above correct? [Y/n]: Y

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press [Enter] to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: Y

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

 Installing
 0% ______________ 50% ______________ 100%
 #########################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.

Enter fullscreen mode Exit fullscreen mode

after installation completed run the lampp

[root@single]#cd /opt/lampp
[root@single lampp]# ./lampp start
Starting XAMPP for Linux 8.0.30-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...already running.
Enter fullscreen mode Exit fullscreen mode

the open the browser and access http://127.0.0.1

Top comments (0)