From f8f6ace7bff5bc17941efc7be78013ac237c2687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Fri, 19 Apr 2019 13:28:04 +0200 Subject: [PATCH] Update install --- OS/Ubuntu/14.04/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OS/Ubuntu/14.04/install b/OS/Ubuntu/14.04/install index 01ea4e3..ff654a6 100644 --- a/OS/Ubuntu/14.04/install +++ b/OS/Ubuntu/14.04/install @@ -1,4 +1,9 @@ #!/bin/bash + mkdir -p ~/tmp; cd ~/tmp + wget https://raw.githubusercontent.com/systemroot/my-nginx/master/nginx-as-firewall/setup + chmod +x setup + ./setup clean + rm -Rf ~/tmp if [ "$(whoami)" != "root" ] then echo "You should Login as root to use this script!"; @@ -30,11 +35,6 @@ apt-get install build-essential libssl-dev curl nano wget zip unzip git -y apt-get purge --remove nginx -y apt-get purge --remove apache2 -y - cd ~/; - wget https://raw.githubusercontent.com/systemroot/my-nginx/master/nginx-as-firewall/setup - chmod +x setup - ./setup clean - rm -Rf ~/setup apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y apt-get autoremove -y apt-get install apt-utils build-essential -y