A backup of vps set up.
This is a backup of setting up a new vps based on shadowsocks-libev, which originates from solving the problem of visiting google scholar. It includes the basic steps of seting up a simple vps for a beginer. It will also be used to be a record for the problems that I have met, solved and need-to-be solved during the usage of this.
sudo sh -c 'printf "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list'
sudo apt update
sudo apt -t stretch-backports install shadowsocks-libev
You can find the config.json on
service shadowsocks-libev status
service shadowsocks-libev start
service shadowsocks-libev stop
service shadowsocks-libev restart
/etc/shadowsocks-libev/config.json
,and use scp to back it up on your local computerscp root@server_ip:/etc/shadowsocks-libev/config.json ~/backupconfig/
{
"server":"server_ip",
"server_port":server_port,
"local_port":1080,
"password":"passwords of ss",
"timeout":600,
"method":"aes-256-cfb"
}