Collaborate on office docs with NextCloud
Linux Format|November 2020
Collaborate on office docs with NextCloud
If you’re seeking a secure and effective way of document editing within your Nextcloud instance, Kseniya Fedoruk has the right solution for you.
Kseniya Fedoruk

We’re sure that your day-to-day activities include file exchange and content management. And we wouldn’t be surprised if you’re using Nextcloud for these purposes. This popular open-source sync and share platform offers plenty of functionality and can be installed on your private server.

Nextcloud’s flexible applications ecosystem also enables you to add various tools. Online processing and the ability to co-author documents are key factors when creating a fully-featured working environment. And you can easily do this with OnlyOffice – an open-source web-based office suite that provides you with advanced online editors for text documents, spreadsheets, and presentations, which are compatible with Microsoft’s Office Open XML’s formats (.docx, .xlsx, and .pptx).

Document Server

To set up this working environment you’ll need an instance of OnlyOffice Document Server (online editors) that’s resolvable and can be connected to Nextcloud and any end clients. OnlyOffice must also be able to POST to Nextcloud directly.

OnlyOffice Document Server and Nextcloud can run on different systems as well as on the same machine. For the latter option, you’ll need to set up a custom port for Document Server, because by default both OnlyOffice Document Server and Nextcloud work on port 80. Using Document Server behind a proxy is also possible.

The easiest way to start an instance of OnlyOffice Document Server is to use Docker. You can install the latest Docker version and OnlyOffice Document Server with all the needed dependencies by running the following commands:

  • $ sudo apt-get install docker-ce
  • $ sudo docker run -i -t -d -p 80:80 onlyoffice/ documentserver

Connector for Nextcloud

The next step is to obtain the OnlyOffice connector (in other words, the integration tool) for Nextcloud. This functions as a bridge between the two services.

Go to the Nextcloud server apps/ directory (or another directory that’s used to connect applications): cd apps/. Next, obtain the OnlyOffice connector for Nextcloud. You can download the latest version from the official Nextcloud App Store, or clone the application source code and compile it yourself:

articleRead

You can read up to 3 premium stories before you subscribe to Magzter GOLD

Log in, if you are already a subscriber

GoldLogo

Get unlimited access to thousands of curated premium stories, newspapers and 5,000+ magazines

READ THE ENTIRE ISSUE

November 2020