Posted on 2018-11-03 08:39
Qzi 阅读(191)
评论(0) 编辑 收藏
1. Change to aliyun repository
2. Chinese input method
sudo apt-get install ibus-pinyin
#remmeber to logout and re-logon to change system 'Region&Language' setting
3. Shadowsocks and genpac
sudo apt install -y shadowsocks-libev
#sudo vi /etc/shadowsocks-libev/shadowsock.json
{
"server":"x.x.x.x",
"server_port":xx,
"local_port":1080,
"password":"xxxxx",
"timeout":60,
"method":"aes-256-cfb"
}
nohup ss-local -c /etc/shadowsocks-libev/shadowsock.json >/dev/null 2>&1 &
sudo apt install phython-pip
sudo -H pip install genpac
如果pip error "TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'"
sudo python -m pip install --upgrade --force pip
mkdir pac
cd pac
touch user-rules.txt
genpac --pac-proxy "SOCKS5 127.0.0.1:1080" --gfwlist-proxy="SOCKS5 127.0.0.1:1080" --output="autoproxy.pac" --gfwlist-url="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt" --user-rule-from="user-rules.txt"
配置系统自动代理为:
/home/xxx/pac/autoproxy.pac
4. JDK8
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
download and setup environment variable manually
5.gcloud
http://ubuntuhandbook.org/index.php/2014/10/google-cloud-sdk-made-into-canonical-partners-repository/