Include following lines to the https->http proxy virtual host
SetEnvIf Host "^(.*)$" THE_HOST=$1
RequestHeader set X-Forwarded-Proto https
ProxyAddHeaders Off
Include following lines to the https->http proxy virtual host
SetEnvIf Host "^(.*)$" THE_HOST=$1
RequestHeader set X-Forwarded-Proto https
ProxyAddHeaders Off
Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
Functionality
This guide will show you how to install Document Server Linux version to your machine.
Installation with Debian based distributives also requires the presence of libstdc++6, NGINX and PostgreSQL in the system.
All the necessary instrutions for these components and their dependencies installation can be found at their official websites.
There are other dependencies installed together with Document Server:
These dependencies are installed automatically when you use Ubuntu 14.04 LTS or later. Earlier distributions might require their manual installation.
Document Server uses 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.
Installing and configuring PostgreSQL:
Install the PostgreSQL version included in your version of Ubuntu:
sudo apt-get install postgresql
PostgreSQL version from the PostgreSQL Repository, please see the official PostgreSQL documentation for more detail on that.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 nginx-extras. This is done using the command:
sudo apt-get install nginx-extras
By default Document Server listens to the incoming connections using port 80. Starting with version 4.3 you can change the port for Document Server if you plan to use it instead of the default one.
To do that you will need to change the default port for the debconf system, running the command:
echo onlyoffice-documentserver onlyoffice/ds-port select <PORT_NUMBER> | sudo debconf-set-selections
Please write the port number instead of the <PORT_NUMBER> in the above command.
There are additional options which can be used for Document Server installation. Please read this section for more information on them.
After that you can continue with Document Server installation.
Add GPG key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
Add Document Server repository:
sudo echo "deb https://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
onlyoffice PostgreSQL user. Please enter the onlyoffice password that you have specified when configuring PostgreSQL.After that Document Server will be run as a process. The package will be updated just like any other deb package.
Now you can connect Document Server to Community Server or integrate it into your own document management system using the provided API.
In most cases accessing the portal via HTTPS protocol is much more secure than via HTTP which is used by default. You can easily run Document Server using secure connection. Please see the details here to learn more on how this can be done.
The installation of Document Server allows the use of more debconf options which might be very helpful in case you plan installing it to more than one server or in some other cases.
These options include:
<DB_HOST> with the actual address of the PostgreSQL server installed):
echo onlyoffice-documentserver onlyoffice/db-host string <DB_HOST> | sudo debconf-set-selections
<DB_USER> with the actual name of the user with the appropriate PostgreSQL database rights):
echo onlyoffice-documentserver onlyoffice/db-user string <DB_USER> | sudo debconf-set-selections
<DB_PASSWORD> with the actual password of the user with the appropriate PostgreSQL database rights):
echo onlyoffice-documentserver onlyoffice/db-pwd password <DB_PASSWORD> | debconf-set-selections
<DB_NAME> with the actual PostgreSQL database name):
echo onlyoffice-documentserver onlyoffice/db-name string <DB_NAME> | sudo debconf-set-selections
<REDIS_HOST> with the actual address of Redis installed):
echo onlyoffice-documentserver onlyoffice/redis-host string <REDIS_HOST> | sudo debconf-set-selections
<RABBITMQ_HOST> with the actual address of RabbitMQ installed):
echo onlyoffice-documentserver onlyoffice/rabbitmq-host string <RABBITMQ_HOST> | sudo debconf-set-selections
<RABBITMQ_USER> with the actual name of the user with the appropriate RabbitMQ rights):
echo onlyoffice-documentserver onlyoffice/rabbitmq-user string <RABBITMQ_USER> | sudo debconf-set-selections
<RABBITMQ_PWD> with the actual password of the user with the appropriate RabbitMQ rights):
echo onlyoffice-documentserver onlyoffice/rabbitmq-pwd password <RABBITMQ_PWD> | sudo debconf-set-selections
Source: Installing Document Server for Linux on Debian, Ubuntu and derivatives – ONLYOFFICE
You can remove the package file in this /var/lib/dpkg/info/ path and update the source.
sudo rm /var/lib/dpkg/info/[package_name].*
sudo dpkg --configure -a
sudo apt-get update
Then, reinstall your package sudo apt-get install [package_name]
Source: dpkg – How to remove/install a package that is not fully installed? – Ask Ubuntu
Concise Oxford English Dictionary
muzzle
■ noun
the projecting part of the face, including the nose and mouth, of an animal such as a dog or horse. ▶a guard fitted over an animal’s muzzle to stop it biting or feeding.
the open end of the barrel of a firearm.
■ verb
put a muzzle on (an animal).
prevent from freedom of expression.
ME: from OFr. musel, dimin. of med. L. musum.
…
Concise Oxford Thesaurus
muzzle
▶ noun the dog’s velvety muzzle: SNOUT, nose, mouth, maw.
▶ verb attempts to muzzle the media: GAG, silence, censor, stifle, restrain, check, curb, fetter.
…
Merriam-Webster Collegiate® Dictionary
1muz·zle
Pronunciation: ‘mə-zəl
Function: noun
Etymology: Middle English mosel, from Middle French musel, from Old French *mus mouth of an animal, from Medieval Latin musus
Date: 15th century
1 : the projecting jaws and nose of an animal : SNOUT
2 a : a fastening or covering for the mouth of an animal used to prevent eating or biting b : something (as censorship) that restrains normal expression
3 : the open end of an implement especially : the discharging end of a weapon
muzzle[1]
2muzzle
Function: transitive verb
Inflected Form: muz·zled ; muz·zling \’məz-liŋ, ‘mə-zə-\
Date: 15th century
1 : to fit with a muzzle
2 a : GAG
Synonyms
agreeable, blessed (also blest), darling, delectable, delicious, delightful, delightsome, dreamy, dulcet, enjoyable, felicitous, good, grateful, gratifying, heavenly, jolly, luscious, nice, palatable, pleasant, pleasing, pleasurable, pretty, satisfying, savory (also savoury), sweet, tasty, welcome
Antonyms
disagreeable, pleasureless, unpalatable, unpleasant, unwelcome
Source: Congenial | Definition of Congenial by Merriam-Webster
git reset --hardgit submodule foreach git reset --hard