Add new articles - Installing ONLYOFFICE Docs on Debian systems for ARM

This commit is contained in:
Svetlana Maleeva 2022-04-11 14:50:59 +03:00
parent 02a4c0c758
commit 7f4fb86363
12 changed files with 425 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_server sm_linux sm_developer" id="link_150020" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/installation/docs-developer-install-ubuntu-arm64.aspx")%>">Installing ONLYOFFICE Docs Developer Edition on Debian systems for the 64-bit ARM architecture</a>

View File

@ -0,0 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_linux sm_server sm_docsenterprise" id="link_190017" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/installation/docs-enterprise-install-ubuntu-arm64.aspx")%>">Installing ONLYOFFICE Docs Enterprise Edition on Debian systems for the 64-bit ARM architecture</a>

View File

@ -0,0 +1,3 @@
<%@ Control Language="C#" %>
<a class="crm-task-title sm_linux sm_server sm_document" id="link_60042" title=""
href="<%=VirtualPathUtility.ToAbsolute("~/installation/docs-community-install-ubuntu-arm64.aspx")%>">Installing ONLYOFFICE Docs on Debian systems for the 64-bit ARM architecture</a>

View File

@ -69,6 +69,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60003_documents_installation/60003_documents_installation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60042_docs_install_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60024_documents_installation_centos/60024_documents_installation_centos.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60036_documents_installation_snap/60036_documents_installation_snap.ascx" /></li>
</ul>
@ -172,6 +173,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190002_install_docs_ee_ubuntu/190002_install_docs_ee_ubuntu.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190017_install_docs_ee_ubuntu_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190003_install_docs_ee_centos/190003_install_docs_ee_centos.ascx" /></li>
</ul>
</li>
@ -271,6 +273,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150001_linux_installation/150001_linux_installation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150020_linux_installation_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150005_linux_installation_centos/150005_linux_installation_centos.ascx" /></li>
</ul>
</li>

View File

@ -69,6 +69,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60003_documents_installation/60003_documents_installation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60042_docs_install_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60024_documents_installation_centos/60024_documents_installation_centos.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60036_documents_installation_snap/60036_documents_installation_snap.ascx" /></li>
</ul>

View File

@ -68,6 +68,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150001_linux_installation/150001_linux_installation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150020_linux_installation_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150005_linux_installation_centos/150005_linux_installation_centos.ascx" /></li>
</ul>
</li>

View File

@ -62,6 +62,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190002_install_docs_ee_ubuntu/190002_install_docs_ee_ubuntu.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190017_install_docs_ee_ubuntu_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190003_install_docs_ee_centos/190003_install_docs_ee_centos.ascx" /></li>
</ul>
</li>

View File

@ -468,6 +468,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60003_documents_installation/60003_documents_installation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60042_docs_install_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60024_documents_installation_centos/60024_documents_installation_centos.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60036_documents_installation_snap/60036_documents_installation_snap.ascx" /></li>
</ul>
@ -570,6 +571,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190002_install_docs_ee_ubuntu/190002_install_docs_ee_ubuntu.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190017_install_docs_ee_ubuntu_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DocsEnterprise/190003_install_docs_ee_centos/190003_install_docs_ee_centos.ascx" /></li>
</ul>
</li>
@ -669,6 +671,7 @@
<li>Linux version
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150001_linux_installation/150001_linux_installation.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150020_linux_installation_arm.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/DeveloperEdition/150005_linux_installation_centos/150005_linux_installation_centos.ascx" /></li>
</ul>
</li>

View File

@ -0,0 +1,344 @@
<%@ Control Language="C#" Inherits="BaseContentUserControls"%>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "Installing ONLYOFFICE Docs on Debian systems for arm64";
MetaKeyWords = "";
MetaDescription = "";
}
</script>
<div class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">Installing ONLYOFFICE Docs <%= ((BasePage)Page).EditionVersion %> on Debian systems for the 64-bit ARM architecture</h1>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/Versions/DocumentServer/DocumentServer_Current.ascx" />
<div class="keyword_block">
<ul>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/local-server/local-server.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/server-version/server-version.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/install-ONLYOFFICE/install-ONLYOFFICE.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/document-server/document-server.ascx" /></li>
<li class="enterprise_display">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/docs-enterprise/docs-enterprise.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Tags/linux-version/linux-version.ascx" /></li>
</ul>
</div>
<div class="video_ground video_trips">
<h2 id="introduction">Introduction</h2>
<div class="block_of_step">
<div class="screen_text">
<p>Starting from version <b>7.1</b>, ONLYOFFICE Docs can be installed on Debian systems for the 64-bit ARM architecture.</p>
<p><b><%= ((BasePage)Page).EditionVersion %></b> allows you to install <b>ONLYOFFICE Docs</b> on your local server and integrate online editors with <span class="developer_display">your web application</span><span class="community_enterprise_display"><a href="<%=VirtualPathUtility.ToAbsolute("~/installation/groups-index.aspx")%>">ONLYOFFICE collaboration platform</a> or <a href="<%=VirtualPathUtility.ToAbsolute("~/integration.aspx")%>">other popular systems</a></span>.</p>
<p><b>ONLYOFFICE Docs</b> 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.</p>
<p><b>Functionality</b></p>
<ul>
<li>Document Editor</li>
<li>Spreadsheet Editor</li>
<li>Presentation Editor</li>
<li>Mobile web viewers</li>
<li class="developer_enterprise_display">Mobile web editors</li>
<li>Collaborative editing</li>
<li>Hieroglyph support</li>
<li>Support for all the popular formats: DOC, DOCX, TXT, ODT, RTF, ODP, EPUB, ODS, XLS, XLSX, CSV, PPTX, HTML</li>
</ul>
<%--<div class="developer_enterprise_display">
<p><b>Pro features</b></p>
<ul>
<li></li>
</ul>
</div>--%>
<p>See the <a target="_blank" href="https://github.com/ONLYOFFICE/DocumentServer#onlyoffice-document-server-editions">detailed list of features</a> available for <b>ONLYOFFICE Docs</b> <b><%= ((BasePage)Page).EditionVersion %></b>.</p>
<div class="community_enterprise_display">
<p>Integrating it with <b>ONLYOFFICE Groups</b> you will be able to:</p>
<ul>
<li>share files;</li>
<li>manage access rights to documents;</li>
<li>embed documents on a website;</li>
<li>view and edit files stored on Drive, Box, Dropbox, OneDrive, OwnCloud connected to ONLYOFFICE.</li>
</ul>
<div>
<div class="notehelp">If you want to use <b>ONLYOFFICE Docs</b> together with <b>ONLYOFFICE Groups</b>, they must be installed on two different machines.</div>
</div>
</div>
<p>This guide will show you how to install <b>ONLYOFFICE Docs <%= ((BasePage)Page).EditionVersion %></b> version <b>7.1</b> and later on Ubuntu 20.04 for the 64-bit ARM architecture.</p>
</div>
</div>
</div>
<h2 id="SystemRequirements">System requirements</h2>
<div class="block_of_step">
<div class="screen_text">
<ul>
<li><div class="sysreq_title sysreq_cpu">CPU</div>
<div class="sysreq_descr sysreq_cpu">64-bit ARM processors</div>
</li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/SystemRequirements/SysReqs_RAM/SysReqs_RAM.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/SystemRequirements/SysReqs_HDD3/SysReqs_HDD3.ascx" /></li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/SystemRequirements/SysReqs_Add_Hard/SysReqs_Add_Hard.ascx" /></li>
<li><div class="sysreq_title sysreq_os">OS</div>
<div class="sysreq_descr sysreq_os"><b>Ubuntu 20.04</b> for arm64</div>
</li>
<li><cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/SystemRequirements/SysReqs_Add_Soft9/SysReqs_Add_Soft9.ascx" /></li>
</ul>
</div>
</div>
<h2 id="InstallingDebian">Installing ONLYOFFICE Docs</h2>
<div class="block_of_step">
<div class="screen_text">
<p>Installation with Debian based distributives also requires the presence of <code>libstdc++6</code>, <code>NGINX</code> and <code>PostgreSQL</code> in the system.</p>
<p>All the necessary instrutions for these components and their dependencies installation can be found at their official websites.</p>
<p>There are other dependencies installed together with <b>ONLYOFFICE Docs</b>:</p>
<ul>
<li>libcurl3</li>
<li>libxml2</li>
<li>supervisor</li>
<li>fonts-dejavu</li>
<li>fonts-liberation</li>
<li>ttf-mscorefonts-installer</li>
<li>fonts-crosextra-carlito</li>
<li>fonts-takao-gothic</li>
<li>fonts-opensymbol</li>
</ul>
<p>These dependencies are installed automatically when you use <b>Ubuntu 20.04 LTS</b> or later.</p>
<h5>Installing dependencies</h5>
<p><b>ONLYOFFICE Docs</b> uses <code>NGINX</code> and <code>PostgreSQL</code> as database. Dependencies found in the system repository will be installed automatically at <b>ONLYOFFICE Docs</b> installation using the <b>apt-get install</b> command.</p>
<p><b>Installing and configuring PostgreSQL</b>:</p>
<p>Install the PostgreSQL version included in your version of Ubuntu:</p>
<pre><code>sudo apt-get install postgresql
</code></pre>
<div class="notehelp">If you want to install some other <code>PostgreSQL</code> version from the PostgreSQL Repository, please see the <a target="_blank" href="https://www.postgresql.org/download/linux/ubuntu/">official PostgreSQL documentation</a> for more detail on that.</div>
<p>After PostgreSQL is installed, create the PostgreSQL database and user:</p>
<div class="notehelp nh_notice">The database user must have the <b>onlyoffice</b> name. You can specify any password.</div>
<pre><code>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;"
</code></pre>
<div class="developer_enterprise_display">
<p><b>Installing redis</b>:</p>
<pre><code>sudo apt-get install redis-server
</code></pre>
</div>
<p><b>Installing rabbitmq</b>:</p>
<pre><code>sudo apt-get install rabbitmq-server
</code></pre>
<%--<p>Ubuntu 18.04 will require to install <b>nginx-extras</b>. This is done using the command:</p>
<pre><code>sudo apt-get install nginx-extras
</code></pre>--%>
<h5>Changing the default ONLYOFFICE Docs port</h5>
<p>By default <b>ONLYOFFICE Docs</b> listens to the incoming connections using port <b>80</b>. Starting with version <b>4.3</b> you can change the port for <b>ONLYOFFICE Docs</b> if you plan to use it instead of the default one.</p>
<div class="notehelp">If you are going to change the default port, make sure that it is open for the incoming/outgoing connections. See the <a href="<%=VirtualPathUtility.ToAbsolute("~/server/docker/document/open-ports.aspx")%>">complete list</a> of the ports used by <b>ONLYOFFICE Docs</b>.</div>
<p>To do that you will need to change the default port for the <b>debconf</b> system, running the command:</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/ds-port select &lt;PORT_NUMBER&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/ds-port select &lt;PORT_NUMBER&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/ds-port select &lt;PORT_NUMBER&gt; | sudo debconf-set-selections</code></pre>
</div>
<p>Please write the port number instead of the <code>&lt;PORT_NUMBER&gt;</code> in the above command.</p>
<div class="notehelp nh_important">
<span class="important_notice_label">Warning</span>
If you want to change the <b>ONLYOFFICE Docs</b> protocol to HTTPS, do not change the port to <b>443</b>, but use <a href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/document/switch-to-https.aspx")%>">this instruction</a> instead.
</div>
<p>There are additional options which can be used for <b>ONLYOFFICE Docs</b> installation. Please read <a href="#moreOptions">this section</a> for more information on them.</p>
<p>After that you can continue with <b>ONLYOFFICE Docs</b> installation.</p>
<h5>Installing ONLYOFFICE Docs</h5>
<p>Add GPG key:</p>
<pre><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
</code></pre>
<p>Add <b>ONLYOFFICE Docs</b> repository:</p>
<pre><code>echo "deb https://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list
</code></pre>
<div class="notehelp">While the APT package is built against Debian Squeeze, it is compatible with a number of Debian derivatives (including Ubuntu) which means you can use the same repository across all these distributions.</div>
<p>When installing ONLYOFFICE Docs on Debian, add the <code>contrib</code> component to <code>/etc/apt/sources.list</code>. To learn more, you can refer to the <a target="_blank" href="https://wiki.debian.org/SourcesList">Debian documentation</a>.</p>
<p>Update the package manager cache:</p>
<pre><code>sudo apt-get update
</code></pre>
<p>Install <code>mscorefonts</code>:</p>
<pre><code>sudo apt-get install ttf-mscorefonts-installer
</code></pre>
<p>Install <b>ONLYOFFICE Docs</b></p>
<div class="community_display">
<pre><code>sudo apt-get install onlyoffice-documentserver
</code></pre>
</div>
<div class="enterprise_display">
<pre><code>sudo apt-get install onlyoffice-documentserver-ee
</code></pre>
</div>
<div class="developer_display">
<pre><code>sudo apt-get install onlyoffice-documentserver-de
</code></pre>
</div>
<div class="notehelp">During the installation process, you will be asked to provide a password for the <code>onlyoffice</code> PostgreSQL user. Please enter the <code>onlyoffice</code> password that you have specified when configuring PostgreSQL.</div>
<p>After that <b>ONLYOFFICE Docs</b> will be run as a process. The package will be updated just like any other deb package.</p>
<p>Now you can enter <a target="_blank" href="http://localhost">http://localhost</a> in your browser address bar to open the <b>ONLYOFFICE Docs</b> welcome page where you will find further instructions on how to enable document examples or integrate online editors into your web application using the <a href="http://api.onlyoffice.com/editors/basic"> provided API</a>.</p>
<p class="community_enterprise_display">To connect <b>ONLYOFFICE Docs</b> to <b>ONLYOFFICE Groups</b>, please refer to <a target="_blank" href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/document/connect-document-server.aspx")%>">this instruction</a>.</p>
</div>
</div>
<h2 id="RunHTTPS">Running ONLYOFFICE Docs using HTTPS</h2>
<div class="block_of_step">
<div class="screen_text">
<p>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 <b>ONLYOFFICE Docs</b> using secure connection. Please see the details <a href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/document/switch-to-https.aspx")%>">here</a> to learn more on how this can be done.</p>
</div>
</div>
<div class="developer_enterprise_display">
<h2 id="Registering">Registering your <span class="developer_display">Developer Edition</span><span class="enterprise_display">Enterprise Edition</span> version</h2>
<div class="block_of_step">
<div class="screen_text">
<p>If you bought <b class="developer_display">Developer Edition</b><b class="enterprise_display">Enterprise Edition</b> and received the <b>license.lic</b> file, you can place it to your installation to obtain the software full version.</p>
<p>When you are a Debian based Linux distributive user, the <b>license.lic</b> file is placed to the following folder:</p>
<pre><code>/var/www/onlyoffice/Data/license.lic
</code></pre>
<p>After that your version of <b class="developer_display">Developer Edition</b><b class="enterprise_display">Enterprise Edition</b> will become registered and full-featured.</p>
</div>
</div>
</div>
<h2 id="moreOptions">Additional information: more options for ONLYOFFICE Docs installation</h2>
<div class="block_of_step">
<div class="screen_text">
<p>The installation of <b>ONLYOFFICE Docs</b> allows the use of more <b>debconf</b> options which might be very helpful in case you plan installing it to more than one server or in some other cases.</p>
<p>These options include:</p>
<ul>
<li><h5>PostgreSQL database options</h5>
<ul>
<li>
<p>Set PostgreSQL database host address (replacing <code>&lt;DB_HOST&gt;</code> with the actual address of the PostgreSQL server installed):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/db-host string &lt;DB_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/db-host string &lt;DB_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/db-host string &lt;DB_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
<li>
<p>Set PostgreSQL database user name (replacing <code>&lt;DB_USER&gt;</code> with the actual name of the user with the appropriate PostgreSQL database rights):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/db-user string &lt;DB_USER&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/db-user string &lt;DB_USER&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/db-user string &lt;DB_USER&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
<li>
<p>Set PostgreSQL database user password (replacing <code>&lt;DB_PASSWORD&gt;</code> with the actual password of the user with the appropriate PostgreSQL database rights):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/db-pwd password &lt;DB_PASSWORD&gt; | debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/db-pwd password &lt;DB_PASSWORD&gt; | debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/db-pwd password &lt;DB_PASSWORD&gt; | debconf-set-selections</code></pre>
</div>
</li>
<li>
<p>Set PostgreSQL database name (replacing <code>&lt;DB_NAME&gt;</code> with the actual PostgreSQL database name):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/db-name string &lt;DB_NAME&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/db-name string &lt;DB_NAME&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/db-name string &lt;DB_NAME&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
</ul>
</li>
<li class="developer_enterprise_display"><h5>Redis options</h5>
<ul>
<li>
<p>Set Redis host address (replacing <code>&lt;REDIS_HOST&gt;</code> with the actual address of Redis installed):</p>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/redis-host string &lt;REDIS_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/redis-host string &lt;REDIS_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
</ul>
</li>
<li><h5>RabbitMQ options</h5>
<ul>
<li>
<p>Set RabbitMQ host address (replacing <code>&lt;RABBITMQ_HOST&gt;</code> with the actual address of RabbitMQ installed):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/rabbitmq-host string &lt;RABBITMQ_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/rabbitmq-host string &lt;RABBITMQ_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/rabbitmq-host string &lt;RABBITMQ_HOST&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
<li>
<p>Set RabbitMQ user name (replacing <code>&lt;RABBITMQ_USER&gt;</code> with the actual name of the user with the appropriate RabbitMQ rights):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/rabbitmq-user string &lt;RABBITMQ_USER&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/rabbitmq-user string &lt;RABBITMQ_USER&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/rabbitmq-user string &lt;RABBITMQ_USER&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
<li>
<p>Set RabbitMQ user password (replacing <code>&lt;RABBITMQ_PWD&gt;</code> with the actual password of the user with the appropriate RabbitMQ rights):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/rabbitmq-pwd password &lt;RABBITMQ_PWD&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/rabbitmq-pwd password &lt;RABBITMQ_PWD&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/rabbitmq-pwd password &lt;RABBITMQ_PWD&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
</ul>
</li>
<li><h5>JWT options</h5>
<p>You can use <code>debconf-set-selections</code> to disable the overwriting of the custom values in the <b>local.json</b> file after updating <b>ONLYOFFICE Docs</b>.</p>
<ul>
<li>
<p>Enable JSON Web Tokens (JWT):</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/jwt-enabled boolean true | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/jwt-enabled boolean true | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/jwt-enabled boolean true | sudo debconf-set-selections</code></pre>
</div>
</li>
<li>
<p>Set a JWT secret key replacing <code>&lt;JWT_SECRET&gt;</code> with your own value:</p>
<div class="community_display">
<pre><code>echo onlyoffice-documentserver onlyoffice/jwt-secret password &lt;JWT_SECRET&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="enterprise_display">
<pre><code>echo onlyoffice-documentserver-ee onlyoffice/jwt-secret password &lt;JWT_SECRET&gt; | sudo debconf-set-selections</code></pre>
</div>
<div class="developer_display">
<pre><code>echo onlyoffice-documentserver-de onlyoffice/jwt-secret password &lt;JWT_SECRET&gt; | sudo debconf-set-selections</code></pre>
</div>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>

