XAMPP
Installation
Download from https://www.apachefriends.org/download.html
_$: wget http://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-5-installer.run
_$: sudo mv xampp-linux-x64-1.8.3-5-installer.run /opt/
_$: chmod +x xampp-linux-x64-1.8.3-5-installer.run
_$: sudo ./xampp-linux-x64-1.8.3-5-installer.run
Run
GUI:
_$: cd /opt/lampp
_$: sudo ./manager-linux-x64.run
Command line:
_$: cd /opt/lampp
_$: sudo ./xampp start
If nginx is running, we have to stop it:
_$: sudo service nginx stop
Ditto for MySQL:
_$: sudo service mysql stop
Check
Go to http://localhost/xampp/index.php and check it is actually running.
Create a web page
_$: cd /opt/lampp/htdocs
_$: sudo mkdir test
_$: sudo echo "OK" > test/index.html
Go to http://localhost/test and check the word OK
appears on it.
Default passwords
MySQL
- user:
root
- password:
<empty>
phpMyAdmin
- user:
pma
- password:
<empty>
ProFTPd
- user:
daemon
- password:
xampp