XAMPP on Ubuntu

Posted in Notes on 7 July 2020

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 Posts

February 2024

Animated SVGs (Scalable Vector Graphics)

Animated SVGs, Scalable Vector Graphics, are increasingly popular choices for adding dynamic elements to websites. Their scalability, lightweight nature, and flexibility make them attractive options... Continue reading

December 2023

Using Scalable Vector Graphics (SVGs)

Scalable Vector Graphics (SVGs) have revolutionised website design, offering unparalleled flexibility, scalability, and interactivity. As versatile graphic elements, SVGs can enhance the visual appeal and... Continue reading

September 2023

Designing websites for accessibility

In the ever-evolving landscape of web design, the balancing act between accessibility and aesthetic appeal remains a crucial consideration. As the digital realm becomes increasingly... Continue reading

More Notes Posts