forked from shadowsocks-backup/shadowsocks
-
Notifications
You must be signed in to change notification settings - Fork 550
Setting Up Shadowsocks on Linode
Wenjie Fan edited this page Aug 24, 2015
·
1 revision
If you already created a Linode with Debian 7.0+, run the following and skip to Step 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
If you didn't, do the following:
- Create a new Linode and select
Deploying using StackScripts
- Search Shadowsocks StackScript written by clowwindy and click it
- Set root password and rebuild your server
- Boot your server
- Wait the VPS to boot up.
- Log in to your server, check everything is OK. And find the password and server port generated for you:
# supervisorctl status
shadowsocks RUNNING pid 6929, uptime 0:01:25
# cat /etc/shadowsocks.json
{
"server":"0.0.0.0",
"server_port":4762,
"local_port":1080,
"password":"7f2aa2fef57d8414",
"timeout":300,
"method":"aes-256-cfb"
}
If you need to restart the server, run
supervisorctl restart shadowsocks