How to Install XAMPP on FunOS

XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends. It provides an easy-to-install environment with Apache, MariaDB, PHP, and Perl, making it an excellent choice for developers who need a local server for testing applications. This guide will show you step-by-step how to install, manage, and uninstall XAMPP on FunOS.

What is XAMPP?

XAMPP is a fully open-source and cross-platform web server solution stack package designed to make the web server setup process simple. It includes Apache, MariaDB, PHP, and Perl, providing all the necessary components to run a web server locally. XAMPP is ideal for local development, testing, and learning about server management.

How to Install XAMPP on FunOS

Step 1: Download the XAMPP Installer File

Visit the XAMPP download page. Download the latest XAMPP version for Linux (64-bit).

Click the Download (64 bit) button next to the latest release.

xampp download page
XAMPP download page

Step 2: Open a Terminal

To proceed with the installation, open a Terminal in FunOS. You can do this in one of the following ways:

  • Click Menu in the bottom left corner, then select Terminal.
  • Click the Terminal icon in the tray.
  • Use the keyboard shortcut Ctrl + Alt + T.

Step 3: Update the Package List

To ensure you’re working with the latest packages, run:

sudo apt update

Step 4: Install the Necessary Package

XAMPP requires net-tools to operate. Install it by running:

sudo apt install net-tools

Step 5: Navigate to the Downloads Directory

Change the directory to where the XAMPP installer file was downloaded:

cd ~/Downloads

Step 6: Change the Permissions of the Installer

To make the installer executable, modify its permissions:

chmod 755 xampp-linux-*-installer.run

Step 7: Run the Installer

Execute the installer with the following command:

sudo ./xampp-linux-*-installer.run

Follow the on-screen instructions.

Click Forward.

click forward
Click Forward

Click Forward.

click forward
Click Forward

Click Forward.

click forward
Click Forward

Click Forward.

click forward
Click Forward

Uncheck Launch XAMPP, then click Finish.

uncheck launch xampp then click finish
Uncheck Launch XAMPP then click Finish

Step 8: Remove the Downloaded XAMPP Installer File

After installation, you can delete the installer file to save space:

rm -f xampp-linux-*-installer.run

Managing XAMPP

You can manage XAMPP in FunOS through both CLI and GUI options.

1. Via CLI

To start XAMPP:

sudo /opt/lampp/lampp start

To stop XAMPP:

sudo /opt/lampp/lampp stop

2. Via Graphical Tool

Open the XAMPP Manager by running:

sudo /opt/lampp/manager-linux-x64.run
xampp graphical tool
XAMPP graphical tool

Start XAMPP by clicking Start All.

Stop XAMPP by clicking Stop All.

Verifying XAMPP

To confirm XAMPP is running, open a web browser and go to:

http://localhost

If XAMPP is functioning correctly, you will see the XAMPP start page:

xampp start page
XAMPP start page

How to Uninstall XAMPP on FunOS

Step 1: Open a Terminal

Open a terminal by following the steps in the Open a Terminal section above.

Step 2: Run the Uninstaller

Execute the following command to uninstall XAMPP:

sudo /opt/lampp/uninstall

Click Yes.

click yes
Click Yes

Click OK.

click ok
Click OK

Step 3: Remove the XAMPP Directory

To delete all remaining XAMPP files, run:

sudo rm -rf /opt/lampp

Conclusion

Installing XAMPP on FunOS provides a convenient and comprehensive local development environment. You now know how to install, manage, and uninstall XAMPP, allowing you to focus on developing and testing your applications locally.

Leave a Reply

Your email address will not be published. Required fields are marked *