1
0
Fork
You've already forked nextcloud-zero
0
Script instalacion Nextcloud
  • Shell 100%
Find a file
2022年07月29日 21:14:11 +02:00
README.md Actualizar 'README.md' 2022年07月29日 21:01:48 +02:00
zero.sh Actualizar 'zero.sh' 2022年07月29日 21:14:11 +02:00


 Carsten Rieger IT-Services
 https://www.c-rieger.de

Script de Instalacion para Nextcloud

Instala tu propio servidor Nextcloud en menos de 10 minutos.

  • Ubuntu 20.04 LTS [AMD x86_64] / 22.04 LTS [AMD x86_64] / Debian 11.x [AMD x86_64]
    Soporte de Proxmox LXCnew
    (Tenga en cuenta que Debian requiere una opción de Proxmox llamada 'nesting=1')
  • NGINX 1.21 from nginx
  • Selección / Option: PHP 8.1 // PHP 8.0 // PHP 7.4
  • Selección / Option: MariaDB // postgreSQL
  • Selección / Option: Self-signed // Let's Encrypt certificates
  • Selección / Option: Nextcloud Release 24.x
    (Las versiones de Nextcloud inferiores a 24 no son compatibles con PHP 8.1, configure su version de php!)
  • Selección / Option: Nextcloud Office/OnlyOffice
  • etc...

INSTALACION (Ubuntu/Debian):

Preparativos:

sudo -s
apt install -y git
git clone https://codeberg.org/daire/nextcloud-zero
cp nextcloud-zero/zero.sh .
chmod +x zero.sh

D/E: Modificar las variables de configuración:

nano zero.sh

NEXTCLOUDDATAPATH="/data"
NEXTCLOUDADMINUSER="nc_admin"
NEXTCLOUDADMINUSERPASSWORD=$(openssl rand -hex 16)
NCRELEASE="latest.tar.bz2"
PHPVERSION="8.1"
NEXTCLOUDDNS="dominio.duckdns.org"
LETSENCRYPT="n"
NEXTCLOUDEXTIP=$(dig +short txt ch whoami.cloudflare @1.0.0.1)
MARIADBROOTPASSWORD=$(openssl rand -hex 16)
DATABASE="m"
NCDBUSER="ncdbuser"
NCDBPASSWORD=$(openssl rand -hex 16)
CURRENTTIMEZONE='Europe/Madrid'
PHONEREGION='ES'
NEXTCLOUDOFFICE="n"
ONLYOFFICE="n"

Instalacion:

./zero.sh

DESINSTALAR:

Si quieres volver a ejecutar el script, por favor, desinstálalo primero:
/home/*benutzer*/Nextcloud-Installationsskript/uninstall.sh
rm -f /home/*benutzer*/Nextcloud-Installationsskript/uninstall.sh

Eliminar todos los datos, bases de datos y software de la instalación anterior. Después podrá volver a ejecutar el script de instalación.

INSTALACIÓN/REINSTALACIÓN:

./zero.sh

/LOGFILE:

nano /home/*benutzer*/Nextcloud-Installationsskript/install.log

Puede encontrar más información sobre el endurecimiento, la optimización y la mejora aquí:

https://www.c-rieger.de/nextcloud-installationsanleitung/

Carsten Rieger IT-Services