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:
-
Download XAMPP: Visit the official XAMPP website and download the Linux version of XAMPP. Choose the version that suits your needs.
-
Open a Terminal: You can open a terminal by pressing
Ctrl + Alt + Tor searching for "Terminal" in the Ubuntu Dash. -
Navigate to the Downloads directory: Use the
cdcommand to navigate to the directory where the downloaded file is located. For example:cd ~/Downloads -
Give execute permission to the installer: Run the following command to give execute permission to the downloaded installer:
chmod +x filename.runReplace
filename.runwith the actual name of the downloaded file. -
Run the installer: Execute the XAMPP installer using the following command:
./filename.runAgain, replace
filename.runwith the actual name of the downloaded file. -
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.
-
Choose installation directory: Specify the directory where you want to install XAMPP. The default directory is often
/opt/lampp. -
Complete the installation: Follow the on-screen instructions to complete the installation. The installer will set up the selected components and create shortcuts.
-
Start XAMPP: After the installation is complete, you can start XAMPP by running the following command in the terminal:
sudo /opt/lampp/lampp startThis will start the Apache web server and MySQL database.
-
Access the XAMPP Control Panel: Open your web browser and go to
http://localhostorhttp://127.0.0.1. You should see the XAMPP welcome page. -
Access phpMyAdmin: To access phpMyAdmin, go to
http://localhost/phpmyadminin 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.
Latest posts
—
Core Web Vitals: Optimisation techniques
Google's Core Web Vitals have become the de facto standard for measuring user experience on the web. For years, developers have focused on the foundational trio: Largest Contentful Paint (LCP),…
Continue reading "Core Web Vitals: Optimisation techniques "
—
Web Safe Fonts: A Quick Explainer for Developers
If you've ever built a website and wondered why your carefully chosen typography looks completely different on someone else's screen, you've encountered the world of web safe fonts. Let's break…
Continue reading "Web Safe Fonts: A Quick Explainer for Developers "
—
Choosing the right content management system
Choosing the right content management system (CMS) is one of the most consequential early decisions when building a website The content management system shapes everything from how editors publish to…
Continue reading "Choosing the right content management system"
—
WYSIWYG or plain-text CMS editing?
Finding the Right Balance for Your CMS UsersWhen configuring a content‑management system (CMS), the choice between a WYSIWYG (What‑You‑See‑Is‑What‑You‑Get) editor and a plain‑text interface has far‑reaching implications for both usability…