Created 在 Linode 上快速搭建 Shadowsocks (markdown)
parent
d832e79e04
commit
6cf2771e1f
1 changed files with 38 additions and 0 deletions
38
在-Linode-上快速搭建-Shadowsocks.md
Normal file
38
在-Linode-上快速搭建-Shadowsocks.md
Normal file
|
@ -0,0 +1,38 @@
|
|||
如果你已经建了一个 Debian 7.0+ 节点,执行下列命令并跳到步骤 6。
|
||||
```
|
||||
apt-get install curl
|
||||
curl 'https://raw.githubusercontent.com/shadowsocks/stackscript/master/stackscript.sh?v=4' | bash
|
||||
```
|
||||
|
||||
如果你没有创建节点:
|
||||
|
||||
1. 创建一个节点,在部署界面选择 `Deploying using StackScripts`
|
||||
* 
|
||||
2. 搜索一个作者是 clowwindy 的 Shadowsocks StackScript,点它:
|
||||
* 
|
||||
3. 设置密码,点 rebuild
|
||||
* 
|
||||
4. 到节点界面点开机
|
||||
* 
|
||||
5. 等 VPS 启动
|
||||
6. 登录服务器,检查是否一切正常。
|
||||
|
||||
```
|
||||
# supervisorctl status
|
||||
shadowsocks RUNNING pid 6929, uptime 0:01:25
|
||||
# supervisorctl tail shadowsocks stderr
|
||||
2014-06-16 10:28:00 INFO starting server at 0.0.0.0:4762
|
||||
```
|
||||
|
||||
获取随机生成的密码和端口号:
|
||||
```
|
||||
# cat /etc/shadowsocks.json
|
||||
{
|
||||
"server":"0.0.0.0",
|
||||
"server_port":4762,
|
||||
"local_port":1080,
|
||||
"password":"7f2aa2fef57d8414",
|
||||
"timeout":300,
|
||||
"method":"aes-256-cfb"
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue