Learn by easy steps

XAMPP Server is a very popular and useful application to develop and test any web application locally. It is a cross-platform and open source software. That means, the code develop by this software works equally in different types of operating systems and you can use this software without any cost. The three main parts of the web application are the web server, database server, and web scripting language. Apache as the web server, MySQL as the database server and PHP as scripting language are included in this single software as a bundle. So you will not require to install these three packages separately if you install this one application. This article will help you to learn how you can install XAMPP server in Ubuntu operating system for developing the web application.

Download XAMPP Server

To download XAMPP Server you have to go the URL, https://www.apachefriends.org/download.html

You can download a different version of XAMPP server based on your operating system and machine configuration. This application is available for 32 bit and 64-bit computer. XAMPP 7.1.4 for 64 bit Linux is downloaded here.

Install XAMPP Server

You have to set execution permission and root privilege to install XAMPP in Ubuntu 17.04. Go to the downloaded folder of XAMPP server and copy the name of the file to avoid typing mistake. Run chmod command to give execution permission and execute the installer with sudo command.

The following dialogue box will appear after running the last command. Click next button multiple times to proceed with the installation.

The following screen will appear in the dialogue box when it will start to copy files to install XAMPP server.

When the installation is approximately going to complete then the following screen will appear.

The last screen of the installer will be looked like the following screen shot.

The following dialogue box will appear after clicking the finish button. Click on the Go to Application button to check XAMPP server is installed properly or not.

The following page will arrive if XAMPP Server will install properly. From this page, you can check all information related to web server, database server, and scripting language. You have to click on the PHPInfo link to get all configuration details.

The following page will arrive when you click on the PHPInfo link. If you scroll the page then you will find all detail information about the local server.

Before starting MySQL server you have to confirm that all the required services are started properly. To start XAMPP server run the following command with root privilege. If XAMPP server is working properly then you will get the following output.

$ sudo /opt/lampp/lampp start

XAMPP server comes with phpMyAdmin interface to create, update and delete the database in MySQL database server. To open the page, type http://localhost/phpmyadmin in your browser address bar. You will get the following page if MySQL server is started and attached properly with Apache server.

By following above simple steps, you can install XAMPP server in Ubuntu operating system for creating a local server and do web development tasks very easily. It is a very good application for the beginner who wants to learn web programming because all necessary contents of web development are bundled together in one application. Web developers are also using this application to implement and test their web applications before publishing in real web hosting account.