Install OnlyOffice Document Server on Ubuntu
OnlyOffice document server depends on PostgreSQL, Node.js, Redis Server, RabbitMQ server and Nginx. The following steps are tested on a Ubuntu 22.04 server but should also be applicable to Linux distributions in the Debian family.
Install PostgreSQL on Ubuntu
PostgreSQL is available from the default Ubuntu repository. The PostgreSQL team always strives to make performance improvements with every new version. Run the following commands to install the latest version of PostgreSQL from the postgresql.org repository.
echo "deb [signed-by=/etc/apt/keyrings/postgresql.asc] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
sudo mkdir -p /etc/apt/keyrings/
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo tee /etc/apt/keyrings/postgresql.asc
sudo apt update
sudo apt install -y postgresql postgresql-contrib postgresql-15 postgresql-client-15
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;"
Note: Both the username and password must be onlyoffice. Continue reading “Install OnlyOffice 7 on Ubuntu 22” »
I was observing an issue on using bengali unicode font on my nextcloud integrated onlyoffice server. After spening a lot hours over google- I found the following pieces of information-
I was using onlyoffice server version 6.2 and on which the bengali font gets obfuscated and broken.
After reading the post entry on this site- https://github.com/ONLYOFFICE/DesktopEditors/issues/131 was now sure why it was troubling me. Someone said- “Version 7.2 support Bengali script. And a lot of new functionality with text shaping.” Gotcha!
Next, wanted to upgrade my current 6.2 to 7.3 (at the time I am writing). Followed this procedure with no luck- https://helpcenter.onlyoffice.com/installation/docs-community-update-linux.aspx Continue reading “Troubled with broken Unicode Bengali fonts on onlyoffice document server” »
Step 1 – Install Packages Dependencies
In this first step, we will install some packages dependencies needed by the Document Server, including the RabbitMQ-server, Redis, and Nginx-extras.
Update your Debian system repository and install Document Server packages dependencies using the apt command below.
sudo apt update
sudo apt install redis-server rabbitmq-server nginx-extras gnupg2
Once all installation is complete, check the following services using the systemctl command as below.
systemctl is-enabled nginx
systemctl is-enabled rabbitmq-server
systemctl is-enabled redis-server
Now make sure all of these services are enabled and will automatically run on the system boot. Continue reading “Install ONLYOFFICE Document Server with Nginx on Debian 10” »
Step 1: Install ONLYOFFICE Document Server
Please note that OnlyOffice document server requires at least 2GB of RAM. An additional 2GB of swap space is recommended. OnlyOffice document server depends on PostgreSQL, Node.js, Redis Server, RabbitMQ server and Nginx. The following steps are tested on a Ubuntu 16.04 server but should also be applicable to other Debian-based Linux distributions.
Install PostgreSQL from Ubuntu repository
sudo apt install postgresql
Then create the onlyoffice database.
sudo -u postgres psql -c "CREATE DATABASE onlyoffice;"
Create the onlyoffice user.
sudo -u postgres psql -c "CREATE USER onlyoffice WITH password 'onlyoffice';"
Grant permission. Continue reading “Install OnlyOffice Document Server on Ubuntu 16” »