mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-03-08 05:31:52 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user