Community Server uses
mono (version 3.2 or later),
mysql-server as database. Dependencies found in the system repository will be installed automatically at Community Server installation using the yum install command.
Adding the repository containing the up-to-date mono and xsp package versions (official instructions):
Add GPG key:
sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
The yum-config-manager can be found in the yum-utils package
We recommend that you use Community Server together with mono version 3.10 or later. You can find out your current version running the mono --version command
Adding the nginx repository (official instructions):
/etc/yum.repos.d/nginx.repo file with the following contents:
Change $releasever to your OS version manually (5 for versions 5.x, 6 for versions 6.x, 7 for versions 7.x and so on).
Adding the MySQL repository (official instructions):
Go to the package download page using the link. Select the most applicable package list for your OS. Download and install the package using the rpm -i command. After running the command the official repository for MySQL 5.6 will be added to your system.
You can add the MySQL repository to RHEL 7 using the following succession of commands:
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
Adding the Redis repository (official instructions):
Add the link with the EPEL repository to the list of available ones (EPEL is the Extra Packages for Enterprise Linux repo, developed by the Fedora project with the intention of providing quality third-party packages for enterprise users of RHEL-based distros):
wget -r --no-parent -A 'epel-release-*.rpm' http://dl.fedoraproject.org/pub/epel/7/x86_64/e/
sudo rpm -Uvh dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-*.rpm
And type in afterwards:
sudo yum -y update
Note that this may take a while to complete. Now you may install Redis on your machine, by running:
sudo yum install redis -y
Once the installation process has finished, starting the Redis service is done by entering the following command:
sudo systemctl start redis.service
And checking its status can be done with the following command:
sudo systemctl status redis.service
Installing Community Server
Add GPG key:
sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8320CA65CB2DE8E5"
Add the yum Community Server repository by creating the
/etc/yum.repos.d/onlyoffice.repo file with the following contents:
Install Community Server:
yum install onlyoffice-communityserver
Configuring Community Server
Before you start Community Server for the first time it is necessary to create the database and configure connection to it. To do that launch MySQL using the command:
sudo systemctl start mysql.service
And after that run the
/var/www/onlyoffice/configure.sh configuration script. This script will interactively ask you to enter the MySQL connection parameters, create the database, update configuration files and run all services.
The script does not create users for the database and does not change passwords for existing users.
After the successful installation Community Server will become available at the http://localhost/ address.
If you have encountered some issues while installing Community Server
, you can refer to our Troubleshooting