ONLYOFFICE is an open source suite that is distributed under GNU AGPL v3.0. It consists of online collaborators for text documents, spreadsheets and presentations. By integrating ONLYOFFICE with open source synchronization and sharing service Nextcloud, users can edit and co-author their documents stored there directly on the platform.
Cloudron is a platform that offers sysadmin inside for self-hosted open source tools and allows installation, management and secure web apps on your server with less effort.
In this tutorial we learn how to easily run ONLYOFFICE in combination with Nextcloud on a Cloudron instance.
. Install and configure Cloudron on your server
Create a new Ubuntu Bionic 18.04 x64 server and run the following commands:
wget https://cloudron.io/cloudron-setup Chapter19459009 1988chmod + x. / cloudron-setup Chapter19459009vard./cloudron -installation - supplier <digitalocean | hetzner | generic | ovh ...]
When you are finished, proceed to https: //
In the Cloudron Setup Wizard displayed, enter a domain such as example.com .
Select the DNS service where the domain is hosted in the list box and enter the necessary information (such as API key, token, etc.). If your web host is not on the list, domain settings can be done manually.
When the DNS installation is complete, you are redirected to https://my.example.com . Create a Cloudron administrator account: enter the administrator's username, email address, and password.
Step 2. Install Nextcloud on Cloudron
Go to the Cloudron App Store, find and install the Nextcloud app on your Cloudron server.
Step 3. Install ONLYOFFICE on Cloudron
Go to the Cloudron App Store, find and install the ONLYOFFICE app on your Cloudron server.
Step 4. Installing ONLYOFFICE connection for Nextcloud
Find and install the latest version of ONLYOFFICE integration app from the Nextcloud app library.
Step 5. Configure the ONLYOFFICE app
Open the web terminal via the console section to access the app's file system and edit the file / app / data / config / production-linux .json change the default secret to your own unique secret key.
Go to the settings page of your Nextcloud and select the ONLYOFFICE section on the left panel. Then adjust the domain and enter the secret key (use the same one you have already changed in the app configuration file):
Return to the web terminal and run:
tutor restart ds: * .
That's it. Now you can work on your documents with ONLYOFFICE editors within Nextcloud at your Cloudron instance.