What is XAMPP?
XAMPP (Cross-platform, Apache, MariaDB/MySQL, PHP & Perl) is a bundle consisting of Apache Web Server, MariaDB, PHP and Perl packages which is free and open-source stack developed by Apache Friends. In a LAMP installation we need to install every package individually whereas in a XAMPP installation, when need to install one single software package and it is much more easier than installing LAMP Stack.
Why should you use XAMPP ?
XAMPP is the complete application stack, if you want to create a website using popular CMS (Content Management System) application like WordPress, Drupal, Joomla on your local system and test themes, plugins and learn CMS development. Normally, we have seen that XAMPP is widely use in Windows OS, but same can be install on Linux as well. Most all distributions of Linux are supported including Debian, RedHat, CentOS, Ubuntu, Fedora, Gentoo, Arch, SUSE. Through this you can deploy, install and test the system before uploading in Live system. In this article, we are going to see the installation of XAMPP Stack on Linux.
Steps to install XAMPP on Linux
Step 2: Make package executable using below command.
Once package is downloaded. Open Terminal, or use ‘Ctrl, Alt+T’ keys to lunch command prompt. Go to the Downloads directory and execute command below to make a package executable.
$ sudo chmod +x xampp-linux-x64-7.4.6-0-installer.run
Step 3: Lunch the Setup
Graphical Installer will appear after executing command below.
$ sudo ./xampp-linux-x64-7.4.6-0-installer.run
Step 4: Setup wizard will lunch, click “Next” to continue.
Step 5: Installation Directory, by default XAMPP will install ‘/opt/lampp’ and click on “Next”.
Step 6: Below window gives option to install sponsored applications like Drupal, Joomla, WordPress. You can ignore it and tick off ‘Learn more about Bitnami for XAMPP’
Step 7: Installer is ready to begin XAMPP installation, click on ‘Next’ to begin installation.
Step 8: Installation started.
Step 9: Installation is complete.
Installation is complete, tick off “Lunch XAMPP” now and click “Next” button.
Note: Depending on your operating system, installation screen may vary from the screenshots shown above during installation.
Step 10: Start XAMPP manually.
There two ways to start XAMPP Server.
1. Go to the installation path ‘/opt/lampp’ and execute command below.
$ sudo ./manager-linux-x64.run
Go to manage servers tab and Click on “Start All” button.
Below screenshots shows the running stat of services.
2. Start XAMPP from terminal (command prompt). Go to the installation path ‘/opt/lampp’ and execute command below.
While starting, you may encounter below errror message.
$ cd /opt/lampp
$ sudo ./lampp start
2: Following message stats that XAMPP application is uninstalled from your system.
Also manually remove installation directory, sub-directory and files.
$ sudo rm -rf /opt/lampp
Conclusion: In this tutorial, we have done installation of XAMPP on Linux. Big thanks for reading all the way to the end. Please share it with Your Friends & Help Someone… and also Like Our Facebook Page. Let me hear your thoughts in the comments below!