1.
I want to create the password file /var/www/www.example.com/.htpasswd now and store the user falko in it (you can give the password file any name you like - it's not necessary to name it .htpasswd; I just named it .htpasswd because that's the way password files are named under Apache):
htpasswd -c /etc/nginx/.htpasswd-users admin
2.
How to install PHP GB on Ubuntu using apt-get, specifically php5-gd.
To install PHP GD on Ubuntu enter the following command:
sudo apt-get install php5-gd
If your web server setup is in order, only install the php gd extension and restart php scripting interpreter and web server.
service php5-fpm restart
3.
To install MySQL, run the following command from a terminal prompt: