Start adding tabs for different operating systems

This commit is contained in:
Svetlana Maleeva 2022-01-17 17:34:04 +03:00
parent c9f00ad090
commit 9e7c69056d

View File

@ -87,7 +87,19 @@
</code></pre>
<p>This will install the <b>ONLYOFFICE Groups</b> solution which includes the <b>ONLYOFFICE Community Server</b>, <b>ONLYOFFICE XMPP Server</b>, and <b>ONLYOFFICE Control Panel</b> components.</p>
<h2>Installing ONLYOFFICE Groups manually</h2>
<h2 id="InstallingDependencies">Installing dependencies</h2>
<p>This process differs depending on the operating system. Please choose the corresponding tab to read detailed instructions for your OS:</p>
<input type="radio" name="tabs" id="tab1" checked />
<label for="tab1">Ubuntu 20.04</label>
<input type="radio" name="tabs" id="tab2" />
<label for="tab2">Ubuntu 18.04</label>
<input type="radio" name="tabs" id="tab3" />
<label for="tab3">Debian 10</label>
<input type="radio" name="tabs" id="tab4" />
<label for="tab4">Debian 11</label>
<input type="radio" name="tabs" id="tab5" />
<label for="tab5">Debian 9</label>
<div class="tab content1">
<h3 id="InstallingDependencies">Installing dependencies</h3>
<p>Installation with Debian based distributives also requires the presence of <code>Mono</code> (version 6.8), <code>NGINX</code>, <code>Node.js</code> (version 12), <code>mysql-server</code>, <code>ffmpeg</code>, <code>mono-webserver-hyperfastcgi</code>, <code>Elasticsearch</code> (version 7.4) in the system.</p>
<h6>Adding the Mono 6.8 repository (<a target="_blank" href="http://www.mono-project.com/download/#download-lin-ubuntu">official instructions</a>):</h6>
<p>Add the GPG key:</p>
@ -137,7 +149,7 @@ echo "deb http://nginx.org/packages/ubuntu/ focal nginx" | tee /etc/apt/sources.
<h6>Installing nginx-extras</h6>
<pre><code>apt-get install nginx-extras</code></pre>
<h2 id="InstallingServer">Installing ONLYOFFICE Groups</h2>
<h3 id="InstallingServer">Installing ONLYOFFICE Groups</h3>
<%--<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerGPGKey/AddCommunityServerGPGKeyDEB.ascx" />--%>
<p>Add the <b>ONLYOFFICE</b> repository:</p>
@ -147,12 +159,280 @@ echo "deb http://nginx.org/packages/ubuntu/ focal nginx" | tee /etc/apt/sources.
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdatePackageManagerCache.ascx" />
<p>Install <b>ONLYOFFICE Groups</b>:</p>
<pre><code>sudo apt-get install onlyoffice-controlpanel onlyoffice-communityserver</code></pre>
<p>Install <b>ONLYOFFICE XMPP Server</b>:</p>
<p>Install <b>ONLYOFFICE XMPP Server</b>:</p>
<pre><code>sudo apt-get install onlyoffice-xmppserver</code></pre>
<p>After that <b>ONLYOFFICE Groups</b> will become available at the <b>http://localhost/</b> address and will be updated just like any other deb package.</p>
<h2 id="HTTPS">Running ONLYOFFICE Groups using HTTPS</h2>
<h3 id="HTTPS">Running ONLYOFFICE Groups using HTTPS</h3>
<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 Groups</b> using secure connection. Please see the details <a href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/community/switch-to-https.aspx")%>">here</a> to learn more on how this can be done.</p>
</div>
<div class="tab content2">
<h3 id="InstallingDependencies">Installing dependencies</h3>
<p>Installation with Debian based distributives also requires the presence of <code>Mono</code> (version 6.8), <code>NGINX</code>, <code>Node.js</code> (version 12), <code>mysql-server</code>, <code>ffmpeg</code>, <code>mono-webserver-hyperfastcgi</code>, <code>Elasticsearch</code> (version 7.4) in the system.</p>
<h6>Adding the Mono 6.8 repository (<a target="_blank" href="http://www.mono-project.com/download/#download-lin-ubuntu">official instructions</a>):</h6>
<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddMonoGPGKey/AddMonoGPGKeyDEB.ascx" />
<p>After that add the proper repository containing the Mono 6.8 package. It will depend on your Ubuntu version and will be different for various distros. See the <a target="_blank" href="http://www.mono-project.com/download/#download-lin">complete list</a> of Mono versions for different distributions at the official website.</p>
<p>For Ubuntu 20.04:</p>
<pre><code>echo "deb http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 main" | tee /etc/apt/sources.list.d/mono-official.list</code></pre>
<p>You can manually replace <code>focal</code> with your Ubuntu dictribution codename (e.g. <code>bionic</code> for Ubuntu 18.04, or <code>xenial</code> for Ubuntu 16.04) in this command, as well as in subsequent ones.</p>
<div class="notehelp">youll get a warning when running <code>apt-get update</code>, it can be ignored:<p><code> Conflicting distribution: http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 InRelease (expected stable-focal/snapshots/6.8.0.123 but got focal)</code></p></div>
<pre><code>sudo apt-get update</code></pre>
<pre><code>sudo apt-get install mono-complete</code></pre>
<p>Add the <code>mono-extra</code> repository.</p>
<pre><code>echo "deb https://d2nlctn12v279m.cloudfront.net/repo/mono/ubuntu focal main" | tee /etc/apt/sources.list.d/mono-extra.list</code></pre>
<pre><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5</code></pre>
<h6>Adding the Elasticsearch 7.4. repository (<a target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html">official instructions</a>)</h6>
<p>For the search proper work you need to install <b>Elasticsearch</b> v.7.4. Run the following commands:</p>
<pre><code>wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-7.x.list</code></pre>
<%--<p>On Debian, you may also need to install <code>apt-transport-https</code>:</p>
<pre><code>sudo apt-get install apt-transport-https</code></pre>--%>
<h6>Adding the Node.js 12 repository (<a target="_blank" href="https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions">official instructions</a>)</h6>
<pre><code>echo "deb https://deb.nodesource.com/node_12.x focal main" | tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/node_12.x focal main" >> /etc/apt/sources.list.d/nodesource.list
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -</code></pre>
<%--<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />--%>
<h6>Adding the NGINX repository (<a target="_blank" href="https://www.nginx.com/resources/wiki/start/topics/tutorials/install/">official instructions</a>):</h6>
<pre><code>wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
echo "deb http://nginx.org/packages/ubuntu/ focal nginx" | tee /etc/apt/sources.list.d/nginx.list</code></pre>
<h6>Adding the MySQL 8.0 package (<a target="_blank" href="https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/">official instructions</a>):</h6>
<pre><code>curl -OL http://dev.mysql.com/get/mysql-apt-config_0.8.15-1_all.deb</code></pre>
<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />
<h6>Installing ffmpeg, Elasticsearch, mono-webserver-hyperfastcgi</h6>
<pre><code>apt-get install ffmpeg elasticsearch=7.9.0 mono-webserver-hyperfastcgi=0.4-8</code></pre>
<p>For Ubuntu 20.04, replace <code>$hyperfastcgi_version</code> with <code>0.4-8</code>. For ubuntu <code>bionic</code>, use <code>0.4-7</code>. For ubuntu <code>xenial</code>, use <code>0.4-6</code>.</p>
<h6>Installing nginx-extras</h6>
<pre><code>apt-get install nginx-extras</code></pre>
<h3 id="InstallingServer">Installing ONLYOFFICE Groups</h3>
<%--<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerGPGKey/AddCommunityServerGPGKeyDEB.ascx" />--%>
<p>Add the <b>ONLYOFFICE</b> repository:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerRepository/AddCommunityServerRepositoryDEB.ascx" />
<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>Update the package manager cache:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdatePackageManagerCache.ascx" />
<p>Install <b>ONLYOFFICE Groups</b>:</p>
<pre><code>sudo apt-get install onlyoffice-controlpanel onlyoffice-communityserver</code></pre>
<p>Install <b>ONLYOFFICE XMPP Server</b>:</p>
<pre><code>sudo apt-get install onlyoffice-xmppserver</code></pre>
<p>After that <b>ONLYOFFICE Groups</b> will become available at the <b>http://localhost/</b> address and will be updated just like any other deb package.</p>
<h3 id="HTTPS">Running ONLYOFFICE Groups using HTTPS</h3>
<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 Groups</b> using secure connection. Please see the details <a href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/community/switch-to-https.aspx")%>">here</a> to learn more on how this can be done.</p>
</div>
<div class="tab content3">
<h3 id="InstallingDependencies">Installing dependencies</h3>
<p>Installation with Debian based distributives also requires the presence of <code>Mono</code> (version 6.8), <code>NGINX</code>, <code>Node.js</code> (version 12), <code>mysql-server</code>, <code>ffmpeg</code>, <code>mono-webserver-hyperfastcgi</code>, <code>Elasticsearch</code> (version 7.4) in the system.</p>
<h6>Adding the Mono 6.8 repository (<a target="_blank" href="http://www.mono-project.com/download/#download-lin-ubuntu">official instructions</a>):</h6>
<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddMonoGPGKey/AddMonoGPGKeyDEB.ascx" />
<p>After that add the proper repository containing the Mono 6.8 package. It will depend on your Ubuntu version and will be different for various distros. See the <a target="_blank" href="http://www.mono-project.com/download/#download-lin">complete list</a> of Mono versions for different distributions at the official website.</p>
<p>For Ubuntu 20.04:</p>
<pre><code>echo "deb http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 main" | tee /etc/apt/sources.list.d/mono-official.list</code></pre>
<p>You can manually replace <code>focal</code> with your Ubuntu dictribution codename (e.g. <code>bionic</code> for Ubuntu 18.04, or <code>xenial</code> for Ubuntu 16.04) in this command, as well as in subsequent ones.</p>
<div class="notehelp">youll get a warning when running <code>apt-get update</code>, it can be ignored:<p><code> Conflicting distribution: http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 InRelease (expected stable-focal/snapshots/6.8.0.123 but got focal)</code></p></div>
<pre><code>sudo apt-get update</code></pre>
<pre><code>sudo apt-get install mono-complete</code></pre>
<p>Add the <code>mono-extra</code> repository.</p>
<pre><code>echo "deb https://d2nlctn12v279m.cloudfront.net/repo/mono/ubuntu focal main" | tee /etc/apt/sources.list.d/mono-extra.list</code></pre>
<pre><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5</code></pre>
<h6>Adding the Elasticsearch 7.4. repository (<a target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html">official instructions</a>)</h6>
<p>For the search proper work you need to install <b>Elasticsearch</b> v.7.4. Run the following commands:</p>
<pre><code>wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-7.x.list</code></pre>
<%--<p>On Debian, you may also need to install <code>apt-transport-https</code>:</p>
<pre><code>sudo apt-get install apt-transport-https</code></pre>--%>
<h6>Adding the Node.js 12 repository (<a target="_blank" href="https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions">official instructions</a>)</h6>
<pre><code>echo "deb https://deb.nodesource.com/node_12.x focal main" | tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/node_12.x focal main" >> /etc/apt/sources.list.d/nodesource.list
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -</code></pre>
<%--<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />--%>
<h6>Adding the NGINX repository (<a target="_blank" href="https://www.nginx.com/resources/wiki/start/topics/tutorials/install/">official instructions</a>):</h6>
<pre><code>wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
echo "deb http://nginx.org/packages/ubuntu/ focal nginx" | tee /etc/apt/sources.list.d/nginx.list</code></pre>
<h6>Adding the MySQL 8.0 package (<a target="_blank" href="https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/">official instructions</a>):</h6>
<pre><code>curl -OL http://dev.mysql.com/get/mysql-apt-config_0.8.15-1_all.deb</code></pre>
<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />
<h6>Installing ffmpeg, Elasticsearch, mono-webserver-hyperfastcgi</h6>
<pre><code>apt-get install ffmpeg elasticsearch=7.9.0 mono-webserver-hyperfastcgi=0.4-8</code></pre>
<p>For Ubuntu 20.04, replace <code>$hyperfastcgi_version</code> with <code>0.4-8</code>. For ubuntu <code>bionic</code>, use <code>0.4-7</code>. For ubuntu <code>xenial</code>, use <code>0.4-6</code>.</p>
<h6>Installing nginx-extras</h6>
<pre><code>apt-get install nginx-extras</code></pre>
<h3 id="InstallingServer">Installing ONLYOFFICE Groups</h3>
<%--<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerGPGKey/AddCommunityServerGPGKeyDEB.ascx" />--%>
<p>Add the <b>ONLYOFFICE</b> repository:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerRepository/AddCommunityServerRepositoryDEB.ascx" />
<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>Update the package manager cache:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdatePackageManagerCache.ascx" />
<p>Install <b>ONLYOFFICE Groups</b>:</p>
<pre><code>sudo apt-get install onlyoffice-controlpanel onlyoffice-communityserver</code></pre>
<p>Install <b>ONLYOFFICE XMPP Server</b>:</p>
<pre><code>sudo apt-get install onlyoffice-xmppserver</code></pre>
<p>After that <b>ONLYOFFICE Groups</b> will become available at the <b>http://localhost/</b> address and will be updated just like any other deb package.</p>
<h3 id="HTTPS">Running ONLYOFFICE Groups using HTTPS</h3>
<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 Groups</b> using secure connection. Please see the details <a href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/community/switch-to-https.aspx")%>">here</a> to learn more on how this can be done.</p>
</div>
<div class="tab content4">
<h3 id="InstallingDependencies">Installing dependencies</h3>
<p>Installation with Debian based distributives also requires the presence of <code>Mono</code> (version 6.8), <code>NGINX</code>, <code>Node.js</code> (version 12), <code>mysql-server</code>, <code>ffmpeg</code>, <code>mono-webserver-hyperfastcgi</code>, <code>Elasticsearch</code> (version 7.4) in the system.</p>
<h6>Adding the Mono 6.8 repository (<a target="_blank" href="http://www.mono-project.com/download/#download-lin-ubuntu">official instructions</a>):</h6>
<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddMonoGPGKey/AddMonoGPGKeyDEB.ascx" />
<p>After that add the proper repository containing the Mono 6.8 package. It will depend on your Ubuntu version and will be different for various distros. See the <a target="_blank" href="http://www.mono-project.com/download/#download-lin">complete list</a> of Mono versions for different distributions at the official website.</p>
<p>For Ubuntu 20.04:</p>
<pre><code>echo "deb http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 main" | tee /etc/apt/sources.list.d/mono-official.list</code></pre>
<p>You can manually replace <code>focal</code> with your Ubuntu dictribution codename (e.g. <code>bionic</code> for Ubuntu 18.04, or <code>xenial</code> for Ubuntu 16.04) in this command, as well as in subsequent ones.</p>
<div class="notehelp">youll get a warning when running <code>apt-get update</code>, it can be ignored:<p><code> Conflicting distribution: http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 InRelease (expected stable-focal/snapshots/6.8.0.123 but got focal)</code></p></div>
<pre><code>sudo apt-get update</code></pre>
<pre><code>sudo apt-get install mono-complete</code></pre>
<p>Add the <code>mono-extra</code> repository.</p>
<pre><code>echo "deb https://d2nlctn12v279m.cloudfront.net/repo/mono/ubuntu focal main" | tee /etc/apt/sources.list.d/mono-extra.list</code></pre>
<pre><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5</code></pre>
<h6>Adding the Elasticsearch 7.4. repository (<a target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html">official instructions</a>)</h6>
<p>For the search proper work you need to install <b>Elasticsearch</b> v.7.4. Run the following commands:</p>
<pre><code>wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-7.x.list</code></pre>
<%--<p>On Debian, you may also need to install <code>apt-transport-https</code>:</p>
<pre><code>sudo apt-get install apt-transport-https</code></pre>--%>
<h6>Adding the Node.js 12 repository (<a target="_blank" href="https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions">official instructions</a>)</h6>
<pre><code>echo "deb https://deb.nodesource.com/node_12.x focal main" | tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/node_12.x focal main" >> /etc/apt/sources.list.d/nodesource.list
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -</code></pre>
<%--<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />--%>
<h6>Adding the NGINX repository (<a target="_blank" href="https://www.nginx.com/resources/wiki/start/topics/tutorials/install/">official instructions</a>):</h6>
<pre><code>wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
echo "deb http://nginx.org/packages/ubuntu/ focal nginx" | tee /etc/apt/sources.list.d/nginx.list</code></pre>
<h6>Adding the MySQL 8.0 package (<a target="_blank" href="https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/">official instructions</a>):</h6>
<pre><code>curl -OL http://dev.mysql.com/get/mysql-apt-config_0.8.15-1_all.deb</code></pre>
<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />
<h6>Installing ffmpeg, Elasticsearch, mono-webserver-hyperfastcgi</h6>
<pre><code>apt-get install ffmpeg elasticsearch=7.9.0 mono-webserver-hyperfastcgi=0.4-8</code></pre>
<p>For Ubuntu 20.04, replace <code>$hyperfastcgi_version</code> with <code>0.4-8</code>. For ubuntu <code>bionic</code>, use <code>0.4-7</code>. For ubuntu <code>xenial</code>, use <code>0.4-6</code>.</p>
<h6>Installing nginx-extras</h6>
<pre><code>apt-get install nginx-extras</code></pre>
<h3 id="InstallingServer">Installing ONLYOFFICE Groups</h3>
<%--<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerGPGKey/AddCommunityServerGPGKeyDEB.ascx" />--%>
<p>Add the <b>ONLYOFFICE</b> repository:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerRepository/AddCommunityServerRepositoryDEB.ascx" />
<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>Update the package manager cache:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdatePackageManagerCache.ascx" />
<p>Install <b>ONLYOFFICE Groups</b>:</p>
<pre><code>sudo apt-get install onlyoffice-controlpanel onlyoffice-communityserver</code></pre>
<p>Install <b>ONLYOFFICE XMPP Server</b>:</p>
<pre><code>sudo apt-get install onlyoffice-xmppserver</code></pre>
<p>After that <b>ONLYOFFICE Groups</b> will become available at the <b>http://localhost/</b> address and will be updated just like any other deb package.</p>
<h3 id="HTTPS">Running ONLYOFFICE Groups using HTTPS</h3>
<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 Groups</b> using secure connection. Please see the details <a href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/community/switch-to-https.aspx")%>">here</a> to learn more on how this can be done.</p>
</div>
<div class="tab content5">
<h3 id="InstallingDependencies">Installing dependencies</h3>
<p>Installation with Debian based distributives also requires the presence of <code>Mono</code> (version 6.8), <code>NGINX</code>, <code>Node.js</code> (version 12), <code>mysql-server</code>, <code>ffmpeg</code>, <code>mono-webserver-hyperfastcgi</code>, <code>Elasticsearch</code> (version 7.4) in the system.</p>
<h6>Adding the Mono 6.8 repository (<a target="_blank" href="http://www.mono-project.com/download/#download-lin-ubuntu">official instructions</a>):</h6>
<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddMonoGPGKey/AddMonoGPGKeyDEB.ascx" />
<p>After that add the proper repository containing the Mono 6.8 package. It will depend on your Ubuntu version and will be different for various distros. See the <a target="_blank" href="http://www.mono-project.com/download/#download-lin">complete list</a> of Mono versions for different distributions at the official website.</p>
<p>For Ubuntu 20.04:</p>
<pre><code>echo "deb http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 main" | tee /etc/apt/sources.list.d/mono-official.list</code></pre>
<p>You can manually replace <code>focal</code> with your Ubuntu dictribution codename (e.g. <code>bionic</code> for Ubuntu 18.04, or <code>xenial</code> for Ubuntu 16.04) in this command, as well as in subsequent ones.</p>
<div class="notehelp">youll get a warning when running <code>apt-get update</code>, it can be ignored:<p><code> Conflicting distribution: http://download.mono-project.com/repo/ubuntu stable-focal/snapshots/6.8.0.123 InRelease (expected stable-focal/snapshots/6.8.0.123 but got focal)</code></p></div>
<pre><code>sudo apt-get update</code></pre>
<pre><code>sudo apt-get install mono-complete</code></pre>
<p>Add the <code>mono-extra</code> repository.</p>
<pre><code>echo "deb https://d2nlctn12v279m.cloudfront.net/repo/mono/ubuntu focal main" | tee /etc/apt/sources.list.d/mono-extra.list</code></pre>
<pre><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5</code></pre>
<h6>Adding the Elasticsearch 7.4. repository (<a target="_blank" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html">official instructions</a>)</h6>
<p>For the search proper work you need to install <b>Elasticsearch</b> v.7.4. Run the following commands:</p>
<pre><code>wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-7.x.list</code></pre>
<%--<p>On Debian, you may also need to install <code>apt-transport-https</code>:</p>
<pre><code>sudo apt-get install apt-transport-https</code></pre>--%>
<h6>Adding the Node.js 12 repository (<a target="_blank" href="https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions">official instructions</a>)</h6>
<pre><code>echo "deb https://deb.nodesource.com/node_12.x focal main" | tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/node_12.x focal main" >> /etc/apt/sources.list.d/nodesource.list
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -</code></pre>
<%--<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />--%>
<h6>Adding the NGINX repository (<a target="_blank" href="https://www.nginx.com/resources/wiki/start/topics/tutorials/install/">official instructions</a>):</h6>
<pre><code>wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
echo "deb http://nginx.org/packages/ubuntu/ focal nginx" | tee /etc/apt/sources.list.d/nginx.list</code></pre>
<h6>Adding the MySQL 8.0 package (<a target="_blank" href="https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/">official instructions</a>):</h6>
<pre><code>curl -OL http://dev.mysql.com/get/mysql-apt-config_0.8.15-1_all.deb</code></pre>
<h6>Updating the repository:</h6>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdateMonoRepository.ascx" />
<h6>Installing ffmpeg, Elasticsearch, mono-webserver-hyperfastcgi</h6>
<pre><code>apt-get install ffmpeg elasticsearch=7.9.0 mono-webserver-hyperfastcgi=0.4-8</code></pre>
<p>For Ubuntu 20.04, replace <code>$hyperfastcgi_version</code> with <code>0.4-8</code>. For ubuntu <code>bionic</code>, use <code>0.4-7</code>. For ubuntu <code>xenial</code>, use <code>0.4-6</code>.</p>
<h6>Installing nginx-extras</h6>
<pre><code>apt-get install nginx-extras</code></pre>
<h3 id="InstallingServer">Installing ONLYOFFICE Groups</h3>
<%--<p>Add the GPG key:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerGPGKey/AddCommunityServerGPGKeyDEB.ascx" />--%>
<p>Add the <b>ONLYOFFICE</b> repository:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/AddCommunityServerRepository/AddCommunityServerRepositoryDEB.ascx" />
<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>Update the package manager cache:</p>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/CommandList/Linux/CommandsForPage/UpdatePackageManagerCache.ascx" />
<p>Install <b>ONLYOFFICE Groups</b>:</p>
<pre><code>sudo apt-get install onlyoffice-controlpanel onlyoffice-communityserver</code></pre>
<p>Install <b>ONLYOFFICE XMPP Server</b>:</p>
<pre><code>sudo apt-get install onlyoffice-xmppserver</code></pre>
<p>After that <b>ONLYOFFICE Groups</b> will become available at the <b>http://localhost/</b> address and will be updated just like any other deb package.</p>
<h3 id="HTTPS">Running ONLYOFFICE Groups using HTTPS</h3>
<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 Groups</b> using secure connection. Please see the details <a href="<%=VirtualPathUtility.ToAbsolute("~/server/linux/community/switch-to-https.aspx")%>">here</a> to learn more on how this can be done.</p>
</div>
</div>
</div>
</div>