Update Ocserv-Installer.sh
This commit is contained in:
@@ -262,7 +262,6 @@ function OCSERV_INSTALL() {
|
|||||||
echo -e "${GREEN}DONE${EC}"
|
echo -e "${GREEN}DONE${EC}"
|
||||||
# Install OCServ and Certbot
|
# Install OCServ and Certbot
|
||||||
echo -e "${GREEN}Installing OCServ...${EC}"
|
echo -e "${GREEN}Installing OCServ...${EC}"
|
||||||
|
|
||||||
apt-get install -y libgnutls28-dev libev-dev
|
apt-get install -y libgnutls28-dev libev-dev
|
||||||
wget -P /opt/ https://www.infradead.org/ocserv/download/ocserv-1.3.0.tar.xz
|
wget -P /opt/ https://www.infradead.org/ocserv/download/ocserv-1.3.0.tar.xz
|
||||||
tar -xvf /opt/ocserv-1.3.0.tar.xz -C /opt/
|
tar -xvf /opt/ocserv-1.3.0.tar.xz -C /opt/
|
||||||
@@ -277,8 +276,6 @@ function OCSERV_INSTALL() {
|
|||||||
cp doc/systemd/standalone/ocserv.service /lib/systemd/system/
|
cp doc/systemd/standalone/ocserv.service /lib/systemd/system/
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable ocserv.service
|
systemctl enable ocserv.service
|
||||||
|
|
||||||
|
|
||||||
echo -e "${GREEN}DONE${EC}"
|
echo -e "${GREEN}DONE${EC}"
|
||||||
echo -e "${GREEN}Installing Certbot...${EC}"
|
echo -e "${GREEN}Installing Certbot...${EC}"
|
||||||
apt-get install -y certbot
|
apt-get install -y certbot
|
||||||
|
|||||||
Reference in New Issue
Block a user