[nextcloud] little fix
This commit is contained in:
parent
949e5b7a18
commit
ef7c7b3355
|
@ -45,17 +45,15 @@ else
|
|||
fi
|
||||
|
||||
## Update system packages
|
||||
apt update -y
|
||||
|
||||
apt install nginx mariadb-server apt-transport-https curl gnupg2 git lsb-release ssl-cert ca-certificates apt-transport-https tree locate software-properties-common dirmngr screen htop net-tools zip unzip curl ffmpeg ghostscript libfile-fcntllock-perl -y
|
||||
|
||||
apt -y install lsb-release apt-transport-https ca-certificates
|
||||
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
|
||||
wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add -
|
||||
echo "deb https://packages.sury.org/php/ $OS main" | tee /etc/apt/sources.list.d/ondrej.list
|
||||
apt update -y
|
||||
|
||||
apt install nginx mariadb-server apt-transport-https curl gnupg2 git lsb-release ssl-cert ca-certificates apt-transport-https tree locate software-properties-common dirmngr screen htop net-tools zip unzip curl ffmpeg ghostscript libfile-fcntllock-perl -y
|
||||
|
||||
systemctl start nginx || (echo "Erreur quelque part ..." && exit 1)
|
||||
systemctl start mariadb || (echo "Erreur quelque part ..." && exit 1)
|
||||
systemctl enable mariadb || (echo "Erreur quelque part ..." && exit 1)
|
||||
|
|
Loading…
Reference in New Issue