-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
53 lines (41 loc) · 1.63 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
sudo apt-get -y update
#sudo nano /etc/default/locale
#LANGUAGE=en_US.UTF-8
#LC_ALL=en_US.UTF-8
#LANG=en_US.UTF-8
#LC_TYPE=en_US.UTF-8
#sudo locale-gen en_US.UTF-8
#sudo dpkg-reconfigure locales
# INSTALL PYTHON
sudo apt install -y build-essential checkinstall
sudo apt install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
cd ..
wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
tar xvf Python-3.6.8.tar.xz
cd Python-3.6.8
sudo ./configure --enable-optimizations
sudo make -j8
sudo make install
cd ..
# INSTALL SCREEN LIBS
sudo apt-get install -y gconf-service libasound2 libatk1.0-0 libcairo2 libcups2 libfontconfig1 libgdk-pixbuf2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libxss1 fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils
sudo apt-get -y upgrade
# INSTALL CHROME
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb
sudo apt-get install -fy
# INSTALL OPERA
wget https://download3.operacdn.com/pub/opera/desktop/72.0.3815.400/linux/opera-stable_72.0.3815.400_amd64.deb
sudo dpkg -i --force-depends opera-stable_72.0.3815.400_amd64.deb
sudo apt-get install -fy
# INSTALL FIREFOX
sudo apt install -y firefox
# UPDATE PYTHON
sudo apt-get install -y python3-pip
sudo python3.6 -m pip install --upgrade testresources pip setuptools wheel
# INSTALL DEPENDENCIES
cd pbot
sudo python3.6 -m pip install --force-reinstall -r requirements.txt --no-cache-dir
# sudo apt-get install supervisor
# sudo vi /etc/supervisor/supervisord.conf
# sudo /etc/init.d/supervisor restart