+3 votes
436 views
How to install XAMPP on Ubuntu 21.04 | Hirsute hippo

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

1 Answer

+4 votes
Best answer

How to install XAMPP on Ubuntu 21.04

If you are working with the PHP language or you are a lover of this type of programming language, there is an application that complements very well all the potential that PHP has and we are talking about XAMPP. XAMPP has been created as a development environment which integrates PHP but not only this, XAMPP is made up of Apache and at the same time adds MariaDB, PHP and Perl. With all these built-in functions, administration tasks will undoubtedly become much simpler and more functional to do..

 

XAMPP Features
Some of its characteristics are:

 

  • Supports PHP 7
  • It is licensed under GNU
  • It allows the easy creation of a website with its available tools

 

 

 

TechnoWikis will explain how to install XAMPP on Ubuntu 21.04 Hirsute Hippo.

 

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

How to install XAMPP on Ubuntu 21.04

 

Step 1

The first thing we will do is validate the version of Ubuntu in which we are working, for this we execute:
 lsb_release -a 

image

 

 

Step 2

Now we go to the following official XAMPP link:

 

 XAMPP

 

image

 

 

Step 3

There we go to the Linux section and download 7.2.34, when we click on it we must save the file locally in Ubuntu 21.04:

 

image

 

 

Step 4

Once the file is downloaded, we check it in the Downloads folder:

 

image

 

 

Step 5

After this we access the terminal, there with the command "cd" we go to Downloads, we list the content with "ls":

 

image

 

 

Step 6

We are going to grant execution permissions with the following command:
 chmod + x File.run 

image

 

 

Step 7

Once we assign the permission, we are going to execute it with the following command:
 sudo ./file.run 
Step 8

As a result of this we will see that the XAMPP installation wizard is launched in Ubuntu 21.04:

 

 

image

 

 

Step 9

We click Next and select the components to install (we leave the default values):

 

image

 

Step 10

In the next window we will see the path where XAMPP will be installed in Ubuntu 21.04:

 

image

 

 

Step 11

We click Next and we will see a brief summary of the application:

 

 

image

 

 

Step 12

In the next window we will see this:

 

image

 

 

Step 13

We proceed with the installation of XAMPP by clicking Next:

 

image

 

 

Step 14

At the end of the installation process we will see the following window:

 

image

 

 

Step 15

We leave the box active and click on Finish, this will open the XAMPP management console in Ubuntu 21.04:

 

image

 

 

Step 16

We can see that it is structured in different sections, we click on "Open Application Folder" and we will see the folders where the XAMPP data is housed:

 

image

 

 

Step 17

In the XAMPP console we go to the "Manage Servers" tab and there we find the processes in progress:

 

image

 

 

Step 18

There we can stop, start or configure them as the case may be:

 

 

image

 

 

Step 19

Now, we open the browser and in a new tab we enter the following:
 localhost: 80 
image

 

 

Step 20

As a result, we access the XAMPP web management, there we click on the "phpMyAdmin" option to access the PHP work console. There we can use each of the available plugins.

 

 

image

 

 

Step 21

We go back to the terminal and execute the following:
 cd / opt / lampp 
Step 22

Once we access the directory we list its content with ls:

 

 

image

 

 

Step 23

From here it is possible to open the XAMPP console by running:
 sudo ./manager-linux-x64.run 
image

 

We can see how installing XAMPP in Ubuntu 21.04 is not complex, but it is a great help to manage all related services in Ubuntu 21.04..

 


by (3.5m points)

Related questions

+4 votes
1 answer
asked Nov 12, 2020 in Linux / Unix by backtothefuture (552k points) | 399 views
+4 votes
1 answer
asked Nov 6, 2020 in Linux / Unix by backtothefuture (552k points) | 614 views
+4 votes
1 answer
asked Nov 5, 2020 in Linux / Unix by backtothefuture (552k points) | 594 views
+3 votes
1 answer
asked Nov 12, 2020 in Linux / Unix by backtothefuture (552k points) | 395 views
+4 votes
1 answer
asked Nov 10, 2020 in Linux / Unix by backtothefuture (552k points) | 612 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