Installing XAMPP on CentOS7

How to install XAMPP on CentOS7

Installing XAMPP on CentOS7, In this tutorial we will learn how to install and configuration of XAMPP on your CentOS 7.3 server.

XAMPP, is an open source software that provides users with an out-of-the-box server experience. It is a complex, yet very easy-to-use AMPP (Apache, MySQL, PHP and Perl) distribution that compatible with the Linux, Microsoft Windows and Mac operating systems. The best tool for those who want to install a fully functional web development environment.

This article shows how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. Lets goto step by step installation XAMPP stack on a CentOS 7.3 server.

Prerequisites

  • CentOS 7.3 (Operating system used here)
  • root privileges.

Step 1 : Lets start by ensuring our server is up to date.

# yum clean all

# yum -y update

Once updates are completed, reboot the server

Step 2 : Installing XAMPP on CentOS 7.3.

Now, we can download the script from XAMPP official site and to add the code in a new .run file on your server.

# wget https://www.apachefriends.org/xampp-files/7.1.12/xampp-linux-x64-7.1.12-0-installer.run

Once you downloaded the installed file, run the following command to make XAMPP executable:

# chmod +x xampp-linux-x64-7.1.12-0-installer.run

Now, time to run the script file to install XAMPP and wait until xampp is fully installed:

# ./xampp-linux-x64-7.1.12-0-installer.run

You will get output as follows,

[root@webhostingchennai ~]# ./xampp-linux-x64-7.1.12-0-installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

XAMPP Core Files : Y (Cannot be edited)

XAMPP Developer Files [Y/n] : y

Is the selection above correct? [Y/n]: y

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press [Enter] to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: y

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

Installing
0% ______________ 50% ______________ 100%
#######################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.

Once the process completed, access http://server_ip_address/dashboard/, you will get the default XAMPP page.

Hope, this article helps your need. Please share your valuable comments to improve us.

To Verify the DDOS attack with ‘netstat’ command : Click here

You may also like...

Leave a Reply

Your email address will not be published.