How To Install XAMPP On Linux Mint 20.2

To Install XAMPP On Linux Mint 20.2

Introduction :

XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages.

Installation procedure:

Step 1 : Check the OS version by using the below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 20.2
Release:	20.2
Codename:	uma

Step 2 : Download the XAMPP file by using the wget command

root@linuxhelp:~# wget https://www.apachefriends.org/xampp-files/7.2.4/xampp-linux-x64-7.2.4-0-installer.run
--2022-01-30 05:27:06--  https://www.apachefriends.org/xampp-files/7.2.4/xampp-linux-x64-7.2.4-0-installer.run
Resolving www.apachefriends.org (www.apachefriends.org)... 3.228.74.175, 54.152.104.70, 34.236.138.96
Connecting to www.apachefriends.org (www.apachefriends.org)|3.228.74.175|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://downloadsapachefriends.global.ssl.fastly.net/7.2.4/xampp-linux-x64-7.2.4-0-installer.run?from_af=true [following]
--2022-01-30 05:27:07--  https://downloadsapachefriends.global.ssl.fastly.net/7.2.4/xampp-linux-x64-7.2.4-0-installer.run?from_af=true
Resolving downloadsapachefriends.global.ssl.fastly.net (downloadsapachefriends.global.ssl.fastly.net)... 151.101.1.194, 151.101.65.194, 151.101.129.194, ...
Connecting to downloadsapachefriends.global.ssl.fastly.net (downloadsapachefriends.global.ssl.fastly.net)|151.101.1.194|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 141741238 (135M) [binary/octet-stream]
Saving to: ‘xampp-linux-x64-7.2.4-0-installer.run’

xampp-linux-x64-7.2.4-0-installe 100%[=========================================================>] 135.17M  23.6MB/s    in 7.0s    

2022-01-30 05:27:15 (19.4 MB/s) - ‘xampp-linux-x64-7.2.4-0-installer.run’ saved [141741238/141741238]

Step 3 : Give the Execute Permission by using the below command

root@linuxhelp:~# chmod +x xampp-linux-x64-7.2.4-0-installer.run 

Step 4 : Install the XAMPP by using the below command

root@linuxhelp:~# ./xampp-linux-x64-7.2.4-0-installer.run 

Step 5: Install the following steps by giving next as shown in the below picture

Step 6: Once installed the XAMPP, give Finish as shown in the below picture

Step 7: This is the welcome page of the XAMPP webserver

Step 8: Now we can view the services running as shown in the below picture

Step 9: Here we can view the logs and the services starting are shown in the below picture

By this, the process of installing XAMPP on Linux Mint 20.2 has come to an end..!!

FAQ
Q
Can XAMPP be used for production?
A
XAMPP is designed for development environments, not for production. XAMPP is configured as openly as possible for developers to do whatever they want.
Q
Does XAMPP include MySQL or MariaDB?
A
Since XAMPP 5.5.30 and 5.6.14, XAMPP ships MariaDB instead of MySQL. The commands and tools are the same for both.
Q
What are the steps for installing the XAMPP package?
A
To install the package use the ./xampp-linux-x64-7.2.4-0-installer.run command.
Q
How do we give permission for a file?
A
we can give permission for a file using the Execute Permission command.
Q
How to download the XAMPP package?
A
To download the XAMPP package use the wget https://www.apachefriends.org/xampp-files/7.2.4/xampp-linux-x64-7.2.4-0-installer.run command