Last active
August 29, 2015 14:05
-
-
Save benfalk/ef6c3b6727f042f4f491 to your computer and use it in GitHub Desktop.
Setup Ubuntu Work Station
This file contains 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
# Base up and running... | |
sudo apt-get update -y | |
sudo apt-get install build-essential -y | |
sudo apt-get install cmake -y | |
sudo apt-get install python-software-properties -y | |
sudo apt-get install python-dev -y | |
sudo apt-get install curl -y | |
sudo apt-get install git -y | |
sudo apt-get install xclip -y | |
# Latest Nodejs | |
sudo add-apt-repository ppa:chris-lea/node.js -y | |
sudo apt-get update -y | |
sudo apt-get install nodejs -y | |
# Core development set | |
sudo apt-get install vim-gnome -y | |
sudo apt-get install konsole -y | |
sudo apt-get install tmux -y | |
sudo apt-get install finch -y | |
sudo apt-get install silversearcher-ag -y | |
# Powerline | |
sudo apt-get install python-pip -y | |
pip install --user git+git://github.com/Lokaltog/powerline | |
echo ' | |
if [ -d "$HOME/.local/bin" ]; then | |
PATH="$HOME/.local/bin:$PATH" | |
fi' >> ~/.profile | |
wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf | |
mkdir -p ~/.fonts/ && mv PowerlineSymbols.otf ~/.fonts/ | |
fc-cache -vf ~/.fonts | |
mkdir -p ~/.config/fontconfig/conf.d/ && mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/ | |
# I'm moving in! | |
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
git clone https://github.com/benfalk/dotfiles ~/.dotfiles | |
if [ -f ~/.bashrc ]; then | |
cp ~/.bashrc ~/.bashrc.bkup | |
fi | |
ln -sf ~/.dotfiles/bashrc ~/.bashrc | |
ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf | |
# In depth vim setup | |
ln -sf ~/.dotfiles/vimrc ~/.vimrc | |
mkdir -p ~/.vim/colors | |
wget https://raw.githubusercontent.com/Lokaltog/vim-distinguished/develop/colors/distinguished.vim | |
mv distinguished.vim ~/.vim/colors/ | |
mkdir -p ~/.vim/autoload ~/.vim/bundle &vim +PluginInstall +qall& \ | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree | |
git clone https://github.com/rking/ag.vim ~/.vim/bundle/ag | |
vim +PluginInstall +qall | |
# Core environment | |
curl -sSL https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.1 | |
sudo apt-get install nginx -y | |
sudo apt-get install postgresql-9.4 postgresql-server-dev-9.4 postgresql-contrib-9.4 -y | |
sudo apt-get install redis-server -y | |
sudo apt-get install libmagickwand-dev -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment