Page:
							在 Linode 上快速搭建 Shadowsocks
						
						
					
					
							Pages
							
							
								Ban Brute Force Crackers
							
								Block Connection to localhost
							
								Change Server on the Fly
							
								Configuration via Config File
							
								Configure Multiple Users
							
								Configure Shadowsocks with Supervisor
							
								Connect to OpenVPN over Shadowsocks
							
								Convert Shadowsocks into an HTTP proxy
							
								Encryption
							
								Feature Comparison across Different Versions
							
								Forcing Chrome to Use Socks5 Proxy
							
								Generate QR Code for Android or iOS Clients
							
								Gentoo overlay
							
								Graceful shutdown and restart
							
								Home
							
								Install Shadowsocks Server on Windows
							
								Manage Multiple Users
							
								Objective
							
								Optimizing Shadowsocks
							
								Ports and Clients
							
								Salsa20
							
								Securing Public Shadowsocks Server
							
								Setting Up Shadowsocks on Linode
							
								Setup a Shadowsocks relay
							
								Shadowsocks 使用说明
							
								TCP Fast Open
							
								Troubleshooting
							
								Using Shadowsocks with Command Line Tools
							
								Workers
							
								优化 Shadowsocks
							
								回复模版
							
								在 Linode 上快速搭建 Shadowsocks
							
								用 Supervisor 运行 Shadowsocks
							
						
					No results
				
				This file contains ambiguous Unicode characters
			
			This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
也适用于除了 Linode 之外的所有 Xen 的 Debian 7 VPS。如果你已经建了一个 Debian 7.0+ 节点,在节点上执行下列命令并跳到步骤 6。
apt-get install curl
curl 'https://raw.githubusercontent.com/shadowsocks/stackscript/master/stackscript.sh?v=4' > /tmp/ss.sh && bash /tmp/ss.sh && rm /tmp/ss.sh
如果你没有创建节点:
- 创建一个节点,在部署界面选择 Deploying using StackScripts
- 搜索 Shadowsocks,点它:
- 设置 root 密码,点 rebuild
- 到节点界面点开机
- 等 VPS 启动
- 登录服务器,检查是否一切正常。
# 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":"8d779a1ee2db776db8e20adffaa12d0c",
    "timeout":300,
    "method":"aes-256-cfb"
}
如果需要重启服务,执行:
supervisorctl restart shadowsocks



