How to Use XAMPP on Linux

Windows Articles

Learn how to control the volume of Windows using the mouse wheel.

Hi! Windows recently celebrated its 35th anniversary. Therefore, it is one of the longest lasting and most used systems currently. On the other hand,...

Install Nim programming language on Ubuntu 20.04 / Debian 10

Nowadays, almost everything is done with the help of a computer and a program. And the programs are made through a programming language. That...

Configure Samba File share Services with Ubuntu 20.04 LTS

Here, Today! let's discuss samba file share service with Ubuntu 20.04 LTS. If you need to share files between Linux and MS Windows...

Install Matomo on Ubuntu 20.04

Hello, friends. In this post, you will learn how to install Matomo on Ubuntu 20.04. It's quite useful to measure the traffic to our...

How to change DNS in Windows 10

Hi! Today we will talk a bit about networks. In fact, we will touch on a topic related to connectivity. Specifically we will see...
Mel Khamlichi
Mel Khamlichihttp://www.osradar.com
Founder of Osradar, from Amsterdam Netherlands

For any web developer, having a server is a must for developing a website or web pages and test them out if those works. However, setting up a full-size server instantly isn’t something that everyone can do. In fact, the process is pretty difficult and time-consuming at the same time. That’s why there’s an app that web devs love to use for all their projects – XAMPP.

XAMPP is a collection of various server tools – Apache HTTP server, MariaDB, PHP, and Perl. It’s also available on all the major platforms. The software is also maintained and upgraded regularly by Apache Friends, making it suitable for all types of web projects.

Today, let’s take a look at installing XAMPP on Linux.

Downloading XAMPP

XAMPP is available for Linux, Windows, and macOS. As we’re on Linux, we have to download the Linux installation package.

Go to Apache Friends download page. There, you’ll find out the proper download – an executable RUN file. Note that the program is no longer available in 32-bit, at least, for the latest versions. If you’re using a 32-bit, old schooled system, you should get XAMPP v7.0.8.

Here, I’m downloading the latest version (at the time of posting this post) – XAMPP 7.2.6.

Installing XAMPP

After you’ve downloaded the file, it’s time to install the program.

Assuming that the download is in “~/Downloads” folder,

cd ~/Downloads
sudo chmod +x xampp-linux-x64-7.2.6-0-installer.run

sudo ./xampp-linux-x64-7.2.6-0-installer.run

Voila! XAMPP is installed in your system!

Now, for easy enjoying XAMPP easily, edit “~/.bashrc”:

sudo nano ~/.bashrc

And add the following line at the end of the file:

alias xampp='cd /opt/lampp && sudo ./manager-linux-x64.run'

Reload the file into terminal:

source ~/.bashrc

Now, every time you run the command “xampp” on the terminal, it’ll open the XAMPP control window.

Note that XAMPP is installed in “/opt/lamp” directory, so you have to perform all the changes in that folder.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

Learn how to control the volume of Windows using the mouse wheel.

Hi! Windows recently celebrated its 35th anniversary. Therefore, it is one of the longest lasting and most used systems currently. On the other hand,...

Install Nim programming language on Ubuntu 20.04 / Debian 10

Nowadays, almost everything is done with the help of a computer and a program. And the programs are made through a programming language. That...

Configure Samba File share Services with Ubuntu 20.04 LTS

Here, Today! let's discuss samba file share service with Ubuntu 20.04 LTS. If you need to share files between Linux and MS Windows...

Install Matomo on Ubuntu 20.04

Hello, friends. In this post, you will learn how to install Matomo on Ubuntu 20.04. It's quite useful to measure the traffic to our...

How to change DNS in Windows 10

Hi! Today we will talk a bit about networks. In fact, we will touch on a topic related to connectivity. Specifically we will see...
x