ONLYOFFICE Document Server is an open-source office suite distributed under the GNU AGPL v3.0 license. It features web-based viewers and collaborative editors for various document types, including text files, spreadsheets, and presentations, and supports integration with numerous cloud storage services like Nextcloud, ownCloud, Seafile, and more.
The version 5.4 update includes several enhancements:
- Chart elements customization
- Watermark embedding
- Headers and footers in spreadsheet and presentation editors
- Designated print areas for documents and slides
- Slide numbers, date, and time inclusion in presentations
This guide will walk you through the easy installation of ONLYOFFICE Document Server on various Linux distributions that support snapd using the Snapcraft command-line tool.
If you have a previous installation of ONLYOFFICE Document Server, please update to the latest version by following the instructions in this tutorial.
Installing ONLYOFFICE Document Server
To install ONLYOFFICE Document Server, execute the following command:
# snap install onlyoffice-ds
After installation, you can access ONLYOFFICE Document Server at http://localhost.
Configuration: Running Document Server on a Different Port
By default, the snap listens on port 80. To change the HTTP port (for example, to port 8888), use the following command:
# snap set onlyoffice-ds onlyoffice.ds-port=8888
Configuration: Changing MySQL Port
MySQL operates on port 3306 by default. To modify the database port, execute:
# snap set onlyoffice-ds onlyoffice.db-port=3307
Uninstalling the Snap
If you need to remove ONLYOFFICE Document Server, run the command below:
# snap remove onlyoffice-ds
Useful Links
- Find the snap-documentserver repository on GitHub
- View Document Server on the Snapcraft Store
Frequently Asked Questions
- What is ONLYOFFICE Document Server?
- ONLYOFFICE Document Server is an open-source suite for viewing and collaboratively editing text documents, spreadsheets, and presentations through a web interface.
- On which platforms can ONLYOFFICE Document Server be installed?
- ONLYOFFICE Document Server can be installed on any Linux distribution that supports snap packages.
- How can I access ONLYOFFICE Document Server once installed?
- You can access the application through your web browser at http://localhost, or a different specified port, depending on your configuration.
- How do I change the default ports used by ONLYOFFICE?
- You can change the HTTP port using the
snap set onlyoffice-ds onlyoffice.ds-port=YOUR_PORT
command and the MySQL port via thesnap set onlyoffice-ds onlyoffice.db-port=YOUR_PORT
command. - Where can I find more information or support for ONLYOFFICE Document Server?
- For more detailed information, visit the GitHub repository or the Snapcraft Store.