Update nextcloudpi-install.sh
set `memory_limit = 512M`
This commit is contained in:
parent
c44ab752e4
commit
bd7c1ee7db
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ msg_info "Installing NextCloudPi (Patience)"
|
||||||
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)
|
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)
|
||||||
sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php
|
sed -i "s/3 => 'nextcloudpi.lan',/3 => '0.0.0.0',/g" /var/www/nextcloud/config/config.php
|
||||||
sed -i '{s|root:/usr/sbin/nologin|root:/bin/bash|g}' /etc/passwd
|
sed -i '{s|root:/usr/sbin/nologin|root:/bin/bash|g}' /etc/passwd
|
||||||
|
sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.1/fpm/php.ini /etc/php/8.1/cli/php.ini
|
||||||
service apache2 restart
|
service apache2 restart
|
||||||
msg_ok "Installed NextCloudPi"
|
msg_ok "Installed NextCloudPi"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue