Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


install-only-office-document-server-on-ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
install-only-office-document-server-on-ubuntu [2020/06/11 04:10] – [Add Node.js repostiory] wikiadmininstall-only-office-document-server-on-ubuntu [2020/06/11 04:30] (current) – [Install OnlyOffice document server] wikiadmin
Line 56: Line 56:
  
 Status should show these are active (running).  If rabbitmq-server failed to start, that’s mostly because of low memory on the machine or invalid hostname. Redis server listens on 127.0.0.1:6379. RabbitMQ listens on 0.0.0.0:25672 and 0.0.0.0:4369 Status should show these are active (running).  If rabbitmq-server failed to start, that’s mostly because of low memory on the machine or invalid hostname. Redis server listens on 127.0.0.1:6379. RabbitMQ listens on 0.0.0.0:25672 and 0.0.0.0:4369
 +
 +====== Install OnlyOffice document server ======
 +
 +**Add OnlyOffice repository with the following command.**
 +
 +<code>echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list
 +</code>
 +
 +**Import OnlyOffice public key.**
 +
 +<code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 </code>
 +
 +
 +Update local package index and install OnlyOffice document server. Note that the onlyoffice-documentserver package will install nginx-extras as a dependency, so if an Apache web server is running, you need to stop it first.
 +
 +<code>
 +sudo apt update
 +
 +sudo apt install onlyoffice-documentserver
 +</code>
 +
 +During the installation process, you will be asked to enter PostgreSQL password for onlyoffice. Enter the password: 
 +
 +<code>onlyoffice</code>
 +
 +A Nginx server block will be installed as /etc/nginx/conf.d/ds.conf. (It’s actually a symbolic link to /etc/onlyoffice/documentserver/nginx/ds.conf.) The OnlyOffice document server is a nodejs web application and Nginx acts as the reverse proxy.  /var/www/onlyoffice/documentserver/ is the web root directory.
 +
 +Once the installation is finished, enter your server’s public IP address in web browser, you should see “Document Server is running”
 +
install-only-office-document-server-on-ubuntu.1591848642.txt.gz · Last modified: 2020/06/11 04:10 by wikiadmin