Configuration file : /etc/nginx/sites-enabled/hostname
Root Directory : /usr/share/nginx/hostname
(Where hostname may be ubuntu.example.com, linux.example.com)
database-user : root database-password : provided by user database-name : Provided by user
For root user
Usage:
bash wordpress.sh ./wordpress.sh
For normal user
Usage:
sudo bash wordpress.sh sudo ./wordpress.sh
* Please make sure no other installations are running.
* Make sure Internet is up and running.
* Make sure apache2 service is not running. apache2 and nginx service may conflict.
* Choose a new database name for wordpress. Do not use existing one.