mercoledì 30 luglio 2014

PHP and MySQL on RaspberryPi


Install PHP and apache library.
sudo apt-get install php5 libapache2-mod-php5


Install MySQL server, client and php library.
sudo apt-get install mysql-server mysql-client php5-mysql
It will ask you a root password during the installation wizard. Remember it!

MySQL admin page

To easy manage the DB download "phpMyAdmin" from its site and extract it in /var/www/admin folder.

Restart the raspi.

Now you can control the DB from http://your.address/admin with MySQL root user and password. 

Nessun commento:

Posta un commento