-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
31 lines (19 loc) · 945 Bytes
/
setup.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
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y --no-install-recommends install wget apt-transport-https
wget --no-check-certificate https://download.ceph.com/keys/release.asc -O - | apt-key add -
echo 'deb https://download.ceph.com/debian-jewel xenial main' > /etc/apt/sources.list.d/ceph.list
apt-get update
apt-get -y upgrade
apt-get -y --no-install-recommends install unzip librados2 librados-dev ceph-common curl make gcc build-essential
# curl http://uwsgi.it/install | bash -s rados /usr/local/bin/uwsgi
cd /tmp
wget https://github.com/endticket/uwsgi/archive/master.zip -O uwsgi-master.zip
unzip uwsgi-master.zip
cd uwsgi-master
UWSGI_PROFILE=rados UWSGI_BIN_NAME=/usr/local/bin/uwsgi make
apt-get -y purge librados-dev make gcc unzip build-essential
apt-get -y autoremove
rm -rf /var/lib/apt/lists/*
cd /
rm -rf /tmp/uwsgi-master