HW08: Automating Wordpress Install due Mon 20 Mar 12:00

In this assignment you will write a substantial script to automate installation of


Write a script called wpinstall that will be invoked as follows:
wpinstall subdomain.mydomain --type=all

Where mydomain is any domain to which you have rights. The subdomain. can be omitted, but if present is any valid subdomain name. There type argument can be one of three values:

If the type argument is omitted then a value of all should be assumed. Your script should do some basic checking of parameters and exit with appropriate error messages if the parameters are absent of malformed.

The script should behave as follows:

Turning In Your Work

When you are finished upload your script as a .txt file into Canvas. Also, leave a comment with the assignment telling me where on your system the script is installed.