分享

Installing ONLYOFFICE Docs Community Edition for Windows on a local server

 hncdman 2022-04-13

ONLYOFFICE Docsv7.0ONLYOFFICE Docs changelog

Introduction

Community Edition allows you to install ONLYOFFICE Docs on your local server and integrate online editors with ONLYOFFICE collaboration platform or other popular systems.

ONLYOFFICE Docs is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.

Functionality

  • Document Editor

  • Spreadsheet Editor

  • Presentation Editor

  • Mobile web viewers

  • Collaborative editing

  • Hieroglyph support

  • Support for all the popular formats: DOC, DOCX, TXT, ODT, RTF, ODP, EPUB, ODS, XLS, XLSX, CSV, PPTX, HTML

See the detailed list of features available for ONLYOFFICE Docs Community Edition.

Integrating it with ONLYOFFICE Groups you will be able to:

  • share files;

  • manage access rights to documents;

  • embed documents on a website;

  • view and edit files stored on Drive, Box, Dropbox, OneDrive, OwnCloud connected to ONLYOFFICE.

If you want to use ONLYOFFICE Docs together with ONLYOFFICE Groups, they must be installed on two different machines.

This guide will show you how to install ONLYOFFICE Docs Community Edition Windows version to your machine.

System requirements

  • OS

    64-bit Windows Server 2012 or higher

  • Additional requirements

    • Erlang: version 19.1

    • RabbitMQ: version 3.5.4

    • PostgreSQL: version 12.9 or later

Installing prerequisites

Download and install the following components:

Creating a database

You can create a database using the pgAdmin tool or Command Prompt.

You can specify any user name and password.

Method 1

  1. Run the "%ProgramFiles%\PostgreSQL\12\pgAdmin 4\bin\pgAdmin4.exe" executable file.

  2. In the pgAdmin window, connect to the PostgreSQL server and create a new login role named onlyoffice with the onlyoffice password. To do that perform the following steps:

    1. Right-click on the Login/Group Roles item in the left-side menu and select Create -> Login/Group Role.

    2. In a new window that opens enter onlyoffice in the Name field.

      Installing ONLYOFFICE Docs

    3. Switch to the Definition tab and enter onlyoffice in the Password field.

    4. Go to the Privileges tab and click on the Can login? switcher to set the Yes value.

      Installing ONLYOFFICE Docs

    5. Click the Save button.

  3. Create the onlyoffice database, choosing the created login role onlyoffice as an owner.

    To do that, right-click on the Databases item in the left-side menu, select Create -> Database.... In a new window that opens enter onlyoffice in the Database field and select the onlyoffice role in the Owner list, then click Save.

    Installing ONLYOFFICE Docs

Method 2

Run the Command Prompt (press the win+r key combination, type in cmd and press Enter).

Consistently execute the following commands:

cd "%ProgramFiles%\PostgreSQL\12\bin"
psql -U postgres -c "CREATE DATABASE onlyoffice;"
psql -U postgres -c "CREATE USER onlyoffice WITH password 'onlyoffice';"
psql -U postgres -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"

Installing ONLYOFFICE Docs

Installing ONLYOFFICE Docs

As soon as all the components are installed and the database is created, you can proceed to the main program installation. Download the Community Edition installation file in the ONLYOFFICE Docs section.

Double-click the onlyoffice-documentserver.exe file you have just downloaded.

By default ONLYOFFICE Docs listens to the incoming connections using port 80. Starting with version 4.3 you can change the port for ONLYOFFICE Docs if you plan to use it instead of the default one. To do that run the executable file with the parameter:

onlyoffice-documentserver.exe /DS_PORT=<PORT_NUMBER>

Where <PORT_NUMBER> is the number of port you want ONLYOFFICE Docs to use.

The DocumentServer Setup Wizard will be launched. Click the Next > button to start the installation process.

Installing ONLYOFFICE Docs

By default, ONLYOFFICE Docs will be installed to the following folder: C:\Program Files\ONLYOFFICE\DocumentServer\. If necessary, you can change it clicking the Browse button and selecting the necessary folder on your computer. Then click the Next > button.

Installing ONLYOFFICE Docs

If some additional components necessary for the ONLYOFFICE Docs proper work are missing on your PC, these dependencies will be downloaded and installed first. Click the Install button and wait while the missing components are being installed. If the required components are already installed on your PC, the ONLYOFFICE Docs installation will start.

Installing ONLYOFFICE Docs

In the Configuring PostgreSQL connection dialog window, specify the following parameters:

  • Host: localhost

  • User: onlyoffice

  • Password: onlyoffice

  • Database: onlyoffice

Installing ONLYOFFICE Docs

In the Configuring RabbitMQ connection dialog window, specify the following parameters:

  • Host: localhost

  • User: guest

  • Password: guest

Installing ONLYOFFICE Docs

Once the installation process is completed, click the Finish button to close the wizard window.

Installing ONLYOFFICE Docs

If the Open ONLYOFFICE DocumentServer demo option is checked, the Community Edition welcome page will open in your browser. Alternatively, you can enter http://localhost/example in the address bar of your browser. Here you can find further instructions on how to enable document examples or integrate online editors into your web application using the provided API.

To connect ONLYOFFICE Docs to ONLYOFFICE Groups, please refer to this instruction.

DOWNLOADHost on your own serverAvailable for
Docker, Windows and Linux

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多