Last active
August 29, 2015 14:09
-
-
Save malev/e1fb69aceb0c3432dfdb to your computer and use it in GitHub Desktop.
New server configuration
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 -y install build-essential git-core htop nginx tmux exuberant-ctags ack-grep rsync | |
mkdir -p code | |
cd code | |
git clone https://github.com/malev/dotfiles.git | |
cd dotfiles | |
ln -s ~/code/dotfiles/tmux.conf ~/.tmux.conf | |
ln -s ~/code/dotfiles/vimrc ~/.vimrc | |
# Postgres | |
sudo apt-get install -y postgresql postgresql-contrib postgresql-server-dev-all | |
# Node.js | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.18.0/install.sh | bash | |
source .bashrc | |
nvm install stable | |
nvm use stable | |
nvm alias default stable | |
# Python tools | |
sudo apt-get install -y python-pip python-dev | |
sudo pip install virtualenvwrapper | |
mkdir ~/.virtualenvs | |
echo 'export WORKON_HOME=$HOME/.virtualenvs' >> ~/.bashrc | |
echo 'source /home/malev/.local/bin/virtualenvwrapper.sh' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment