-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathset_ubuntu
More file actions
33 lines (27 loc) · 697 Bytes
/
set_ubuntu
File metadata and controls
33 lines (27 loc) · 697 Bytes
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
# set user
```
adduser username
usermod -aG sudo username
```
# set python
```
sudo apt install build-essential python-dev python-setuptools python-pip python-smbus
sudo apt install libncursesw5-dev libgdbm-dev libc6-dev
sudo apt install zlib1g-dev libsqlite3-dev tk-dev
sudo apt install libssl-dev openssl
sudo apt install libffi-dev
```
# set python env
```
sudo pip3 install virtualenv
sudo pip install virtualenvwrapper
# virtualenv
VIRTUALENVWRAPPER_PYTHON='/usr/bin/python3'
source /usr/local/bin/virtualenvwrapper.sh
export WORKON_HOME=$HOME/.virtualenvs
```
```
sudo apt install software-properties-common -y
sudo add-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt update
```