Shell Script to setup WordPress and LEMP stack on Ubuntu
- Clone or Download the project from https://github.com/shaharao/wordpress-setup.git
- Navigate to the project directory.
- Enter the required nginx configuration for the site in the
nginx.conf
file. - Execute the script using the command
./wpsetup.sh
. - If no error occurs, your site can be accessed in the browser by entering your domain name.
Note: The script is by default executable. If problem occurs while executing the script, make the filewpsetup.sh
executable by using the commandchmod +x wpsetup.sh
.
Tested on a Ubuntu 17.04 VM and AWS EC2 instance, works fine. But a lot of enhancement are to be done.