Try the fastest and simplest way to install ONLYOFFICE

Installation Guide

ONLYOFFICE Open Source Version news

Installation Guide

Postby Dean » Thu Dec 25, 2014 1:26 pm

We're glad to inform you, that the ONLYOFFICE 8.1 for rpm-based systems is released.

System Requirements:

2 Gb RAM;

2 Gb Swap-file;

HDD: 2 Gb free space;

Distribution kit: Red Hat, Cent OS, or compatible one;

mono: version 3.2 or higher;

MySQL: version 5.6 or higher;

nginx;


Dependencies setup:

ONLYOFFICE uses Mono, nginx and MySQL-server as a database. Dependencies (which are to be found in the system repositorium) will be installed automatically during the installation process with 'yum install' command.

Adding of repo which includes actual package versions of mono and xsp (official guide: http://www.mono-project.com/docs/getting-started/install/linux/).
Add GPG-key

sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"

Add the repo:

sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos/

Note:
Utility 'yum-config-manager' you may find in 'yum-utils' package.

Note:
We recommend you to use mono version 3.10 or higher. You may find out the mono version by executing the 'mono --version' command

Adding the nginx repo (Official guide: http://wiki.nginx.org/Install). Create file: /etc/yum.repos.d/nginx.repo and add the following text:

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1

Change '$releasever' to your OS version (5 for 5.x versions, 6 for 6.xversions, 7 for 7.x and so on).

Adding the MySQL repo (Official guide: http://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/linux-installation-yum-repo.html). Follow the link to the page of downloading repo:http://dev.mysql.com/downloads/repo/yum/. Select the package wich is more suitable for your OS. Download and install the package by 'rpm -i' command. ПAfter the command is executed, the official repo of MySQL 5.6 will be added to your system..


Example:
Add the repo of MySQL for RHEL 7 you can be executing the following commands: wget http://dev.mysql.com/get/mysql-communit ... noarch.rpm sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm

ONLYOFFICE installation:

Add the yum-repo of ONLYOFFICE, by creating '/etc/yum.repos.d/onlyoffice.repo' file which contains:

[onlyoffice]
name=onlyoffice repo
baseurl=http://download.onlyoffice.com/repo/centos/noarch/
gpgcheck=0
enabled=1

Install ONLYOFFICE

sudo yum install onlyoffice

ONLYOFFICE configuring:

Before the ONLYOFFICE is launched it is necessary to create DB and configure the connection to it. To do it, please, launch the configuration script: /var/www/onlyoffice/configure.sh Script will request the parameters of MySQL connection, create the DB, renew the configuration files and launch all services.

Note:
Script doesn't create any users for DB or change any passwords to the existing ones.

NB: This version doesn't include the text editors. as we're working on them at the moment. The Editors are planned to be released at the beginning of the next year.
Dean
 
Posts: 700
Joined: Tue Sep 30, 2014 11:04 am

Return to ONLYOFFICE for *NIX

Who is online

Users browsing this forum: No registered users and 1 guest

cron