Skip to content

Instantly share code, notes, and snippets.

Gab GabrielDancause

Block or report user

Report or block GabrielDancause

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wp.sh
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "New site URL: "
read -e url
echo "Your email: "
read -e email
echo "Do you need to setup new MySQL database? (y/n)"
View wp.sh
#!/bin/bash -e
#
# Install Wordpress Script - This script intend to install WP on Ubuntu 14.04 LTS
#
INSTALL_DIR="/var/www/"
dbuser="root"
SALT=`</dev/urandom tr -dc A-Za-z0-9| (head -c $1 > /dev/null 2>&1 || head -c 20)`
You can’t perform that action at this time.