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