OnlyOffice is a brand new way to edit documents, collaborate and share your documents online. It comes with many other features and supports Microsoft Office file formats. The new OnlyOffice Community edition 9.0 has been released and here I will guide you how to install OnlyOffice Community Server 9.0 on CentOS 7 Operating System. Actually there are several ways to install OnlyOffice on Linux. But here, I will use the Docker version because this is the easiest way to do it. Please note that this will only install OnlyOffice Community Server and does not include Document Server.
Before we go through, make sure your computer mets the following requirements:
- Processor: Dual Cores 2 GHz or better
- RAM: 4 GB or more
- Hard Disk: 2 GB
- OS: amd64 Linux distribution
- Docker 1.10 or later
Steps to install OnlyOffice Community Server on CentOS 7
Step 1. Install Docker
Please read my other tutorial to install Docker on CentOS 7 Server. If you have Docker installed already, please skip this step.
Step 2. Install OnlyOffice
Make sure you have a good internet connection since this step will download some files from the internet.
sudo docker run -i -t -d -p 80:80 onlyoffice/communityserver
The command above will install community server and use port 80 on your host machine for OnlyOffice. If you want to change to other port such as 8080 on your host, you should use the following command
sudo docker run -i -t -d -p 8080:80 onlyoffice/communityserver
Once finished, you can open OnlyOffice via web browser using
Change it with your actual CentOS IP address.
If you want to automatically restart Community Server container everytime your system reboot, use –restart=always parameter on the command.
sudo docker run -i -t -d -p 80:80 –restart=always onlyoffice/communityserver
Now enjoy OnlyOffice Community Server on your own hardware.