Linux安装libsodium失败解决办法

centos

yum -y groupinstall "Development Tools"
wget https://github.com/jedisct1/libsodium/releases/download/1.0.11/libsodium-1.0.11.tar.gz
tar xf libsodium-1.0.11.tar.gz && cd libsodium-1.0.11
./configure && make -j2 && make install
echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf
ldconfig

ss

Centos系统执行这个: yum -y install git

git clone -b master https://github.com/flyzy2005/ss-fly

ss-fly/ss-fly.sh -i wglink 1024
停止ss服务:ssserver -c /etc/shadowsocks.json -d stop

启动ss服务:ssserver -c /etc/shadowsocks.json -d start

重启ss服务:ssserver -c /etc/shadowsocks.json -d restart
ss-fly/ss-fly.sh -bbr