+3 votes
2.6k views
How to install Xampp in Linux Mint 20

in Linux / Unix by (552k points)
reopened | 2.6k views

1 Answer

+4 votes
Best answer

1. How install XAMPP in Linux Mint 20
2. Starting and verifying XAMPP in Linux Mint 20
3. How to configure XAMPP Linux Mint security parameters
5. XAMPP Linux Mint environment
6. How to uninstall XAMPP Linux Mint

One of the main advantages of Linux operating systems is the versatility of these to integrate multiple functionalities and characteristics, which is why Linux distributions are allies for everything related to web development and XAMPP is one of the best options if it is about integrating in one point the most popular development solutions..

 

 

What is XAMPP
XAMPP is basically an Apache distribution in which applications such as MariaDB, PHP and Perl are integrated.

 

XAMPP offers installers for Windows, Linux and macOS systems and its main objective is to provide the end user, mostly developers, an easy-to-install distribution allowing to get the most out of Apache and this is achieved since XAMPP is configured by default. with all its different active options which represents that we must configure little manually.

 

XAMPP is 100% free in commercial and non-commercial uses.

 

characteristics
Among its main characteristics we highlight:
  • It is cross-platform allowing it to be installed on Windows, Linux, Solaris, Mac OS, among others.
  • It is licensed under GNU
  • Supports PHP 7
  • Allows the creation of a website in a simple way
  • XAMPP includes additional tools such as the phpMyAdmin database administration tools, the FileZilla FTP server, the Mercury mail server, the Perl programming language and the JSP Tomcat server

 

XAMPP 7.4.7
The current version of XAMPP is version 7.4.7 which integrates:
  • PHP 7.2.31, 7.3.19, 7.4.7
  • Apache 2.4.43
  • MariaDB 10.4.13
  • Perl 5.30.3
  • OpenSSL 1.1.1g (UNIX only)
  • phpMyAdmin 5.0.2

 

It is time to learn how to install XAMPP on Linux Mint 20..

 

 


1. How install XAMPP in Linux Mint 20

 

Step 1

The first step to take will be to install netstat with which XAMPP is allowed to be used to the maximum, for this we go to the terminal and execute the following:
 sudo apt install net-tools 
image

 

Step 2

It is time to download the script of the latest available version of XAMPP which is 7.4.7, for this we execute the following:
 sudo wget https://www.apachefriends.org/xampp-files/7.2.31/xampp-linux-x64-7.2.31-1-installer.run 
image

 

Step 3

We must convert this downloaded file to executable, for this we enter the following in the terminal:
 sudo chmod + x xampp-linux-x64-7.4.7-0-installer.run 
image

 

Step 3

After granting the permissions we will run the installer as follows:
 sudo ./xampp-linux-x64-7.4.7-0-installer.run 
Pressing Enter will launch the XAMPP installation wizard on Linux Mint 20:

 

 

image

 

Step 4

We click Next and select the components to install:

 

image

 

Step 5

Again we click Next and we will see the path where XAMPP will be installed which is / opt / lampp:

 

image

 

Step 6

We click Next and in the next window it will be possible to install sponsored applications such as Drupal, Joomla and WordPress:

 

image

 

Step 7

If we do not want it, we simply deactivate the present box, click Next and we are ready to install XAMPP in Linux Mint 20:

 

image

 

Step 8

We click Next and the XAMPP installation process will start in Mint 20:

 

image

 

Step 9

When this process ends we will see the following:

 

image

 

There we can leave the “Launch XAMPP” box active to start the utility, but it is optional.

 


2. Starting and verifying XAMPP in Linux Mint 20

 

Step 1

We are going to start XAMPP by running the following in the terminal:
 sudo / opt / lampp / lampp start 
image

 

Step 2

From the local team we verify this by entering the following:
 http: // localhost / phpmyadmin / 
image

 

Step 3

There we have all the properties of PHP and MySQL, but if we try to connect remotely we will see the following error for security reasons:

 

image

 

Step 4

To stop XAMPP we execute:
 sudo / opt / lampp / lampp stop 
To restart it we will use the following:
 sudo / opt / lampp / lampp restart 

3. How to configure XAMPP Linux Mint security parameters

 

Step 1

It is important that we define XAMPP security security levels such as passwords and users, for this security configuration we execute the following:
 sudo / opt / lampp / lampp security 
We press Enter and this will launch a series of questions that we must answer based on current needs:

 

 

image

 

Step 2

We can enter the answers as the case may be:

 

image

 

Step 3

If we want to configure external access, we must edit the httpd-xampp.conf file:
 sudo nano etc / extra / httpd-xampp.conf 
There we must locate the following:
 Alias ​​/ phpmyadmin "/ opt / lampp / phpmyadmin /" <Directory "/ opt / lampp / phpmyadmin"> AllowOverride AuthConfig Require local We replace the line "Require local" with "Require all granted": Alias ​​/ phpmyadmin "/ opt / lampp / phpmyadmin /" <Directory "/ opt / lampp / phpMyAdmin"> AllowOverride AuthConfig Require all granted 
Step 4

We save the changes and then we try to access externally and we will see that we have XAMPP 7.4.7:

 

 

image

 

Main XAMPP configuration files
The main XAMPP configuration files are in the following paths:
  • Apache: /opt/lampp/etc/httpd.conf, /opt/lampp/etc/extra/httpd-xampp.conf
  • PHP: /opt/lampp/etc/php.ini
  • MySQL: /opt/lampp/etc/my.cnf
  • ProFTPD: /opt/lampp/etc/proftpd.conf

 


5. XAMPP Linux Mint environment

 

Step 1

When accessing XAMPP as an application in Mint 20 we will see the following. There we can access help, open the containing folders or go directly to the application.
From the "Manage Servers" tab we can start, stop or restart the different applications:

 

image

 

Step 2

There we have the "Configure" button where it is possible to define the service parameters:

 

image

 

Step 3

From "Aplication Log" we can access events of the services.

 

image

 

Step 4

In XAMPP it is possible to create backup copies of the configuration, if this is the case we must execute one of the following options:
 sudo / opt / lampp / lampp backup sudo / opt / lampp / lampp backup secret 
image

 


6. How to uninstall XAMPP Linux Mint

 

Step 1

At the moment we do not want to use XAMPP any more we can uninstall it from the system, for this we access the directory:
 cd / opt / lampp 
There we run the XAMPP uninstall script:
 sudo ./uninstall 
image

 

Step 2

We confirm by clicking "Yes" and we will see that XAMPP has been removed from Linux Mint 20:

 

image

 

Finally, we delete the original folder with the following command:

 sudo rm -r / opt / lampp 
With TechnoWikis you have learned how to install and configure XAMPP in Linux Mint 20 and thereby take advantage of each of its main features.

 


by (3.5m points)

Related questions

+5 votes
1 answer
asked Jun 19, 2020 in Linux / Unix by backtothefuture (552k points) | 2k views
+3 votes
1 answer
asked Jun 16, 2020 in Linux / Unix by backtothefuture (552k points) | 6.8k views
+5 votes
1 answer
asked Jun 15, 2020 in Linux / Unix by backtothefuture (552k points) | 444 views
+4 votes
1 answer
asked Jun 16, 2020 in Virtualization by backtothefuture (552k points) | 2k views
+4 votes
1 answer
asked Jul 14, 2020 in Linux / Unix by backtothefuture (552k points) | 573 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users