coopiop.blogg.se

Collabora online server nextcloud on debian server
Collabora online server nextcloud on debian server







  1. #Collabora online server nextcloud on debian server install
  2. #Collabora online server nextcloud on debian server upgrade
  3. #Collabora online server nextcloud on debian server download

#Collabora online server nextcloud on debian server install

Then simply pull down the image and run it.ĭocker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=office\\.organicdesign\\.nz' -restart unless-stopped -cap-add MKNOD collabora/code Using the Debian packageĪlthough using Docker is by far the simplest method, Docker is heavy and you may prefer to install loolwsd from a native Debian package to reduce dependencies and have it running in the native environment. Run through the Docker installation if you don't already have it installed. Note: If you're using the same domain for both Nextcloud and LOOL, you need to put the LOOL Nginx server block contents inside the Nextcloud block, see this for example.īy far the simplest method is to use Docker. Adjust the server_name parameter to the domain you're using and replace the SSL directives with an include of the we created above. We now need to add a reverse-proxy block into our Nginx configuration, you can use the block from the instructions here. I removed the upstream block and used unix:/run/php/ directly for the fastcgi_pass parameter.I noticed the install had used the wrong DB user once so may need editing in config.php.I changed the URL in config/config.php to https.

#Collabora online server nextcloud on debian server upgrade

After you've successfully installed Nextcloud, go to the admin updater to check for any problems or optimisations and upgrade to the latest stable version.

#Collabora online server nextcloud on debian server download

Nextcloud is PHP so first download the source and unpack it into /var/Also remove the SSL lines and replace them with an include of the we made above.Ī database and user will need to be created and then you can run through the install by going to the domain. Nextcloud is a "drop-box" style web-application which is completely open-source so you can install it on your own server, and it has built-in integration for working with LibreOffice Online. Openssl dhparam -out /var/www/dhparams.pem 2048 Install and configure Nextcloud Ssl_certificate_key /etc/letsencrypt/live//privkey.pem Īdd_header Strict-Transport-Security "max-age=31536000 includeSubDomains" always ĭon't forget to create the strong Diffi-Hellman parameters which we referred to in. Ssl_client_certificate /etc/letsencrypt/live//chain.pem Ssl_certificate /etc/letsencrypt/live//fullchain.pem Ssl_ciphers EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA256:EDH+aRSA:EECDH:!RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS # SSLlabs Ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2 This block uses a set of secure cyphers suggested by SSLlabs, see SSL for more details.

collabora online server nextcloud on debian server

You'll need to replace the certificate paths with the ones that LetsEncrypt created for you. Now create /var/with the following content that will be included from all SSL blocks. Letsencrypt/letsencrypt-auto certonly -q -keep -renew-with-new-domains -expand -webroot -w /var/www -agree-tos \ This will allow the LetsEncrypt domain validation requests to pass, but all other requests will be bounced to their respective HTTPS counterparts.Īnd then run it to make our certificates, after it has successfully created them add the command to be called from crontab daily.

collabora online server nextcloud on debian server

In the Nginx configuration for this site, add a basic block for handling non-HTTP requests as follows. Set up MariaDB from their repositories here, and create a database and user ready for Nextcloud.Ĭonfigure the web-server and SSL certificates Nginx php-fpm php-mysql php-zip php-gd php-curl php-mbstring php-xml php-apcu I'm using the domain here which you'll need to change for your own purposes.īring the machine up to date and install the following dependencies.Īpt install git net-tools apt-transport-https locales-all \ I'm documenting here my specific configuration to include the LetsEncrypt and other specific configuration aspects that are out of the scope of those instructions so that we have a more easily reproducible procedure. I'm following the instructions created by Collabora and Nextcloud from here, and more specifically the Nginx variation here.

collabora online server nextcloud on debian server

Nextcloud which is a brilliant groupware suite in its own right supports LibreOffice Online and integrates perfectly with it. LibreOffice has included a component to allow it to be served over HTTP since version 5.3 but to use it you need to integrate it with a cloud file system that supports it. This is our procedure for installing Nextcloud and LibreOffice Online on a Debian-based server.









Collabora online server nextcloud on debian server