NextCloud: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
m (+Category)
 
Line 30: Line 30:


[https://unix.stackexchange.com/questions/90450/adding-a-self-signed-certificate-to-the-trusted-list/132163#132163 Credits]
[https://unix.stackexchange.com/questions/90450/adding-a-self-signed-certificate-to-the-trusted-list/132163#132163 Credits]
[[Category:Linux]]

Latest revision as of 15:55, 15 August 2023

Installation notes

Guides

Debian packages

apt install nano apache2 mariadb-server php7.2-gd php7.2-json php7.2-mysql php7.2-curl php7.2-mbstring php7.2-intl php-imagick php7.2-xml php-imagick php7.2-zip php7.2-json php7.2-mbstring libapache2-mod-php7.2 wget curl unzip mc net-tools

MySQL setup

create user nextclouduser@localhost identified by 'password';
grant all privileges on nextcloud.* to nextclouduser@localhost;

Misc

chown www-data:www-data /var/www/html/nextcloud/ -R
a2enmod rewrite
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime

Accepting self-signed SMTP TLS certificate

  • Copy /etc/postfix/smtpd.cert from mail server to /usr/local/share/ca-certificates on nextcloud server
  • Issue update-ca-certificates on nextcloud server

Credits