Prepping for ec2 install.

This commit is contained in:
Ivan Malison 2013-03-30 16:57:38 -07:00
parent 1b3bb373e4
commit 2f554c70b7
3 changed files with 25 additions and 3 deletions

14
.debian Normal file
View File

@ -0,0 +1,14 @@
apt-get zsh
apt-get tmux
apt-get emacs
apt-get nmap
apt-get readline
# python dependencies
apt-get install libreadline5-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
cd ~/Downloads
wget http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz
tar -xvf Python-2.7.2.tgz && cd Python-2.7.2/
./configure
make
sudo make altinstall

View File

@ -22,3 +22,9 @@ export MANPAGER="less -X"
git config --global user.name "Ivan Malison" git config --global user.name "Ivan Malison"
git config --global user.email IvanMalison@gmail.com git config --global user.email IvanMalison@gmail.com
# EC2 stuff.
export JAVA_HOME="$(/usr/libexec/java_home)"
export EC2_PRIVATE_KEY="$(/bin/ls "$HOME"/.ec2/pk-*.pem | /usr/bin/head -1)"
export EC2_CERT="$(/bin/ls "$HOME"/.ec2/cert-*.pem | /usr/bin/head -1)"
export EC2_HOME="/usr/local/Library/LinkedKegs/ec2-api-tools/jars"

View File

@ -29,9 +29,13 @@ function install_essentials() {
source .brew source .brew
;; ;;
'Linux') 'Linux')
echo 'Linux'
hash apt-get &>/dev/null || echo 'apt-get is missing.' && exit hash apt-get &>/dev/null || echo 'apt-get is missing.' && exit
sudo -v
apt-get install build-essential apt-get install build-essential
apt-get install git
git clone git@github.com:IvanMalison/dotfiles.git
cd dotfiles
source .debian
;; ;;
*) *)
echo "Operating System not recognized; aborting." echo "Operating System not recognized; aborting."
@ -55,5 +59,3 @@ echo "Installing Tmux Configuration."
tmux-powerline/generate_conf.sh tmux-powerline/generate_conf.sh
echo "Installing oh-my-zsh." echo "Installing oh-my-zsh."
oh-my-zsh/install.sh -f oh-my-zsh/install.sh -f
echo "Installing python dependencies."
install_python_packages