Skip to content

Instantly share code, notes, and snippets.

@mehakdeep
Forked from pungoyal/ubuntu.sh
Last active December 25, 2015 11:48
Show Gist options
  • Save mehakdeep/6971400 to your computer and use it in GitHub Desktop.
Save mehakdeep/6971400 to your computer and use it in GitHub Desktop.
sudo apt-get install curl htop screen aptitude -y
sudo apt-get install libpcre3 libpcre3-dev -y
# skype
# build essentials
sudo aptitude install build-essential -y
sudo aptitude install vim zlib1g-dev libssl-dev openssl libreadline-dev sqlite3 libsqlite3-dev libxslt-dev libxml2-dev zsh git -y
# zsh
curl https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
sudo chsh -s `which zsh`
# rbenv
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
# ruby 2.0.0-p247
rbenv install 2.0.0-p247
rbenv global 2.0.0-p247
#get and set monaco font
mkdir ~/.fonts
cd ~/.fonts
sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf
mkfontscale
mkfontdir
fc-cache -fv ~/.fonts
# docker
# read http://docs.docker.io/en/latest/installation/ubuntulinux/#ubuntu-raring-13-04-64-bit
#after installing docker, add your user to docker group
sudo usermod -a -G docker `whoami`
# install java
sudo apt-get install openjdk-7-jdk
#install bundler
gem install bundler --pre
rbenv rehash
#to make the history-substring-search plugin work
echo "DEBIAN_PREVENT_KEYBOARD_CHANGES=yes" >> ~/.zshenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment