This guideline is based on a fact that you have had a digital ocean linux cloud server. Mine is a ubuntu server. I do not know whether other kinds of linux could be configured as same as mine.
At first, start Terminal in MAC OS or XShell in Windows and input ssh -p port_num username@ipv4. (port_num is 22 by default)
Then
apt-get update pt-get install python-pip pip install --upgrade pip apt-get install git wget https://github.com/jedisct1/libsodium/releases/download/1.0.8/libsodium-1.0.8.tar.gz tar xf libsodium-1.0.8.tar.gz && cd libsodium-1.0.8 ./configure && make -j2 make install ldconfig touch /etc/shadowsocks.json echo '{"server":"::","server_port":set_a_num,"local_address":"127.0.0.1","local_port":1080,"password":"your_password","timeout":300,"method":"chacha20","fast_open":false}' > /etc/shadowsocks.json ssserver -c /etc/shadowsocks.json -d start pip install git+https://github.com/shadowsocks/shadowsocks.git@master apt-get install build-essentialBy the way, you need a ss on your computer. You can download from GitHub. (Search by yourself, I forget the URL)