Last active
September 29, 2015 02:58
-
-
Save marklocklear/1536897 to your computer and use it in GitHub Desktop.
Ubuntu Settings
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
| gnome-terminal --geometry=80x15 | |
| #set vim tab width in ~/.vimrc | |
| set ts=2 | |
| set shiftwidth=2 | |
| #apt-get stuff | |
| 10.04 | |
| sudo apt-get install curl vim git-core build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev libzlib-ruby zlibc libopenssl-ruby bison libsqlite3-dev libssl-dev libxml2-dev libxslt-dev | |
| 12.04 | |
| sudo apt-get install curl vim git-core build-essential libssl-dev libreadline5 libreadline-gplv2-dev zlib1g zlib1g-dev libzlib-ruby zlibc libopenssl-ruby bison libsqlite3-dev libssl-dev libxml2-dev libxslt-dev ruby-dev libpq-dev | |
| For 12.04 see also http://www.rubypluspl.us/2012/06/ubuntu-1204-ruby-on-rails-development.html | |
| #generate ssh keys | |
| ssh-keygen -t rsa | |
| #if you have rvm your may need this | |
| rvm pkg install zlib | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
| #specific rails install | |
| gem install -v=2.2.2 rails | |
| #to install java | |
| add this to /etc/apt/sources deb http://archive.canonical.com/ubuntu natty partner | |
| sudo apt-get update [press enter] | |
| sudo apt-get install -y sun-java6-jdk sun-java6-plugin [press enter] | |
| sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/libnpjp2.so 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment