Preparations#
You need to prepare the following content for setup:
- A non-blocked server
- An SSH client
The recommended server systems are listed below:
- Debian 8 or higher, including oldoldstable (jessie), old stable (stretch), stable (buster), testing (bullseye), and unstable (sid)
- Ubuntu 16.10 or higher
If you don't have a server, you can click the link to make a purchase:
https://akile.io/shop/server?type=traffic&areaId=6&nodeId=90&planId=543
The server information is as follows:
TWLite-One
CPU 1 Core | Memory 2048 M
Disk 5 GB | Bandwidth 500M
Traffic 800G/month | Speed limit of 10Mbps after exceeding
Reset traffic ¥10.00
1 IPv4 | 1 IPv6
¥9.99/month
Setup Tutorial#
Installation#
First, log in to your server using an SSH client. Enter the following code to install Shadowsocks-libev:
sudo apt update
sudo apt install shadowsocks-libev
If you encounter a prompt similar to the one below, enter Y
and press Enter:
Do you want to continue? [Y/n]
Configuration#
First, you need to stop Shadowsocks-libev to proceed with the following steps:
systemctl stop shadowsocks-libev
Next, open /etc/shadowsocks-libev/config.json
for configuration:
# Using Vim editor
vim /etc/shadowsocks-libev/config.json
# Using Nano editor
nano /etc/shadowsocks-libev/config.json
Replace the file content with the following text:
{
"server":["::", "0.0.0.0"],
"mode":"tcp",
"server_port":8388,
"local_port":1080,
"password":"password",
"timeout":86400,
"method":"chacha20-ietf-poly1305"
}
Note! Please replace the password field in the text with your own password.
Start#
Next, use the following command to start Shadowsocks-libev:
systemctl start shadowsocks-libev
You can use systemctl status shadowsocks-libev
to check the running status of Shadowsocks-libev.