Community Server uses
Mono (version 3.2 or later),
Node.js (version 6.10.3 or later) and
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
/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).
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.7 will be added to your system.
You can add the MySQL repository to RHEL 7 using the following succession of commands:
sudo yum localinstall mysql57-community-release-el7-11.noarch.rpm
When MySQL server is started, the superuser will be created and a temporary password will be assigned to it. You need to change this password as soon as possible. See the official instructions on that.
Adding the Node.js repository
Run the command:
curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash -
The official instructions can be found here.
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 mysqld.service
Do not forget to change the default superuser password in case you haven't done it yet. More information on where to view the default password and how to change it is available here
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