Install XAMPP on Ubuntu

Posted in Notes on 7 July 2024

To use XAMPP on Ubuntu, begin by downloading the XAMPP installer for Linux from the Apache Friends website.

Once downloaded, open a terminal, navigate to the download directory, and make the installer executable by running chmod +x xampp-linux-x64-installer.run, adjusting the filename if necessary. Next, execute the installer using sudo ./xampp-linux-x64-installer.run and follow the on-screen instructions to complete the installation.

  • See also:

Install Steps

To install XAMPP on Ubuntu, you can follow these steps:

  1. Download XAMPP: Visit the official XAMPP website and download the Linux version of XAMPP. Choose the version that suits your needs.

  2. Open a Terminal: You can open a terminal by pressing Ctrl + Alt + T or searching for “Terminal” in the Ubuntu Dash.

  3. Navigate to the Downloads directory: Use the cd command to navigate to the directory where the downloaded file is located. For example:
    cd ~/Downloads
    
  4. Give execute permission to the installer: Run the following command to give execute permission to the downloaded installer:
    chmod +x filename.run
    

    Replace filename.run with the actual name of the downloaded file.

  5. Run the installer: Execute the XAMPP installer using the following command:
    ./filename.run
    

    Again, replace filename.run with the actual name of the downloaded file.

  6. Follow the installation wizard: The XAMPP installation wizard will guide you through the installation process. You’ll be prompted to choose the components you want to install. You can select Apache, MySQL, PHP, and other components based on your requirements.

  7. Choose installation directory: Specify the directory where you want to install XAMPP. The default directory is often /opt/lampp.

  8. Complete the installation: Follow the on-screen instructions to complete the installation. The installer will set up the selected components and create shortcuts.

  9. Start XAMPP: After the installation is complete, you can start XAMPP by running the following command in the terminal:
    sudo /opt/lampp/lampp start
    

    This will start the Apache web server and MySQL database.

  10. Access the XAMPP Control Panel: Open your web browser and go to http://localhost or http://127.0.0.1. You should see the XAMPP welcome page.

  11. Access phpMyAdmin: To access phpMyAdmin, go to http://localhost/phpmyadmin in your web browser. Here, you can manage your MySQL databases.

You should now have XAMPP installed and running on your Ubuntu system. You can use the instructions here to run XAMPP on Ubuntu.

Related Notes

December 2024

Simple Analytics: A privacy-focused alternative to Google Analytics

In an era where digital privacy concerns are at the forefront of online discourse, many organisations are reassessing their tools to ensure compliance with data...

Continue reading

November 2024

Simple steps to protect your privacy online

In today’s digital world, protecting your privacy online has become essential. With personal data constantly being shared, stored, and potentially accessed by unauthorised parties, safeguarding...

Continue reading

November 2024

Introduction to Bluesky

Making the most of Bluesky after coming from whatever Twitter (𝕏) has become involves exploring the platform's unique features, adapting to its smaller, community-driven culture,...

Continue reading

November 2024

Web application security testing

With the increasing dependency on web applications in daily operations, securing these applications is paramount to safeguarding data and protecting against breaches. This blog post...

Continue reading

October 2024

Cookieless website tracking and analytics

Cookieless website tracking is a method of collecting analytics data and monitoring website behaviour without the need for traditional browser cookies. Traditionally, cookies have been...

Continue reading

October 2024

What's going on between WordPress and WP Engine?

The disagreement between WordPress and WP Engine has sparked considerable debate within the WordPress community and could have important implications for users of the WordPress...

Continue reading

More Notes Posts