NextCloud: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Created page with "== Installation notes == == Accepting self-signed SMTP TLS certificate == * Copy /etc/postfix/smtpd.cert from mail server to /usr/local/share/ca-certificates on nextcloud se...")
 
m (+Category)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Installation notes ==
== Installation notes ==
=== Guides ===
* [https://www.techrepublic.com/article/how-to-install-nextcloud-13-on-ubuntu-18-04/ TechRepublic]
* [https://docs.nextcloud.com/server/14/admin_manual/installation/source_installation.html#prerequisites-label NextCloud Docs]
=== 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 ==
== Accepting self-signed SMTP TLS certificate ==
Line 7: 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