forked from colonelpanic/dotfiles
Prepping for ec2 install.
This commit is contained in:
parent
1b3bb373e4
commit
2f554c70b7
14
.debian
Normal file
14
.debian
Normal 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
|
6
.exports
6
.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"
|
8
setup.sh
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user