From 2ad79d61e5fe706ebda442f44cf522adc9e08417 Mon Sep 17 00:00:00 2001 From: "rieger::CLOUD" Date: Fri, 21 Sep 2018 13:34:05 +0200 Subject: [PATCH] More flexible and beyond that wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 --- install-nextcloud.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install-nextcloud.sh b/install-nextcloud.sh index 8802a63..5c8b28d 100644 --- a/install-nextcloud.sh +++ b/install-nextcloud.sh @@ -59,12 +59,11 @@ deb http://nginx.org/packages/mainline/ubuntu/ bionic nginx deb-src http://nginx.org/packages/mainline/ubuntu/ bionic nginx deb [arch=amd64] http://ftp.hosteurope.de/mirror/mariadb.org/repo/10.3/ubuntu bionic main EOF +wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key +apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 update_and_clean apt install software-properties-common zip unzip screen curl git wget ffmpeg libfile-fcntllock-perl -y apt remove nginx nginx-common nginx-full -y --allow-change-held-packages -if [ ! -f /usr/local/src/nginx_signing.key ]; then -wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key -fi update_and_clean ###instal NGINX apt install nginx -y @@ -205,8 +204,6 @@ mount -a service php7.2-fpm restart service nginx restart ###install MariaDB -apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 -mariadbinfo apt update && apt install mariadb-server -y /usr/sbin/service mysql stop ###configure MariaDB