View File

@ -0,0 +1,21 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/InstallationGuides/InstallationDocsArticles.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<asp:Content ID="Content4" ContentPlaceHolderID="pagebodyidpage" runat="Server">
<% ((BasePage)Page).EditionVersion = "Community Edition"; %>
<body class="linux_version document_server docs_community_edition">
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="breadstop" runat="server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/DocumentLinuxTop/DocumentLinuxTop.ascx" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
<cc:localizecontent runat="Server" controlname="~/Controls/Help/Server/Linux/Document/LinuxInstallationARM/LinuxInstallationARM.ascx" />
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="installationdocspage documents">
<div id="SeeAlsoBlockLinks">
<div class="caption guides">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60007_connect_document_to_community/60007_connect_document_to_community.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60002_community_installation/60002_community_installation.ascx" />
</div>
</div>
</asp:Content>

View File

@ -0,0 +1,21 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/InstallationGuides/InstallationDocsDEArticles.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<asp:Content ID="Content4" ContentPlaceHolderID="pagebodyidpage" runat="Server">
<% ((BasePage)Page).EditionVersion = "Developer Edition"; %>
<body class="linux_version developer_edition">
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="breadstop" runat="server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/DeveloperEditionTop/DeveloperEditionTop.ascx" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
<cc:localizecontent runat="Server" controlname="~/Controls/Help/Server/Linux/Document/LinuxInstallationARM/LinuxInstallationARM.ascx" />
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="installationdocspage documents">
<div id="SeeAlsoBlockLinks">
<div class="caption guides">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60007_connect_document_to_community/60007_connect_document_to_community.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60002_community_installation/60002_community_installation.ascx" />
</div>
</div>
</asp:Content>

View File

@ -0,0 +1,21 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/InstallationGuides/InstallationDocsEEArticles.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<asp:Content ID="Content4" ContentPlaceHolderID="pagebodyidpage" runat="Server">
<% ((BasePage)Page).EditionVersion = "Enterprise Edition"; %>
<body class="linux_version docs_enterprise_edition">
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="breadstop" runat="server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/DocsEnterpriseLinuxTop/DocsEnterpriseLinuxTop.ascx" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="Server">
<cc:localizecontent runat="Server" controlname="~/Controls/Help/Server/Linux/Document/LinuxInstallationARM/LinuxInstallationARM.ascx" />
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="installationdocspage documents">
<div id="SeeAlsoBlockLinks">
<div class="caption guides">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60007_connect_document_to_community/60007_connect_document_to_community.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/ArticlesCompleteList/ServerLinux/60002_community_installation/60002_community_installation.ascx" />
</div>
</div>
</asp:Content>