Skip to content

Instantly share code, notes, and snippets.

@gaukas
Forked from d0zingcat/installChaCha20.sh
Created September 11, 2017 12:38
Show Gist options
  • Save gaukas/83d4fe380af1aed0ca6a73971960b228 to your computer and use it in GitHub Desktop.
Save gaukas/83d4fe380af1aed0ca6a73971960b228 to your computer and use it in GitHub Desktop.
Install ChaCha20 Encryption for Shadowsocks On CentOS
yum install m2crypto gcc -y
wget -N --no-check-certificate https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
tar zvxf LATEST.tar.gz
cd libsodium-*
./configure
make && make install
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment