diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-09-02 22:11:30 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-09-02 22:11:30 -0700 |
commit | 6ec909cfd038c8b6510d14144b28425c599fc1bd (patch) | |
tree | e36ecaa971a2391f99e116967f7031338662482c | |
parent | 734a5b7d02aa5fa30db39aefb5df81d1ec25ca7e (diff) | |
parent | cc137bba7905790347418f184c6b02d01af3e225 (diff) | |
download | gitlab-ce-6ec909cfd038c8b6510d14144b28425c599fc1bd.tar.gz |
Merge pull request #1356 from dosire/non-interactive-aws-install
Update the references to the script and refer to it from the installation manual.
-rw-r--r-- | doc/installation.md | 6 | ||||
-rw-r--r-- | lib/support/aws/debian_ubuntu_aws.sh | 7 |
2 files changed, 8 insertions, 5 deletions
diff --git a/doc/installation.md b/doc/installation.md index efed21f0b28..4cb873f0e38 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -51,6 +51,12 @@ Also read the [Read this before you submit an issue](https://github.com/gitlabhq > curl https://raw.github.com/gitlabhq/gitlabhq/master/doc/debian_ubuntu.sh | sh > > Now you can go to step 4" +> +> Or if you are installing on Amazon Web Services using Ubuntu 12.04 you can do all steps (1 to 6) at once with: +> +> curl https://raw.github.com/gitlabhq/gitlabhq/master/lib/support/aws/debian_ubuntu_aws.sh | sh +> +> for more detailed instructions read the HOWTO section of [the script](https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/aws/debian_ubuntu_aws.sh) > - - - # 1. Install packages diff --git a/lib/support/aws/debian_ubuntu_aws.sh b/lib/support/aws/debian_ubuntu_aws.sh index 962ee008082..c4103ec9195 100644 --- a/lib/support/aws/debian_ubuntu_aws.sh +++ b/lib/support/aws/debian_ubuntu_aws.sh @@ -6,9 +6,6 @@ # This script only works on Amazon Web Services (AWS). # The operating system used is Ubuntu 12.04 64bit. -# TODO -# @dosire will send a pull request after this is merged in to change dosire/gitlabhq/non-interactive-aws-install links to gitlabhq/gitlabhq/master and reference this script from installation.md - # HOWTO # Signup for AWS, free tier are available at http://aws.amazon.com/free/ # Go to EC2 tab in the AWS console EC2 https://console.aws.amazon.com/ec2/home @@ -33,7 +30,7 @@ # Give the following command in your local terminal while suptituting the UPPERCASE items # 'ssh -i LOCATION_OF_AWS_KEY_PAIR_PRIVATE_KEY PUBLIC_DNS_OF_THE_NEW_SERVER' # Execute the curl command below and when its ready follow the printed 'Log in instuctions' -# curl https://raw.github.com/dosire/gitlabhq/non-interactive-aws-install/lib/support/aws/debian_ubuntu_aws.sh | sh +# curl https://raw.github.com/gitlabhq/gitlabhq/master/lib/support/aws/debian_ubuntu_aws.sh | sh # Prevent fingerprint prompt for localhost in step 1 to 3. echo "Host localhost @@ -41,7 +38,7 @@ echo "Host localhost UserKnownHostsFile=/dev/null" | sudo tee -a /etc/ssh/ssh_config # Existing script for Step 1 to 3 -curl https://raw.github.com/dosire/gitlabhq/non-interactive-aws-install/doc/debian_ubuntu.sh | sh +curl https://raw.github.com/gitlabhq/gitlabhq/master/doc/debian_ubuntu.sh | sh # Install MySQL sudo apt-get install -y makepasswd # Needed to create a unique password non-interactively. |