8
INSTALLING ONLYOFFICE DOCUMENT SERVER LINUX VERSION © Ascensio System SIA. All rights reserved 2010 - 2014

How to install online editors using ONLYOFFICE Document Server

Embed Size (px)

Citation preview

Page 1: How to install online editors using ONLYOFFICE Document Server

INSTALLING ONLYOFFICE DOCUMENT SERVER LINUX VERSION

© Ascensio System SIA. All rights reserved 2010 - 2014

Page 2: How to install online editors using ONLYOFFICE Document Server

Introduction

This guide will show you how to install ONLYOFFICE Document Server Linux version to your machine.

© Ascensio System SIA. All rights reserved 2010 - 2014

Page 3: How to install online editors using ONLYOFFICE Document Server

Installation Instructions

System Requirements

RAM: 2 GB or more

Swap file: at least 2 GB

HDD: at least 2 GB of free space

Distributive: Debian, Ubuntu or other compatible distributive

mono: version 4.0.0 or later

MySQL: version 5.6.4 or later

nginx: version 1.3.13 or later

nodejs: version 0.10 or later

libstdc++6: version 4.9 or later

© Ascensio System SIA. All rights reserved 2010 - 2014

Page 4: How to install online editors using ONLYOFFICE Document Server

Debian, Ubuntu and Derivatives

Installation with Debian based distributives also requires the presence of mono (version 4.0.0 or later), nodejs, libstdc++6, nginx and mysql-server in the system.

All the necessary instructions for these components and their dependencies installation can be found at their official websites.

There are other dependencies installed together with ONLYOFFICE Document Server:

· mono-fastcgi-server· libcurl3· libxml2· supervisor· python3· python3-uno· libreoffice· fonts-dejavu· fonts-liberation· ttf-mscorefonts-installer· fonts-crosextra-carlito

These dependencies are installed automatically when you use Ubuntu 14.04 LTS or later. Earlier distributives might require their manual installation.

Installing DependenciesONLYOFFICE Document Server uses mono (version 4.0 or later), nginx and mysql-server as database. Dependencies found in the system repository will be installed automatically at ONLYOFFICE installation using the apt-get install command.

Adding the repository containing the up-to-date mono and mono-fastcgi-server package versions (official instructions)

Add GPG key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

Add repository:

© Ascensio System SIA. All rights reserved 2010 - 2014

Page 5: How to install online editors using ONLYOFFICE Document Server

echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/3.12.0 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

Update repository:

apt-get update

Adding the repository containing the up-to-date ttf-mscorefonts-installer package versions

Add repository:

echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" | sudo tee -a /etc/apt/sources.list

Update repository:

apt-get update

Adding the repository containing the up-to-date libstdc++6 package versions

Add repository:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

Update repository:

apt-get update

Note:

Ubuntu distributives prior to 14.04 LTS might require some other dependencies to be installed.

Installing ONLYOFFICE

Download and install GPG key:

sudo wget http://download.onlyoffice.com/repo/onlyoffice.key

sudo apt-key add onlyoffice.key

© Ascensio System SIA. All rights reserved 2010 - 2014

Page 6: How to install online editors using ONLYOFFICE Document Server

Add ONLYOFFICE repository: using any available text editor (e.g. nano) add the following record to the /etc/apt/sources.list file:

deb http://download.onlyoffice.com/repo/debian squeeze main

Note:

While the APT package is built against Debian Squeeze, it is compatible with a number of Debian derivatives (including Ubuntu) which means you can use the same repository across all these

distributions.

Update the package manager cache:

sudo apt-get update

Install ONLYOFFICE Document Server

sudo apt-get install onlyoffice-documentserver

After that ONLYOFFICE Document Server will become available and will be updated just like any other deb package.

© Ascensio System SIA. All rights reserved 2010 - 2014

Page 7: How to install online editors using ONLYOFFICE Document Server

Running ONLYOFFICE Using HTTPSYou can easily run ONLYOFFICE Document Server using secure connection with Docker image. Please see the details here to learn more on how this can be done.

© Ascensio System SIA. All rights reserved 2010 - 2014