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
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 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