-
-
Save baaxl9vh/216b0924195733e62d69c2aebe3e21fb to your computer and use it in GitHub Desktop.
Revisions
-
baaxl9vh revised this gist
Nov 14, 2017 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,4 +57,8 @@ chkconfig --add shadowsocks-libev chkconfig shadowsocks-libev on # 启动服务 service shadowsocks-libev start # rng-tools yum install -y rng-tools # rngd -r /dev/urandom ``` -
baaxl9vh revised this gist
Nov 14, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,6 +35,7 @@ cd /tmp yum install -y gcc make libtool build-essential git yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel pcre pcre-devel cpio expat-devel gettext-devel asciidoc xmlto yum install mbedtls-devel -y yum install libev-devel -y # Install The Sodium crypto library libraries https://github.com/jedisct1/libsodium # 克隆源码 -
baaxl9vh revised this gist
Nov 14, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,6 +34,9 @@ cd /tmp # 编译环境准备&安装依赖包 yum install -y gcc make libtool build-essential git yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel pcre pcre-devel cpio expat-devel gettext-devel asciidoc xmlto yum install mbedtls-devel -y # Install The Sodium crypto library libraries https://github.com/jedisct1/libsodium # 克隆源码 git clone --recursive https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 -
aa65535 revised this gist
Jul 31, 2017 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,6 @@ make install mkdir -p /etc/shadowsocks-libev cp ./debian/shadowsocks-libev.init /etc/init.d/shadowsocks-libev cp ./debian/shadowsocks-libev.default /etc/default/shadowsocks-libev cp ./debian/config.json /etc/shadowsocks-libev/config.json chmod +x /etc/init.d/shadowsocks-libev # 编辑配置文件 -
aa65535 revised this gist
Jul 20, 2017 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,9 +6,10 @@ cd /tmp # 编译环境准备&安装依赖包 apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev asciidoc xmlto git # 克隆源码 git clone --recursive https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./autogen.sh ./configure --prefix=/usr && make make install # 准备必须的文件 @@ -35,9 +36,10 @@ cd /tmp yum install -y gcc make libtool build-essential git yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel pcre pcre-devel cpio expat-devel gettext-devel asciidoc xmlto # 克隆源码 git clone --recursive https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./autogen.sh ./configure --prefix=/usr && make make install # 准备必须的文件 -
aa65535 revised this gist
Dec 23, 2016 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,8 +4,7 @@ Debian ```sh cd /tmp # 编译环境准备&安装依赖包 apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev asciidoc xmlto git # 克隆源码 git clone https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 @@ -34,7 +33,7 @@ CentOS cd /tmp # 编译环境准备&安装依赖包 yum install -y gcc make libtool build-essential git yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel pcre pcre-devel cpio expat-devel gettext-devel asciidoc xmlto # 克隆源码 git clone https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 -
aa65535 revised this gist
Dec 23, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,9 @@ Debian ```sh cd /tmp # 编译环境准备&安装依赖包 apt-get install -y build-essential libtool libssl-dev git apt-get install -y asciidoc # 克隆源码 git clone https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 -
aa65535 revised this gist
Dec 23, 2016 . 1 changed file with 17 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ Debian -- ```sh cd /tmp # 克隆源码 git clone https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./configure --prefix=/usr && make make install # 准备必须的文件 @@ -17,22 +18,24 @@ cp ./debian/config.json /etc/shadowsocks-libev/config.json chmod +x /etc/init.d/shadowsocks-libev # 编辑配置文件 vim /etc/shadowsocks-libev/config.json # 添加开机自启动服务 update-rc.d shadowsocks-libev defaults # 启动服务 service shadowsocks-libev start ``` CentOS -- ```sh cd /tmp # 编译环境准备&安装依赖包 yum install -y gcc make libtool build-essential git yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel pcre pcre-devel cpio expat-devel gettext-devel asciidoc # 克隆源码 git clone https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./configure --prefix=/usr && make make install # 准备必须的文件 @@ -42,6 +45,9 @@ cp ./debian/config.json /etc/shadowsocks-libev/config.json chmod +x /etc/init.d/shadowsocks-libev # 编辑配置文件 vim /etc/shadowsocks-libev/config.json # 添加开机自启动服务 chkconfig --add shadowsocks-libev chkconfig shadowsocks-libev on # 启动服务 service shadowsocks-libev start ``` -
aa65535 revised this gist
Aug 14, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,7 +26,7 @@ service shadowsocks-libev start cd /tmp # 编译环境准备&安装依赖包 yum install -y gcc automake autoconf libtool make build-essential autoconf libtool yum install -y curl curl-devel unzip zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel asciidoc xmlto # 下载源码 wget https://github.com/shadowsocks/shadowsocks-libev/archive/master.zip unzip master.zip -
aa65535 revised this gist
Mar 3, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,7 @@ make install mkdir -p /etc/shadowsocks-libev cp ./debian/shadowsocks-libev.init /etc/init.d/shadowsocks-libev cp ./debian/shadowsocks-libev.default /etc/default/shadowsocks-libev cp ./debian/shadowsocks-libev.service /lib/systemd/system/ cp ./debian/config.json /etc/shadowsocks-libev/config.json chmod +x /etc/init.d/shadowsocks-libev # 编辑配置文件 -
aa65535 revised this gist
Mar 3, 2016 . 1 changed file with 0 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,3 @@ **Debian** ```sh cd /tmp -
aa65535 revised this gist
Mar 3, 2016 . 1 changed file with 8 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,14 @@ 谢嵩岭 411522199805162415 18338635025 cn4t.hxg.cc **Debian** ```sh cd /tmp # 下载源码 git clone https://github.com/shadowsocks/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./autogen.sh @@ -27,7 +33,7 @@ cd /tmp yum install -y gcc automake autoconf libtool make build-essential autoconf libtool yum install -y curl curl-devel unzip zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel # 下载源码 wget https://github.com/shadowsocks/shadowsocks-libev/archive/master.zip unzip master.zip # 开始编译 cd shadowsocks-libev* -
aa65535 revised this gist
Jan 10, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,7 @@ cd /tmp git clone https://github.com/madeye/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./autogen.sh ./configure --prefix=/usr && make make install # 准备必须的文件 @@ -30,6 +31,7 @@ wget https://github.com/madeye/shadowsocks-libev/archive/master.zip unzip master.zip # 开始编译 cd shadowsocks-libev* ./autogen.sh ./configure --prefix=/usr && make make install # 准备必须的文件 -
aa65535 revised this gist
Dec 4, 2014 . 1 changed file with 14 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,15 +8,15 @@ cd shadowsocks-libev ./configure --prefix=/usr && make make install # 准备必须的文件 mkdir -p /etc/shadowsocks-libev cp ./debian/shadowsocks-libev.init /etc/init.d/shadowsocks-libev cp ./debian/shadowsocks-libev.default /etc/default/shadowsocks-libev cp ./debian/config.json /etc/shadowsocks-libev/config.json chmod +x /etc/init.d/shadowsocks-libev # 编辑配置文件 vim /etc/shadowsocks-libev/config.json # 启动服务 service shadowsocks-libev start ``` **CentOS** @@ -30,15 +30,15 @@ wget https://github.com/madeye/shadowsocks-libev/archive/master.zip unzip master.zip # 开始编译 cd shadowsocks-libev* ./configure --prefix=/usr && make make install # 准备必须的文件 mkdir -p /etc/shadowsocks-libev cp ./rpm/SOURCES/etc/init.d/shadowsocks-libev /etc/init.d/shadowsocks-libev cp ./debian/config.json /etc/shadowsocks-libev/config.json chmod +x /etc/init.d/shadowsocks-libev # 编辑配置文件 vim /etc/shadowsocks-libev/config.json # 启动服务 service shadowsocks-libev start ``` -
aa65535 revised this gist
Nov 1, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,7 @@ service shadowsocks start cd /tmp # 编译环境准备&安装依赖包 yum install -y gcc automake autoconf libtool make build-essential autoconf libtool yum install -y curl curl-devel unzip zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel # 下载源码 wget https://github.com/madeye/shadowsocks-libev/archive/master.zip unzip master.zip -
aa65535 revised this gist
Nov 1, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ **Debian** ```sh cd /tmp # 下载源码 git clone https://github.com/madeye/shadowsocks-libev.git @@ -20,7 +20,7 @@ service shadowsocks start ``` **CentOS** ```sh cd /tmp # 编译环境准备&安装依赖包 yum install -y gcc automake autoconf libtool make build-essential autoconf libtool -
aa65535 revised this gist
Jul 21, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,7 +30,7 @@ wget https://github.com/madeye/shadowsocks-libev/archive/master.zip unzip master.zip # 开始编译 cd shadowsocks-libev* ./configure && make make install # 准备必须的文件 mkdir -p /etc/shadowsocks -
aa65535 revised this gist
Jul 21, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,8 @@ cd /tmp git clone https://github.com/madeye/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./configure --prefix=/usr && make make install # 准备必须的文件 mkdir -p /etc/shadowsocks cp ./debian/shadowsocks.init /etc/init.d/shadowsocks @@ -30,8 +30,8 @@ wget https://github.com/madeye/shadowsocks-libev/archive/master.zip unzip master.zip # 开始编译 cd shadowsocks-libev* ./configure --prefix=/usr && make make install # 准备必须的文件 mkdir -p /etc/shadowsocks cp ./rpm/SOURCES/etc/init.d/shadowsocks /etc/init.d/shadowsocks -
aa65535 revised this gist
Jul 21, 2014 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,10 +22,14 @@ service shadowsocks start **CentOS** ``` cd /tmp # 编译环境准备&安装依赖包 yum install -y gcc automake autoconf libtool make build-essential autoconf libtool yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel cpio expat-devel gettext-devel # 下载源码 wget https://github.com/madeye/shadowsocks-libev/archive/master.zip unzip master.zip # 开始编译 cd shadowsocks-libev* ./configure --prefix=/usr make && make install # 准备必须的文件 -
aa65535 revised this gist
Jul 21, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ **Debian** ``` cd /tmp # 下载源码 @@ -19,7 +19,7 @@ vim /etc/shadowsocks/config.json service shadowsocks start ``` **CentOS** ``` cd /tmp # 下载源码 -
aa65535 created this gist
Jul 21, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,40 @@ Debian ``` cd /tmp # 下载源码 git clone https://github.com/madeye/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./configure --prefix=/usr make && make install # 准备必须的文件 mkdir -p /etc/shadowsocks cp ./debian/shadowsocks.init /etc/init.d/shadowsocks cp ./debian/shadowsocks.default /etc/default/shadowsocks cp ./debian/config.json /etc/shadowsocks/config.json chmod +x /etc/init.d/shadowsocks # 编辑配置文件 vim /etc/shadowsocks/config.json # 启动服务 service shadowsocks start ``` CentOS ``` cd /tmp # 下载源码 git clone https://github.com/madeye/shadowsocks-libev.git # 开始编译 cd shadowsocks-libev ./configure --prefix=/usr make && make install # 准备必须的文件 mkdir -p /etc/shadowsocks cp ./rpm/SOURCES/etc/init.d/shadowsocks /etc/init.d/shadowsocks cp ./debian/config.json /etc/shadowsocks/config.json chmod +x /etc/init.d/shadowsocks # 编辑配置文件 vim /etc/shadowsocks/config.json # 启动服务 service shadowsocks start ```