install-only-office-document-server-on-ubuntu
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| install-only-office-document-server-on-ubuntu [2020/06/11 03:40] – [Preequites to OnlyOffice Document Server Community Edition] wikiadmin | install-only-office-document-server-on-ubuntu [2020/06/11 04:30] (current) – [Install OnlyOffice document server] wikiadmin | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| < | < | ||
| + | |||
| + | ===== Install NodeJS ===== | ||
| + | |||
| + | OnlyOffice document server requires nodejs version 8.12.0+, but the version in Ubuntu repository is outdated, so we will need to install the latest LTS version (12.13.1) of Node.js from upstream repository. | ||
| + | |||
| + | ==== Add Node.js repostiory ==== | ||
| + | |||
| + | |||
| + | < | ||
| + | |||
| + | **Install Node.js.** | ||
| + | |||
| + | < | ||
| + | |||
| + | **Check Node.js version.** | ||
| + | |||
| + | < | ||
| + | |||
| + | **Sample output:** | ||
| + | |||
| + | < | ||
| + | |||
| + | Install Redis server and Rabbitmq | ||
| + | |||
| + | < | ||
| + | |||
| + | Check their status. | ||
| + | |||
| + | < | ||
| + | |||
| + | systemctl status rabbitmq-server</ | ||
| + | |||
| + | Status should show these are active (running). | ||
| + | |||
| + | ====== Install OnlyOffice document server ====== | ||
| + | |||
| + | **Add OnlyOffice repository with the following command.** | ||
| + | |||
| + | < | ||
| + | </ | ||
| + | |||
| + | **Import OnlyOffice public key.** | ||
| + | |||
| + | < | ||
| + | |||
| + | |||
| + | 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. | ||
| + | |||
| + | < | ||
| + | sudo apt update | ||
| + | |||
| + | sudo apt install onlyoffice-documentserver | ||
| + | </ | ||
| + | |||
| + | During the installation process, you will be asked to enter PostgreSQL password for onlyoffice. Enter the password: | ||
| + | |||
| + | < | ||
| + | |||
| + | A Nginx server block will be installed as / | ||
| + | |||
| + | 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.1591846808.txt.gz · Last modified: 2020/06/11 03:40 by wikiadmin
