From 86ddae679495a50649db4fe24e90a5ad65446658 Mon Sep 17 00:00:00 2001 From: HoroshoVse <127848249+HoroshoVse@users.noreply.github.com> Date: Sun, 1 Sep 2024 16:57:53 +0300 Subject: [PATCH] Update Ocserv-Installer.sh --- Ocserv-Installer.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Ocserv-Installer.sh b/Ocserv-Installer.sh index 0085d48..421936b 100644 --- a/Ocserv-Installer.sh +++ b/Ocserv-Installer.sh @@ -262,15 +262,10 @@ function OCSERV_INSTALL() { echo -e "${GREEN}DONE${EC}" # Install OCServ and Certbot echo -e "${GREEN}Installing OCServ...${EC}" - apt install -y git build-essential libgnutls28-dev libev-dev autoconf automake libtool libpam0g-dev liblz4-dev libseccomp-dev libreadline-dev libnl-route-3-dev libkrb5-dev libradcli-dev libcurl4-gnutls-dev libcjose-dev libjansson-dev liboath-dev libprotobuf-c-dev libtalloc-dev libhttp-parser-dev protobuf-c-compiler gperf iperf3 lcov libuid-wrapper libpam-wrapper libnss-wrapper libsocket-wrapper gss-ntlmssp haproxy iputils-ping freeradius gawk gnutls-bin iproute2 yajl-tools tcpdump - git clone -b 1.3.0 https://gitlab.com/openconnect/ocserv - cd ocserv - autoreconf -fvi - ./configure --prefix=/usr - make - sudo make install - sudo systemctl enable ocserv - sudo systemctl start ocserv + sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5D8254EE27F87379 + yes | sudo add-apt-repository ppa:eisaev/ocserv + apt-get update + apt-get install ocserv -y echo -e "${GREEN}DONE${EC}" echo -e "${GREEN}Installing Certbot...${EC}" apt-get install -y certbot