Last active
December 10, 2015 08:57
-
-
Save umaxfun/bfe9f1e20e5e213e778e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| sudo apt-get install curl -y | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
| sudo echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
| curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | |
| # install tools | |
| sudo apt-get install -y git wget curl build-essential zsh htop nodejs libkrb5-dev htop sudo software-properties-common python-software-properties | |
| # mongodb | |
| # sudo apt-get install mongodb-org | |
| # java | |
| #sudo apt-add-repository ppa:webupd8team/java | |
| #sudo apt-get install oracle-java8-installer | |
| # fix vim | |
| echo 'set nocompatible' >> ~/.vimrc | |
| # create ssh keypair with all defaults, run ssh-agent | |
| cat /dev/zero | ssh-keygen -q -N "" -f ~/.ssh/id_rsa | |
| eval `ssh-agent` # create the process | |
| ssh-add ~/.ssh/id_rsa | |
| # copy ssh public key | |
| cat ~/.ssh/id_rsa.pub | |
| echo copy ssh public key | |
| read input_variable | |
| # install global npm packages | |
| sudo npm i -g nodemon pm2 node-gyp speed-test | |
| sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment