-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeneral-system-setup.sh
executable file
·45 lines (31 loc) · 1.74 KB
/
general-system-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
32
33
34
35
36
37
38
39
40
41
42
# INSTALLATION for Ubuntu 16.04 Xenial
USER = "gzholtkevych"
# DEVELOPMENT INSTALL
sudo apt install vim virtualenv git
sed -i '1 a export VISUAL=vim' ~/.bashrc
sed -i '2 a export EDITOR="$VISUAL"' ~/.bashrc
sudo apt-get -y install python3-dev
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update && sudo apt-get -y install python3.6 libmysqlclient-dev mysql-server
sudo apt-get install -y gcc python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi
# INSTALL DOCKER and DOCKER-COMPOSE
sudo apt update
sudo apt -y install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt update && sudo apt -y install docker-ce && \
sudo curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose && sudo groupadd docker && sudo usermod -aG docker $USER
# Firefox nightly
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa && sudo apt-get update && sudo apt -y install firefox-trunk
# Hack for prospector for virtualenv
# pip install prospector==0.12.4
# and modify pylint package to be compatible with prospector