Skip to content

Instantly share code, notes, and snippets.

@eegrok
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save eegrok/9012151 to your computer and use it in GitHub Desktop.

Select an option

Save eegrok/9012151 to your computer and use it in GitHub Desktop.

Revisions

  1. eegrok revised this gist Feb 15, 2014. 1 changed file with 18 additions and 2 deletions.
    20 changes: 18 additions & 2 deletions ubuntu-install.txt
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,29 @@
    #instructions for ubuntu 12.04
    sudo apt-get -y update
    sudo apt-get install git emacs curl build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
    sudo apt-get install git emacs curl build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev libmysql-ruby libmysqlclient-dev
    cd /tmp

    #install ruby -- from: http://stackoverflow.com/questions/16222738/how-to-install-ruby-2-0-0-correctly-on-ubuntu-12-04
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz
    tar -xvzf ruby-2.0.0-p353.tar.gz
    cd ruby-2.0.0-p353/
    ./configure --prefix=/usr/local
    make
    sudo make install

    #install percona mysql server
    sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
    echo "deb http://repo.percona.com/apt precise main" | sudo tee -a /etc/apt/sources.list
    echo "deb-src http://repo.percona.com/apt precise main" | sudo tee -a /etc/apt/sources.list

    sudo apt-get -y update
    sudo apt-get -y install percona-server-server-5.6


    #basic config setup / some basic gems
    rm ~/.bashrc
    rm -rf ~/.emacs.d
    ruby < <(curl -B https://raw.github.com/atpsoft/dohdots/master/install.rb)
    sudo gem install dohdata dohlog dohtest dohutil
    sudo gem install dohdata dohlog dohtest dohutil mysql2 bundler
    # go to whatever project you're working on, and bundle install to get the appropriate gems
    sudo bundle install
  2. eegrok renamed this gist Feb 15, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. eegrok revised this gist Feb 15, 2014. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,13 @@
    sudo apt-get -y update
    sudo apt-get install git emacs curl build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
    cd /tmp
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz
    tar -xvzf ruby-2.0.0-p353.tar.gz
    cd ruby-2.0.0-p353/
    ./configure --prefix=/usr/local
    make
    sudo make install
    rm ~/.bashrc
    rm -rf ~/.emacs.d
    ruby < <(curl -B https://raw.github.com/atpsoft/dohdots/master/install.rb)
    sudo gem install dohdata dohlog dohtest dohutil
  4. eegrok created this gist Feb 15, 2014.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    sudo apt-get -y update
    sudo apt-get install git emacs curl build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev