A simple script used to download and install WordPress.
This script requires WP CLI and OpenSSL.
- Move the
wpi.sh
file into the/usr/local/bin
directory - Remove the
.sh
extension - Make the file executable using the
chmod +x /usr/local/bin/wpi
command
You can do all of the above with this command: mv wpi.sh /usr/local/bin/wpi; chmod +x /usr/local/bin/wpi
.
Run wpi site-name site-title admin-user admin-password admin-email
.