This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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)` |