Kaynağa Gözat

Update shadowsocks-libev.sh

蘭雅sRGB 6 yıl önce
ebeveyn
işleme
565f51731a
1 değiştirilmiş dosya ile 11 ekleme ve 2 silme
  1. 11 2
      shadowsocks-libev.sh

+ 11 - 2
shadowsocks-libev.sh

@@ -6,7 +6,7 @@ if [ -e /etc/debian_version ];then
     apt update && apt install -y ca-certificates wget curl unzip vim htop tmux
 
     ## Debian / Ubuntu   build-essential
-    apt install -y git gettext build-essential autoconf libtool libpcre3-dev automake
+    apt install -y git gettext build-essential autoconf libtool automake
 else
     echo "       Centos 7 Usage another Script!         "
     echo "Usage: bash <(curl -L -s git.io/fhExJ) update "
@@ -25,6 +25,15 @@ make install
 
 cd ~/libev_ss
 
+wget http://deb.debian.org/debian/pool/main/p/pcre3/pcre3_8.35.orig.tar.gz
+tar xf pcre3_8.35.orig.tar.gz
+cd pcre-8.35
+./configure
+make
+make install
+
+cd ~/libev_ss
+
 wget https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.gz
 tar xf xmlto-0.0.28.tar.gz
 cd xmlto-0.0.28
@@ -83,4 +92,4 @@ make
 make install
 
 /usr/local/bin/ss-server -v
-############################
+############################