Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (50 sloc) 2.98 KB
add-apt-repository "deb maverick universe"
add-apt-repository "deb-src maverick universe"
add-apt-repository "deb maverick-updates universe"
add-apt-repository "deb-src maverick-updates universe"
add-apt-repository "deb maverick multiverse"
add-apt-repository "deb-src maverick multiverse"
add-apt-repository "deb maverick-updates multiverse"
add-apt-repository "deb-src maverick-updates multiverse"
add-apt-repository "deb maverick partner"
add-apt-repository "deb-src maverick partner"
add-apt-repository "deb maverick-updates partner"
add-apt-repository "deb-src maverick-updates partner"
aptitude update
echo "export HISTSIZE=999999999; export HISTFILESIZE=999999999" >> ~/.bashrc
read -p 'hostname? '
echo $REPLY > /etc/hostname
hostname $REPLY
echo " $REPLY" >> /etc/hosts
mkdir /root/Projects
echo grub-pc grub2/linux_cmdline string | sudo debconf-set-selections
echo grub-pc grub-pc/install_devices_empty boolean true | sudo debconf-set-selections
aptitude -y update
aptitude -y safe-upgrade
aptitude -y install build-essentials binutils-doc debian-keyring debian-maintainers g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 glibc-doc libstdc++6-4.4-doc python-dev ant sun-java6-jdk sun-java6-jre sun-java6-bin git-core python-virtualenv tmux vim-nox ec2-api-tools
pip install virtualenvwrapper
update-alternatives --set editor /usr/bin/vim.nox
read -p 'time to install ec2 certs'
A=`echo /root/certs/pk-*.pem`
echo "export EC2_PRIVATE_KEY=$A" >> /root/.bashrc
A=`echo /root/certs/cert-*.pem`
echo "export EC2_CERT=$A" >> /root/.bashrc
git config --global "Paul Bohm"
git config --global
cd /root/Projects
for x in; do git clone $x; done
git clone -b newindex
echo "mkdir -p /root/virtualenvs" >> ~/.bashrc
echo "export WORKON_HOME=/root/virtualenvs" >> ~/.bashrc
echo ". /usr/local/bin/" >> ~/.bashrc
export WORKON_HOME=/root/virtualenvs
. /usr/local/bin/
mkvirtualenv bbq
workon bbq
add2virtualenv /root/Projects/tornado
add2virtualenv /root/Projects/bbq
add2virtualenv /root/Projects/enkihelpers
add2virtualenv /root/Projects/python-gearman
add2virtualenv /root/Projects/tragedy
pip install thrift
pip install poster