Created
August 4, 2013 00:52
-
-
Save x684867/6148590 to your computer and use it in GitHub Desktop.
This is the script devised to setup Ubuntu 12.04 (x64) for use with the tableBuilder.rb script.
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
| #!/bin/bash | |
| # ------------------------------------------------------- | |
| # Setup document for rainbow table generator | |
| # (c) 2013 Sam Caldwell. All Rights Reserved | |
| # | |
| # This is the script devised to setup Ubuntu 12.04 (x64) | |
| # for use with the tableBuilder.rb script. | |
| # ------------------------------------------------------- | |
| case "$1" in | |
| 1) | |
| sudo apt-get install openssh-server -y | |
| sudo apt-get update -y; sudo apt-get upgrade -y | |
| sudo shutdown -r now | |
| break | |
| ;; | |
| 2) | |
| sudo apt-get install linux-headers-server linux-image-server linux-server -y | |
| sudo shutdown -r now | |
| break | |
| ;; | |
| 3) | |
| sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
| sudo su - | |
| cd /tmp | |
| wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz | |
| tar -xvzf ruby-2.0.0-p0.tar.gz | |
| cd ruby-2.0.0-p0/ | |
| ./configure --prefix=/usr/local && make && make install | |
| break | |
| ;; | |
| esac | |
| ruby -v | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment