
Install Nginx, MySQL and PHP on Raspberry Pi
I selected ‘Nginx’ this time, though I have always used Apache before. Time to get skills sharpened in Nginx!
Installing the bundles of Nginx, PHP and MySql is easy as these commends running
sudo apt-get update
sudo apt-get install nginx
sudo apt-get install mysql-server
sudo mysql_secure_installation
sudo apt-get install php-fpm php-mysql php-pear
During the MySql secure install you can set the MySql root password and should choose to remove other anonymous and test accounts and databases.