Skip to content

Instantly share code, notes, and snippets.

View beaudierman's full-sized avatar

Beau Dierman beaudierman

View GitHub Profile
@beaudierman
beaudierman / gist:5444977
Created April 23, 2013 16:11
How to install MySQL 5.6 on Ubuntu 12.04
I recently had to install MySQL 5.6 on Ubuntu 12.04 from a .deb package on the MySQL website. It seems that either the package has been updated recently or nobody uses this method to install so I ended up running into endless problems. Through trial and error I found the following method works for me.
Install libaio-dev:
sudo apt-get install libaio-dev
Now install your package(mine was enterprise edition, community may have a different filename):
sudo dpkg -i mysql-advanced-5.6.10-debian6.0-x86_64.deb
This will install your files to the /opt directory, instead of the more common /etc directory. No worries, all we need to do is point our system at this new directory.
@beaudierman
beaudierman / snetip.sh
Created April 2, 2013 17:24
Find the ServiceNet IP of your Rackspace Cloud Load Balancer
#! /bin/bash
#########################################################
# Bash Script to find the Interal IP for Load Balancers #
#########################################################
echo "=================================================="
echo " ServiceNet IP for Load Balancers "
echo "=================================================="
@beaudierman
beaudierman / gist:4454618
Created January 4, 2013 18:07
Integrate RVM with Sublime Text 2 on Mac OS X
# Source: http://bit.ly/WiEa5q
# Confirmed working on Mac OS X Mountain Lion(v10.8.2)
# Open ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Ruby/Ruby.sublime-build
# Change the contents to match the following:
{
"env":{
"PATH":"${HOME}/.rvm/bin:${PATH}"
},