Skip to content

Instantly share code, notes, and snippets.

@arrowrowe
Last active September 12, 2015 07:59
Show Gist options
  • Select an option

  • Save arrowrowe/1b24b55ee4e97e46620f to your computer and use it in GitHub Desktop.

Select an option

Save arrowrowe/1b24b55ee4e97e46620f to your computer and use it in GitHub Desktop.

Revisions

  1. arrowrowe revised this gist Sep 12, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ubuntu.init
    Original file line number Diff line number Diff line change
    @@ -14,5 +14,6 @@ sudo apt-get -y install nginx
    #### Node ###############################
    sudo apt-get -y install build-essential libssl-dev
    wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.26.1/install.sh | bash
    printf "\nexport NVM_DIR=\"$NVM_DIR\"\n[ -s \"\$NVM_DIR/nvm.sh\" ] && . \"\$NVM_DIR/nvm.sh\" # This loads nvm\n\n" >> ~/.zshrc
    . ~/.bashrc
    nvm install v4.0.0
  2. arrowrowe revised this gist Sep 12, 2015. 1 changed file with 7 additions and 2 deletions.
    9 changes: 7 additions & 2 deletions ubuntu.init
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,15 @@
    sudo apt-get update

    #### Oh My ZSH ##########################
    sudo apt-get -y install ZSH
    sudo apt-get -y install git-core
    sudo apt-get -y install zsh git-core
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    chsh -s `which zsh`

    #### Nginx ##############################
    sudo apt-get -y install nginx

    #### Node ###############################
    sudo apt-get -y install build-essential libssl-dev
    wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.26.1/install.sh | bash
    . ~/.bashrc
    nvm install v4.0.0
  3. arrowrowe revised this gist Sep 12, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ubuntu.init
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,10 @@
    sudo apt-get update

    #### Oh My ZSH ##########################
    sudo apt-get install ZSH
    sudo apt-get install git-core
    sudo apt-get -y install ZSH
    sudo apt-get -y install git-core
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    chsh -s `which zsh`

    #### Nginx ##############################
    sudo apt-get install nginx
    sudo apt-get -y install nginx
  4. arrowrowe created this gist Sep 12, 2015.
    13 changes: 13 additions & 0 deletions ubuntu.init
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/bin/bash

    #### Necessary Update ###################
    sudo apt-get update

    #### Oh My ZSH ##########################
    sudo apt-get install ZSH
    sudo apt-get install git-core
    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
    chsh -s `which zsh`

    #### Nginx ##############################
    sudo apt-get install nginx