mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-04-19 14:23:09 +01:00
ARM64 compatible
Made the script compatible for both: AMD64 and ARM64 yet
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
# https://www.c-rieger.de
|
# https://www.c-rieger.de
|
||||||
# https://github.com/riegercloud
|
# https://github.com/riegercloud
|
||||||
# INSTALL-NEXTCLOUD.SH
|
# INSTALL-NEXTCLOUD.SH
|
||||||
# Version 6.0
|
# Version 6.1 (ARM64 compatible)
|
||||||
# OpenSSL 1.1.1, TLSv1.3
|
# OpenSSL 1.1.1, TLSv1.3
|
||||||
# October, 02nd 2018
|
# October, 05th 2018
|
||||||
################################################
|
################################################
|
||||||
# Ubuntu 18.04 LTS AMD64 - Nextcloud 14
|
# Ubuntu 18.04 LTS AMD64 - Nextcloud 14
|
||||||
################################################
|
################################################
|
||||||
@@ -58,7 +58,7 @@ deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse restricted
|
|||||||
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
|
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
|
||||||
deb http://nginx.org/packages/mainline/ubuntu/ bionic nginx
|
deb http://nginx.org/packages/mainline/ubuntu/ bionic nginx
|
||||||
deb-src 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
|
deb http://ftp.hosteurope.de/mirror/mariadb.org/repo/10.3/ubuntu bionic main
|
||||||
EOF
|
EOF
|
||||||
wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key
|
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
|
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
|
||||||
@@ -77,7 +77,7 @@ sed -i "s/.*-Werror.*/# &/" /usr/local/src/nginx/nginx-1.15.5/auto/cc/gcc
|
|||||||
cd /usr/local/src/nginx/nginx-1.15.5/
|
cd /usr/local/src/nginx/nginx-1.15.5/
|
||||||
apt build-dep nginx -y && dpkg-buildpackage -b
|
apt build-dep nginx -y && dpkg-buildpackage -b
|
||||||
cd /usr/local/src/nginx/
|
cd /usr/local/src/nginx/
|
||||||
dpkg -i nginx_1.15.5-1~bionic_amd64.deb
|
dpkg -i nginx_1.15.5-*.deb
|
||||||
service nginx restart && apt-mark hold nginx
|
service nginx restart && apt-mark hold nginx
|
||||||
# apt install nginx -y
|
# apt install nginx -y
|
||||||
###enable NGINX autostart
|
###enable NGINX autostart
|
||||||
|
|||||||
Reference in New Issue
Block a user