This file contains 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/sh | |
# This is how I install apache + php + mysql + wordpress to get up and running in less than 1 minute | |
# this works for an Amazon AMI instance. Other distros migh need changes to this script | |
# You can put this script to run when creating an instance at AWS Console. Once machine is up, everything is set up | |
_SITE_URL_='site.example.com' # note that there's no protocol in the URL here | |
_DB_ROOT_PASS_='ReallyStrongDatabaseRootPassword' | |
_DB_USER_='MySQLUserAllowedToAccessFromOutside' | |
_DB_USERPASS_='CreatedMySQLUsersPassword' |
This file contains 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 | |
# By Ed Wiget; | |
# Modified by Rafael Cintra (artnic) | |
# This run via cron whenever my ip address changes in order to update aws security group | |
# Or you can put it before accessing anything restricted | |
# 20131120 - original script | |
# 20150325 - artnic custom; pointing to bitsforest ;) |