Skip to content

Instantly share code, notes, and snippets.

@dapao9999
Created November 27, 2016 15:43
Show Gist options
  • Save dapao9999/506ed9448e4cd49a39b95bc9dc883371 to your computer and use it in GitHub Desktop.
Save dapao9999/506ed9448e4cd49a39b95bc9dc883371 to your computer and use it in GitHub Desktop.
For Debian 7 and Ubuntu 12+, add the following line to /etc/apt/sources.list
deb http://shadowvpn.org/debian wheezy main
Then
apt-get update && apt-get install shadowvpn
service shadowvpn restart
@dapao9999
Copy link
Author

Ubuntu 14.04 更换阿里云源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份
sudo vim /etc/apt/sources.list #修改
sudo apt-get update #更新列表
阿里云源

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment