mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 16:43:17 +01:00
Update nextcloudpi-v5-install.sh
fix shell access
This commit is contained in:
parent
6ee0e2047a
commit
7c75036e3c
@ -88,6 +88,7 @@ msg_ok "Installed Dependencies"
|
|||||||
msg_info "Installing NextCloudPi (Patience)"
|
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/nologing|root:/bin/bash|g}' /etc/passwd
|
||||||
service apache2 restart
|
service apache2 restart
|
||||||
msg_ok "Installed NextCloudPi"
|
msg_ok "Installed NextCloudPi"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user