皆さんの日常業務には、ファイル交換やコンテンツ管理(新しいタブで開きます)が含まれると思います。そして、これらの目的で Nextcloud (新しいタブで開きます)を使用しているとしても、私たちは驚かないでしょう。
この人気のあるオープンソースの同期および共有プラットフォームは、豊富な機能を提供しており、プライベート サーバーにインストールできます(新しいタブで開きます)。
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.
- These are the best online collaboration tools (opens in new tab)
- Here’s our list of the best free office software (opens in new tab)
- Take a look at the best business laptops (opens in new tab)
This article first appeared in Linux Format Magazine, Issue #269, published in November 2020.
And you can easily do this with OnlyOffice (opens in new tab) – 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.
Nextcloud サーバーの apps/ ディレクトリ (またはアプリケーションの接続に使用される別のディレクトリ) に移動します。次に、Nextcloud 用の OnlyOffice コネクタを取得します。公式 Nextcloud App Store から最新バージョンをダウンロードするか、アプリケーションのソース コードを複製して自分でコンパイルすることができます。
$ git clone https://github.com/ONLYOFFICE/onlyoffice-nextcloud.git onlyoffice
これを完了したら、所有者を変更して Nextcloud の Web インターフェイスからアプリケーションを更新します。
$ chown -R www-data:www-data onlyoffice
次に、Nextcloud にアクセスし、有効になっていないアプリのページを開き、[有効にする] ボタンをクリックして OnlyOffice アプリケーションを起動します。