diff --git a/.debian b/.debian new file mode 100644 index 00000000..31111b0d --- /dev/null +++ b/.debian @@ -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 \ No newline at end of file diff --git a/.exports b/.exports index 827e2d15..f74718c7 100644 --- a/.exports +++ b/.exports @@ -22,3 +22,9 @@ export MANPAGER="less -X" git config --global user.name "Ivan Malison" 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" \ No newline at end of file diff --git a/setup.sh b/setup.sh index edc681ad..59572b6f 100755 --- a/setup.sh +++ b/setup.sh @@ -29,9 +29,13 @@ function install_essentials() { source .brew ;; 'Linux') - echo 'Linux' hash apt-get &>/dev/null || echo 'apt-get is missing.' && exit + sudo -v 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." @@ -55,5 +59,3 @@ echo "Installing Tmux Configuration." tmux-powerline/generate_conf.sh echo "Installing oh-my-zsh." oh-my-zsh/install.sh -f -echo "Installing python dependencies." -install_python_packages