User Tools

Site Tools


nextcloud

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:

wget https://download.nextcloud.com/server/releases/nextcloud-17.0.0.zip

Unzip:

apt install unzip

unzip nextcloud-17.0.0.zip

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 20:16 by admin