banner



How To Install Xampp In Centos Using Command

Introduction

The XAMPP stack is a platform that developers use as a local host, giving them a suitable environment for testing software and webpages before transferring data to remote servers.

Equally an open-source Apache distribution of a PHP development surroundings, it consists of cantankerous-platform software (X): Apache (A), MariaDB (Chiliad), PHP (P) and Perl (P).

Acquire how to install XAMPP on your CentOS organization, how to verify the installation and uninstall the XAMPP package.

For Ubuntu systems, refer to our guide on installing XAMPP on Ubuntu xviii.04.

tutorial guide on installing the xampp stack on centos

Prerequisites

  • CentOS operating organization
  • A user with sudo privileges
  • Access to a terminal/command line

six Steps For Installing XAMPP On CentOS

Stride 1: Download XAMPP Package

one. Commencement by downloading XAMPP from the official Apache Friends webpage.

2. Find and click on the XAMPP for Linux button on the homepage. Save the file on your CentOS system.

downloading xampp for linux from apache friends

Step 2: Give the Package Executive Permission

Before y'all tin can run the installation procedure, you need to modify the file permission and brand it executable.

i. Open up the terminal (Ctrl+Alt+F2) and alter the directory to the Downloads folder where the XAMPP package is located:

          cd Downloads        
move to downloads directory in centos

2. Use the chmod command to make the file executable with the post-obit command:

          chmod +x [package_name]        

To notice the total package name, navigate to the Downloads folder where you downloaded the XAMPP installation packet. Copy and paste the name into the command above.

xampp package in downloads folder

To make the latest XAMPP installation bundle executable, enter the command:

          sudo chmod +x xampp-linux-x64-seven.iii.viii-two-installer.run        
example of making xampp package executable

Carry in mind the terminal won't requite any output confirming y'all accept successfully performed the previous step.

Stride 3: Run the Installation Sorcerer

i. Next, run the installer and launch the graphical setup wizard with the command:

          sudo ./[package_name]        

For the latest XAMPP stack available, use the control:

          sudo ./xampp-linux-x64-7.three.8-2-installer.run        
run xampp installation wizard

2. When prompted, supply the countersign to verify the control.

three. A new XAMPP Setup Magician window volition open up, on top of the terminal:

xampp setup wizard

Footstep iv: Install XAMPP on CentOS

Afterward the XAMPP welcome screen opens, proceed through the installation configuration.

1. Click on the Next button. In the following Select Components dialogue, decide which components to install. We recommend keeping the default settings and continuing with Next.

setup select components

2. Then, the wizard displays the directory where the software will be installed. To proceed, click Next.

setup of the installation directory

3. The package offers to install sponsored applications (WordPress, Joomla, Drupal, and others) on top of the XAMPP installation. You can opt-out of installing boosted software by unchecking the Learn more than nigh Bitnami for XAMPP box.

setting up bitnami for xampp

4. Once everything is set, the wizard prompts ready to install XAMPP on your CentOS. Click on Side by side to launch installation.

screenshot showing ready to install

5. The installation process starts and a dialogue box displaying the progress bar will announced on your screen.

installing xampp stack

6. Complete the process by clicking on Stop.

xampp installation is sucessfull

Step 5: Launch XAMPP

XAMPP will launch its control panel. Open up the Manage Servers tab to come across the available services and bank check their status.

xampp control panel with manage servers tag selected

In it, you lot volition encounter the MySQL Database, ProFTPD, and Apache Web Server.In the instance below, 2 out of three of the servers aren't running.

Select a server and click on Start to enable it.

To bank check whether you accept successfully ready the stack, ability all the bachelor servers.

change server status

Step 6: Verify XAMPP is Running

Make certain XAMPP stack running smoothly on your CentOS system in the following two steps.

1. Enter the following URL in a browser to check if the localhost is working:

          http://localhost/dashboard        

If the XAMPP dashboard page appears, y'all have successfully installed the stack.

xampp dashboard

2. Verify MariaDB service is running, by opening the URL:

          http://localhost/phpmyadmin        

The phpMyAdmin homepage will display as in the image below:

phpmyadmin dashboard with general setting and apperance

One time the XAMPP installation is consummate, using the XAMPP control panel y'all can start and terminate each module for testing purposes. For case, when testing PHP applications, you tin can beginning the two modules Apache and MySQL allowing PHP programs to run on your figurer.

This XAMPP software emulates a remote-server-like surroundings, so when you lot demand to exam applications often, to ready bugs, information technology allows yous to speed upward your development procedure.

How to Uninstall XAMPP

ane. To uninstall the XAMPP stack, return to the final (Ctrl+Alt+F2) and move to the opt/lampp directory by typing:

          cd /opt/lampp        

2. Adjacent, utilize the following command to uninstall XAMPP:

          sudo ./uninstall        

3. A dialogue box will appear asking you whether y'all desire to remove XAMPP and all of its modules. Click on Yes to ostend.

confirming yes when uninstalling xampp stack

Lastly, the output will prove y'all: Uninstallation completed.

uninstallation completed pop up box

4. Finally, remove the specified directory with:

          sudo rm –r /opt/lamp        

Conclusion

This article has shown y'all how to successfully install the XAMPP stack on a CentOS organisation. You also learned how to launch XAMMP, verify installation and uninstall XAMPP.

You can as well explore similar alternatives such as the LAMP stack or the Mean stack.

Was this article helpful?

Yes No

Source: https://phoenixnap.com/kb/how-to-install-xampp-centos

Posted by: tanexpon1976.blogspot.com

0 Response to "How To Install Xampp In Centos Using Command"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel