This repository has been archived by the owner on Jul 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.sh
36 lines (30 loc) · 2.53 KB
/
bootstrap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
echo 'deb http://archive.ubuntu.com/ubuntu/ saucy main' | tee /etc/apt/sources.list
echo 'deb-src http://archive.ubuntu.com/ubuntu/ saucy main' | tee -a /etc/apt/sources.list
echo 'deb http://archive.ubuntu.com/ubuntu/ saucy-updates main' | tee -a /etc/apt/sources.list
echo 'deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates main' | tee -a /etc/apt/sources.list
echo 'deb http://archive.ubuntu.com/ubuntu/ saucy universe' | tee -a /etc/apt/sources.list
echo 'deb-src http://archive.ubuntu.com/ubuntu/ saucy universe' | tee -a /etc/apt/sources.list
echo 'deb http://archive.ubuntu.com/ubuntu/ saucy-updates universe' | tee -a /etc/apt/sources.list
echo 'deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates universe' | tee -a /etc/apt/sources.list
echo 'deb http://archive.ubuntu.com/ubuntu/ saucy multiverse' | tee -a /etc/apt/sources.list
echo 'deb-src http://archive.ubuntu.com/ubuntu/ saucy multiverse' | tee -a /etc/apt/sources.list
echo 'deb http://archive.ubuntu.com/ubuntu/ saucy-updates multiverse' | tee -a /etc/apt/sources.list
echo 'deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates multiverse' | tee -a /etc/apt/sources.list
echo 'deb http://archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse' | tee -a /etc/apt/sources.list
echo 'deb-src http://archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse' | tee -a /etc/apt/sources.list
echo 'deb http://security.ubuntu.com/ubuntu saucy-security main' | tee -a /etc/apt/sources.list
echo 'deb-src http://security.ubuntu.com/ubuntu saucy-security main' | tee -a /etc/apt/sources.list
echo 'deb http://security.ubuntu.com/ubuntu saucy-security universe' | tee -a /etc/apt/sources.list
echo 'deb-src http://security.ubuntu.com/ubuntu saucy-security universe' | tee -a /etc/apt/sources.list
echo 'deb http://security.ubuntu.com/ubuntu saucy-security multiverse' | tee -a /etc/apt/sources.list
echo 'deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse' | tee -a /etc/apt/sources.list
locale-gen en_US en_US.UTF-8 && dpkg-reconfigure locales
apt-get update
apt-get upgrade -y -q
apt-get dist-upgrade -y -q
apt-get -y -q autoclean
apt-get -y -q autoremove
apt-get install --force-yes -y -q build-essential devscripts curl sudo net-tools git software-properties-common python-software-properties libssl-dev wget ssl-cert bison openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev libreadline6 libreadline6-dev cron logrotate
## clean up so we use less space
apt-get clean