Skip to content

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:

  1. Create a new Linode and select Deploying using StackScripts
    • 88be8e49-2018-476c-8380-424ee8470561
  2. Search Shadowsocks StackScript written by clowwindy and click it
    • screen shot 2014-06-16 at 6 24 23 pm
  3. Set root password and rebuild your server
    • screen shot 2014-06-16 at 6 25 50 pm
  4. Boot your server
    • 0fdd081e-5288-4dcf-ae52-351e94ed1667
  5. Wait the VPS to boot up.
  6. 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