Last active
August 29, 2015 14:24
-
-
Save stefhen/423cb620e8b738219be9 to your computer and use it in GitHub Desktop.
Base Package Install List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# from build-essential::_debian | |
sudo apt-get -y install autoconf binutils-doc bison flex gettext ncurses-dev | |
# utils from build-essential::_debian | |
sudo apt-get -y install curl vim | |
kernel=`uname -r` | |
sudo apt-get -y install linux-image-$kernel | |
#ruby | |
sudo apt-get -y install ruby1.9 ruby1.9.1-dev | |
#for dns curl | |
sudo apt-get -y install libdigest-hmac-perl | |
#numa | |
sudo apt-get -y install numactl | |
#git | |
sudo apt-get -y install git | |
#python | |
sudo apt-get -y install python | |
# setup env link | |
if [ ! -f /bin/env ]; then | |
ln -s /usr/bin/env /bin/env | |
fi | |
#fs | |
sudo apt-get -y install xfsprogs | |
#make | |
sudo apt-get -y install make | |
sudo apt-get -y install gcc | |
#bash shellshock | |
sudo apt-get update && sudo apt-get install --only-upgrade bash | |
# install s3sync | |
cd ~ | |
wget -q http://s3.amazonaws.com/ServEdge_pub/s3sync/s3sync.tar.gz | |
tar zxpvf s3sync.tar.gz | |
rm -rf /opt/s3sync | |
mkdir -p /opt/s3sync | |
mv s3sync/* /opt/s3sync/ | |
rm ~/s3sync.tar.gz | |
# install dnscurl.pl deps | |
apt-get -y install perl cpanminus | |
apt-get -y install libdigest-hmac-perl libdigest-sha1-perl libdigest-md5-file-perl libdigest-perl libdigest-sha-perl | |
cpanm --sudo --notest --quiet Net::DNS::ZoneFile NetAddr::IP Net::DNS Net::IP Digest::HMAC Digest::SHA1 Digest::MD5 | |
#install dnscurl | |
mkdir -p /opt/dnscurl | |
curl -o /opt/dnscurl/dnscurl.pl http://awsmedia.s3.amazonaws.com/catalog/attachments/dnscurl.pl | |
chmod +x /opt/dnscurl/dnscurl.pl | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment