Bash Script to Install WordPress Automatically with WP-CLI

A small bash script to install wordpress with wp-cli

I decided to write a small bash script to speed up wordpress installation. This script should work in ubuntu/debian and centos/redhat but with minor changes. I use supervisored, so you need to replace supervisored word from script with what you have (systemctl, etc). In addition I decided to put more ping services (although this slows the site loading speed if you post frequently) for posterity :)

Of course I assume you already have your database with user and pass..



If you encounter problems leave a comment, and we will solve it :)
Last modified: February 11, 2018