Update 'setup_nextcloud.sh'

This commit is contained in:
dimon 2025-01-29 15:42:04 +00:00
parent 0d073a5533
commit e240002c94

View File

@ -3,6 +3,10 @@
# Prepare
sh /setup_programs.sh
# Enable PHP repo
apt-get install -y software-properties-common
add-apt-repository ppa:ondrej/php
# PHP 7.4 old
apt install -y apache2 libapache2-mod-php7.4
apt install -y php7.4-gd php7.4-curl php7.4-mbstring php7.4-intl
@ -10,10 +14,21 @@ apt install -y php7.4-pgsql
apt install -y php-apcu php-memcached php-redis
apt install -y php7.4-gmp php7.4-bcmath php-imagick php7.4-xml php7.4-zip
# PHP 8.0 new
apt install -y libapache2-mod-php8.0
apt install -y php8.0 php8.0-cli
apt install -y php8.0-gd php8.0-bz2 php8.0-curl php8.0-mbstring php8.0-intl
apt install -y php8.0-pgsql
apt install -y php-apcu php-memcached php-redis
apt install -y php8.0-gmp php8.0-bcmath php-imagick php8.0-xml php8.0-zip
# PHP 8.2 new
apt-get install -y software-properties-common
add-apt-repository ppa:ondrej/php
apt install -y php8.2 php8.2-cli php8.2-{bz2,curl,mbstring,intl}
apt install -y libapache2-mod-php8.2
apt install -y php8.2 php8.2-cli
apt install -y php8.2-gd php8.2-bz2 php8.2-curl php8.2-mbstring php8.2-intl
apt install -y php8.2-pgsql
apt install -y php-apcu php-memcached php-redis
apt install -y php8.2-gmp php8.2-bcmath php-imagick php8.2-xml php8.2-zip
# Get Nextcloud
wget https://download.nextcloud.com/server/releases/nextcloud-$NEXTCLOUD_VERSION.tar.bz2