Skip to content

Instantly share code, notes, and snippets.

@aaronthorp
Last active September 13, 2017 16:09
Show Gist options
  • Save aaronthorp/9384266 to your computer and use it in GitHub Desktop.
Save aaronthorp/9384266 to your computer and use it in GitHub Desktop.
Ubuntu Server - Meteor.JS Basic Configuration (node/meteor/brew) @aaronthorp

Ubuntu Server - Meteor.JS Basic Configuration

  • Includes Linux Homebrew, Node, Meteor and Meteorite.

To launch, copy and paste the code below into setup.sh, run chmod 777 setup.sh and then type ./setup.sh.

Alternatively...

Just paste curl https://gist.githubusercontent.com/aaronthorp/9384266/raw/setup.sh | /bin/sh in the terminal and watch the magic happen.

See the LinuxBrew GitHub page for more information on brew

Support us via Gittip

#/bin/sh
echo "Configuring Distro, this may take some time..."
apt-get update && \
apt-get -y install build-essential curl git ruby libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev && \
git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew
echo "export PATH=\"\$HOME/.linuxbrew/bin:\$PATH\"" >> .bashrc && \
echo "export LD_LIBRARY_PATH=\"\$HOME/.linuxbrew/lib:\$LD_LIBRARY_PATH\"" >> .bashrc && \
~/.linuxbrew/bin/brew install node && \
curl https://install.meteor.com | /bin/sh && \
~/.linuxbrew/bin/npm install -g meteorite && \
echo "Configuration Complete. Please logout and back in to complete configuration."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment