This script will setup a WordPress
In this assigment we are setup WordPress using automation script
bash setup.sh [OPTIONS]...
This will print Help.
bash setup.sh --help[-h]
Answer the questions as below
Enter the domain name and press [ENTER]: example.com
Do you need to setup new MySQL database? (y/n) y
MySQL Admin User: root
MySQL Admin Password:
MySQL Host (Enter for default 'localhost'):
WP Database Table Prefix [numbers, letters, and underscores only] (Enter for default 'wp_'):
At the end see the information as below
Visit the site at example.com
WordPress Database name: examplecom_db
WordPress Database user: wp_user
WordPress Database password: wp_pass