study/linux/raspberry_pi_vultr.md
2020-02-23 22:23:40 +08:00

50 lines
2.6 KiB
Markdown

## How to use the vultr server to build an outline (or shadowsocks) service
### Introduction
This tutorial is for countries with a firewall like China.And ,I hope this tutorial can help you.
### First ,you should get a vultr serve
1. Register an account on [https://www.vultr.com ](https://www.vultr.com/?ref=7747795),enter your email address and password to
create a account. And you'll receive an email to verify Your email is ok.
![register](http://www.zeekling.cn/gogsPics/study/linux/0.png)
2. Billing. click "Billing" and select one of payment. I thinker Alipay is a great payment for chinese person.
![register](http://www.zeekling.cn/gogsPics/study/linux/1.png)
3. create VPS
1. select Servers ,click "+" to create VPS
![register](http://www.zeekling.cn/gogsPics/study/linux/2.png)
2. select Location
select nearest node. for example,I'm a chinese, so, I select an Japan node for me.If you want to known access to the
node you selected. You can visit
[https://www.vultr.com/faq/#downloadspeedtests ](https://www.vultr.com/faq/#downloadspeedtests) and ping the Looking
Glass
![register](http://www.zeekling.cn/gogsPics/study/linux/3.png)
And I pinged The node in Japan.The result is showed in below figure:
![register](http://www.zeekling.cn/gogsPics/study/linux/4.png)
3. select server and server size, The below figure show mine selection.
![register](http://www.zeekling.cn/gogsPics/study/linux/5.png)
4. click "Deplay Now"
#### Install docker and start `Jigsaw-Code/outline-server`
1. Uninstall the old docker
```sh
apt-get -y remove docker docker-engine docker.io
```
2. Install docker
```sh
curl -sS https://get.docker.com/ | sh
```
3. Pull ourline docker image and start
![https://since1989.org/wp-content/uploads/2018/04/outline-manager-script.png ](https://since1989.org/wp-content/uploads/2018/04/outline-manager-script.png)
command:
```sh
wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash
```
Copy the generated api field to the outline manager manager and click DONE to complete it.
Click 'add new key ' to generate a new key ,and click share icon to get ss account
![http://www.zeekling.cn/gogsPics/study/linux/7.png ](http://www.zeekling.cn/gogsPics/study/linux/7.png)
Then , Open the outline client, copy your ss account link, and click CONNECT to connect.
![https://since1989.org/wp-content/uploads/2018/04/outline-manager-key.png ](https://since1989.org/wp-content/uploads/2018/04/outline-manager-key.png)
The end,Open the Chrome browser and you can access the Twitter/Youtube videos.