Skip to content

Instantly share code, notes, and snippets.

@eng
Last active August 29, 2015 13:57

Revisions

  1. eng revised this gist Mar 12, 2014. 1 changed file with 13 additions and 3 deletions.
    16 changes: 13 additions & 3 deletions TSLDevOps.md
    Original file line number Diff line number Diff line change
    @@ -18,22 +18,32 @@ git clone https://github.com/eng/jeffs-store.git

    And finally, cd into the jeffs-store directory you just created and:

    vagrant up

    ```bash
    vagrant up
    ```

    When this is done, you might get this message:

    ```bash
    stdin: is not a tty
    ```

    No worries – this is normal.

    Next, SSH into the virtual machine you just created by issuing this command:

    ```bash
    vagrant ssh
    ```

    Then, copy-and-paste the following long command and hit Enter:

    ```bash
    sudo apt-get update && sudo env DEBIAN_FRONTEND=noninteractive apt-get upgrade --force-yes -qyu
    ```

    Finally, type "exit" to end the SSH session and get back to your machine.

    Let me know if you run into issues or have any questions.
    ```bash
    exit
    ```
  2. eng revised this gist Mar 12, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions TSLDevOps.md
    Original file line number Diff line number Diff line change
    @@ -18,8 +18,8 @@ git clone https://github.com/eng/jeffs-store.git

    And finally, cd into the jeffs-store directory you just created and:

    vagrant up

    vagrant up
    When this is done, you might get this message:

    stdin: is not a tty
  3. eng revised this gist Mar 12, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions TSLDevOps.md
    Original file line number Diff line number Diff line change
    @@ -4,13 +4,17 @@ There are just a couple of things you'll have to do in advance, in order to get

    Once VirtualBox and Vagrant are installed, issue the following commands from Terminal:

    ```bash
    vagrant box add precise32 http://files.vagrantup.com/precise32.box
    ```

    This command will download a virtual machine that will take about 1GB of disk space in total, so make sure you've got plenty of space and go grab lunch while you do this!

    Once this is done, grab the project we'll be deploying:

    ```bash
    git clone https://github.com/eng/jeffs-store.git
    ```

    And finally, cd into the jeffs-store directory you just created and:

  4. eng created this gist Mar 12, 2014.
    35 changes: 35 additions & 0 deletions TSLDevOps.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    There are just a couple of things you'll have to do in advance, in order to get your environment ready to be able to follow along. This takes about 30 minutes (of mostly waiting) so be sure to carve out some time to do this.

    **VirtualBox** and **Vagrant** are two tools that we'll be using to emulate a production environment on your local machine. Install the latest version of VirtualBox from https://www.virtualbox.org/wiki/Downloads. Install Vagrant from http://www.vagrantup.com/downloads.html.

    Once VirtualBox and Vagrant are installed, issue the following commands from Terminal:

    vagrant box add precise32 http://files.vagrantup.com/precise32.box

    This command will download a virtual machine that will take about 1GB of disk space in total, so make sure you've got plenty of space and go grab lunch while you do this!

    Once this is done, grab the project we'll be deploying:

    git clone https://github.com/eng/jeffs-store.git

    And finally, cd into the jeffs-store directory you just created and:

    vagrant up

    When this is done, you might get this message:

    stdin: is not a tty

    No worries – this is normal.

    Next, SSH into the virtual machine you just created by issuing this command:

    vagrant ssh

    Then, copy-and-paste the following long command and hit Enter:

    sudo apt-get update && sudo env DEBIAN_FRONTEND=noninteractive apt-get upgrade --force-yes -qyu

    Finally, type "exit" to end the SSH session and get back to your machine.

    Let me know if you run into issues or have any questions.