WordPress auto install bash script for VestaCP
Posted: Fri Dec 08, 2017 4:24 pm
Me and dpeca wrote a simple bash script which will enable you to easily install WordPress via bash for any domain hosted by VestaCP
Installing:
Usage:
Email argument is optional.
The script will automatically install SSL certificate for the domain.
A script is using always the latest version of WP-CLI.
When it's done you'll see something like:
NOTE: INTENDED ONLY TO BE RUN ON FRESHLY ADDED DOMAINS, OTHERWISE WILL REMOVE EVERYTHING FROM SPECIFIED DOMAINS PUBLIC_HTML FOLDER
Github: https://github.com/lukapaunovic/create_wp/
Installing:
Code: Select all
wget https://raw.githubusercontent.com/lukapaunovic/create_wp/master/create_wp.sh && chmod +x create_wp.sh && mv create_wp.sh /usr/local/bin/create_wp
Code: Select all
usage: create_wp domain [email]
The script will automatically install SSL certificate for the domain.
A script is using always the latest version of WP-CLI.
When it's done you'll see something like:
As the script always runs as the specified user, permissions and file ownership will remain correct. Also, it's 100% safe to use.=================================================================
Installation is complete. Your username/password is listed below.
Username: admin
Password: As4&3sG
=================================================================
NOTE: INTENDED ONLY TO BE RUN ON FRESHLY ADDED DOMAINS, OTHERWISE WILL REMOVE EVERYTHING FROM SPECIFIED DOMAINS PUBLIC_HTML FOLDER
Github: https://github.com/lukapaunovic/create_wp/