【教程】Ubuntu装机

搜狗拼音

https://blog.csdn.net/lupengCSDN/article/details/80279177

chrome

sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable

ss

sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-setuptools m2crypto
pip install shadowsocks
sudo apt install shadowsocks

编写json文件

sslocal -c ss.json

privoxy

sudo apt-get install privoxy
sudo vim /etc/privoxy/config // 修改1337行为1080端口并取消注释
sudo service  privoxy start

设置http/https 全局代理

 export http_proxy='http://localhost:8118'
 export https_proxy='https://localhost:8118'

测试

wget www.google.com

设置PAC绕过国内网站

sudo pip install genpac
sudo pip install --upgrade genpac
mkdir vpnPAC
cd vpnPAC
sudo genpac --pac-proxy "127.0.0.1:1080" -o "autoproxy.pac"

设置系统全局代理
设置 → 网络 →网络代理
修改为自动,url为"file:///home/vpnPAC/autoproxy.pac"

重启电脑
重启服务

sslocal -c ss.json

发现报错
https://blog.csdn.net/blackfrog_unique/article/details/60320737

zsh

https://ywnz.com/linuxmh/3190.html

posted @ 2018-07-20 11:57  Greenty  阅读(173)  评论(0编辑  收藏  举报