first off all you have to download the XAMPP file. from here Choose the linux version. And move the file to home folder
after that extract file to /opt using terminal (you must on root mode)
tar xvfz xampp-linux-1.8.1.tar.gz -C/opt
* xampp-linux-1.8.1.tar.gz file name
Done !!
and after that you can restart your XAMPP service with this code :
/opt/lampp/lampp restart
Ok, your localhost was created.
Go to your browser and open http://localhost/
![]() |
| XAMPP front |
cd /opt/lampp/etc/extra and type nano httpd-xampp.config
you can see the picture bellow
![]() |
| httpd-config.php |
# since XAMPP 1.4.3
<Directory */opt/lampp/phpmyadmin">
.......
......
/Directory>
and add this code Require all granted
like this :
# since XAMPP 1.4.3
AllowOverride AuthConfig Limit
Require all granted
Order allow,deny
Allow from
after that you can restart your server with /opt/lampp/lampp restart
and go to your browser and type http://localhost/phpmyadmin
so you can use MYSQL on your server.
Enjoy !!!



0 comments:
Post a Comment