Updated Setting Up Shadowsocks on Linode (markdown)
parent
6314426253
commit
4410aa1156
1 changed files with 37 additions and 33 deletions
|
@ -1,34 +1,38 @@
|
||||||
If you already created a [Linode] with Debian 7.0+, run the following and skip to Step 6.
|
If you already created a [Linode] with Debian 7.0+, run the following and skip to Step 6.
|
||||||
```
|
```
|
||||||
apt-get install curl
|
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
|
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:
|
If you didn't, do the following:
|
||||||
|
|
||||||
1. Create a new Linode and select `Deploying using StackScripts`
|
1. Create a new Linode and select `Deploying using StackScripts`
|
||||||
* 
|
* 
|
||||||
2. Search Shadowsocks StackScript written by clowwindy and click it
|
2. Search Shadowsocks StackScript written by clowwindy and click it
|
||||||
* 
|
* 
|
||||||
3. Set root password and rebuild your server
|
3. Set root password and rebuild your server
|
||||||
* 
|
* 
|
||||||
4. Boot your server
|
4. Boot your server
|
||||||
* 
|
* 
|
||||||
5. Wait the VPS to boot up.
|
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:
|
6. Log in to your server, check everything is OK. And find the password and server port generated for you:
|
||||||
|
|
||||||
```
|
```
|
||||||
# supervisorctl status
|
# supervisorctl status
|
||||||
shadowsocks RUNNING pid 6929, uptime 0:01:25
|
shadowsocks RUNNING pid 6929, uptime 0:01:25
|
||||||
# cat /etc/shadowsocks.json
|
# cat /etc/shadowsocks.json
|
||||||
{
|
{
|
||||||
"server":"0.0.0.0",
|
"server":"0.0.0.0",
|
||||||
"server_port":4762,
|
"server_port":4762,
|
||||||
"local_port":1080,
|
"local_port":1080,
|
||||||
"password":"7f2aa2fef57d8414",
|
"password":"7f2aa2fef57d8414",
|
||||||
"timeout":300,
|
"timeout":300,
|
||||||
"method":"aes-256-cfb"
|
"method":"aes-256-cfb"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you need to restart the server, run
|
||||||
|
|
||||||
|
supervisorctl restart shadowsocks
|
||||||
|
|
||||||
[Linode]: https://www.linode.com/?r=e7932c8b03f9abc8aab71663b90b689a676402d1
|
[Linode]: https://www.linode.com/?r=e7932c8b03f9abc8aab71663b90b689a676402d1
|
Loading…
Add table
Add a link
Reference in a new issue