OnlyOffice: Difference between revisions
From Newroco Tech Docs
Jump to navigationJump to search
Created page with "==Install onlyoffice DocumentServer== Document Server uses Node.js (version 8.12.0), NGINX and PostgreSQL as database. Dependencies found in the system repository will be inst..." |
|||
| Line 1: | Line 1: | ||
==Install | ==Preparing the Install== | ||
Document Server uses Node.js (version 8.12.0), NGINX and PostgreSQL as database. Dependencies found in the system repository will be installed automatically at Document Server installation using the apt-get install command. | Document Server uses Node.js (version 8.12.0), NGINX and PostgreSQL as database. Dependencies found in the system repository will be installed automatically at Document Server installation using the apt-get install command. | ||
| Line 34: | Line 34: | ||
sudo apt-get install npm nginx-extras | sudo apt-get install npm nginx-extras | ||
</pre> | </pre> | ||
==Installing Document Server== | ==Installing Document Server== | ||
Revision as of 08:28, 23 April 2019
Preparing the Install
Document Server uses Node.js (version 8.12.0), NGINX and PostgreSQL as database. Dependencies found in the system repository will be installed automatically at Document Server installation using the apt-get install command.
Adding the repository containing the up-to-date Node.js package versions:
Add repository:
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
Installing and configuring PostgreSQL:
Install the PostgreSQL version included in your version of Ubuntu:
sudo apt-get install postgresql
After PostgreSQL is installed, create the PostgreSQL database and user:
sudo -i -u postgres psql -c "CREATE DATABASE onlyoffice;" sudo -i -u postgres psql -c "CREATE USER onlyoffice WITH password 'onlyoffice';" sudo -i -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"
Installing redis:
sudo apt-get install redis-server
Installing rabbitmq:
sudo apt-get install rabbitmq-server
Ubuntu 18.04 will require to install npm and nginx-extras. This is done using the command:
sudo apt-get install npm nginx-extras
Installing Document Server
Add GPG key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
Add Document Server repository:
sudo echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list
Update the package manager cache:
sudo apt-get update
Install Document Server
sudo apt-get install onlyoffice-documentserver