1. Download a copy of an XAMPP Linux version from the site Download XAMPP . For example, we can download the file
https://www.apachefriends.org/xampp-files/5.5.35/xampp-linux-x64-5.5.35-0-installer.run
2. Run cd command to go to your directory and execute the installation file:
sudo chmod +x xampp-linux-x64-5.5.35-0-installer.run
sudo ./xampp-linux-x64-5.5.35-0-installer.run
We will see a newly generated pop-up window. Just click the Next button and uncheck the “Learn more about BitNami for XAMPP” checkbox. We'll install the XAMPP and run it.
To stop the XAMPP, we can:
sudo /opt/lampp/lampp stop
To strat the XAMPP, we can:sudo /opt/lampp/lampp start
We can try the url http://localhost from our browser to see the page on our server.
And then one important thing to do- set the Security settings:
sudo /opt/lampp/lampp security
Always say yes by pressing Enter key and key in our password.References:
1. How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop
2. Setting Security for XAMPP
沒有留言:
張貼留言