Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b013a0e
commit 63ee648
Showing
3 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
#!/bin/bash | |||
|
|||
# This script is meant to install all the components needed to install the methodscript.com site | |||
# on a brand new server. There are a few assumptions that are made, if this script is to be run without | |||
# problems. | |||
# 1. This will be installed on a fresh server in the AWS cloud | |||
# 2. This script will be run as root. | |||
# 3. Nothing else is present on the server, and only ephemeral data will be stored on this server | |||
# If any of these assumptions are incorrect, then the "install" option must not be specified in the deploy | |||
# command | |||
|
|||
# Don't break stuff | |||
set -e | |||
|
|||
# Update the server | |||
apt-get update | |||
apt-get upgrade | |||
|
|||
# Install apache | |||
apt-get install apache2 | |||
|