User Tools

Site Tools


mysql -u root -p

Dann SQL-Datenbank und Nutzer dazu anlegen:

CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'StrongDBP@SSwo$d'; CREATE DATABASE nextcloud; GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost'; FLUSH PRIVILEGES; QUIT

php.ini anpassen /etc/php/7.3/fpm/php.ini

date.timezone = Europe/Berlin memory_limit = 512M upload_max_filesize = 500M post_max_size = 500M max_execution_time = 300

Restart nginx

systemctl restart nginx.service

Download Nextcloud:



apt install unzip


mv nextcloud /var/www/html/

cd /var/www/html/

chown -R www-data:www-data nextcloud

sudo -u www-data php occ maintenance:install –database “mysql” –database-name “nextcloud” –database-user “root” –database-pass “password” –admin-user “admin” –admin-pass “password”

apt install letsencrypt

systemctl stop nginx.service

certbot certonly standalone -d hostname

systemctl start nginx.service

In /etc/php/7.3/fpm/pool.d/www.conf folgendes auskommentieren:

env[HOSTNAME] = $HOSTNAME env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin env[TMP] = /tmp env[TMPDIR] = /tmp env[TEMP] = /tmp

nextcloud.txt · Last modified: 2019/10/03 18:16 by admin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki