Lain

Lain

落霞与孤鹜齐飞,秋水共长天一色。
telegram
email

Setting up Shadowsocks-libev on Linux Server

Preparation#

You need to prepare the following content for setup

  1. A non-blocked server
  2. 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
Hard Disk 5 GB | Bandwidth 500M
Traffic 800G/month | Speed limit to 10Mbps after exceeding
Reset Traffic ¥10.00
IPv4 1 | IPv6 1
¥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 following, 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 operations

systemctl stop shadowsocks-libev

Next, open /etc/shadowsocks-libev/config.json for configuration

# Use Vim editor
vim /etc/shadowsocks-libev/config.json

# Use 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

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.