Skip to content

Instantly share code, notes, and snippets.

@dimaguy
dimaguy / wp.sh
Last active August 2, 2018 22:30 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script -- Downloads latest WP version AND it's dependencies(unlike the others), updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then it does NOT deletes itself(unlike the others), because so it can be re-u…
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "