XAMPP, an acronym for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P), and Perl (P), is a versatile web server solution that facilitates the development and testing of dynamic web applications. This guide will walk you through the step-by-step process of installing XAMPP on , catering to users across different Linux operating systems. Linux Prerequisites: Kali Linux system Internet connection A non-root user account with sudo privileges Installing XAMPP on Linux: Download the XAMPP installer package: Visit the official XAMPP website to download the appropriate installer for your Linux distribution. https://www.apachefriends.org/download.html Change file permissions: Open the terminal and navigate to the directory containing the downloaded package. Execute the command to make the installer executable. sudo chmod +x xampp-linux-*-installer.run Run the XAMPP installer: Run the installer using the command . sudo ./xampp-linux-*-installer.run Follow the installation wizard: The wizard will guide you through language selection, installation location, and component choices. Start the XAMPP server: After installation, initiate the server with . sudo /opt/lampp/lampp start Verify the installation: Open a web browser and go to to confirm the successful installation by viewing the XAMPP welcome page. http://localhost The default installation directory for XAMPP depends on the operating system: C:\xampp Windows: /Applications/XAMPP/ macOS: /opt/lampp or /usr/local/xampp Linux: To access XAMPP without reinstalling it, you can simply start the XAMPP server. The specific steps for starting the XAMPP server. Linux: Open a terminal window. Navigate to the XAMPP installation directory (e.g., /opt/lampp). Run the following command: sudo /opt/lampp/lampp start Verify that the XAMPP server is running by opening a web browser and navigating to http://localhost. Once the XAMPP server is started, you can access it by navigating to http://localhost in your web browser. You can also access specific XAMPP components by navigating to the following URLs: http://localhost/xampp/ Apache: http://localhost/phpmyadmin/ PHPMyAdmin: http://localhost:3306/ MariaDB: ftp://localhost/ FTP Server: To start XAMPP from the current directory, you can use the following command: ./lampp start This command will start all of the XAMPP components, including Apache, MySQL, and PHP. If you want to start only specific components, you can use the following commands: To start Apache: ./apachectl start To start MySQL: ./mysql.server start To start PHP: ./php-fpm start To start Xampp from the home directory. sudo /opt/lampp/lampp start You can create a custom launcher for the XAMPP start and XAMPP Control Panel on Kali Linux using the following steps: Right-click on the desktop and select "Create Launcher". In the "Create Launcher" window, type the name for your launcher, such as "XAMPP Start" or "XAMPP Control Panel". For the command to start XAMPP, type the following: sudo /opt/lampp/lampp start For the command to open the XAMPP Control Panel, type the following: sudo /opt/lampp/./manager-linux-x64.run Save the launcher. To start XAMPP, double-click the launcher you created. To open the XAMPP Control Panel, double-click the launcher you created. The start launcher will allow you to type your admin password, start XAMPP, and disappear. The XAMPP Control Panel launcher will open the XAMPP Control Panel. I hope this helps!
Share Your Thoughts