run following commands:
apt update && apt upgrade -y
apt install shadowsocks-libev sudo
nano /etc/shadowsocks-libev/config.json
{
"server":["0.0.0.0", "::"],
"server_port":1234,
"local_port":2345,
"password":"mypassword",
"timeout":60,
"method":"chacha20-ietf-poly1305"
}
sudo sed -i -e 's|^DAEMON_ARGS=.*|DAEMON_ARGS="-u --acl acl/server_block_local.acl"|' /etc/default/shadowsocks-libev
run systemctl restart shadowsocks-libev
or service shadowsocks-libev restart
you can use this generator to do this
for mac and ios can recommend outline. also for ios can recommend spectre.
for android and windows there is official clients for shadowsocks so you can download and use them instead 3rd-party