helpcenter/Web/Controls/Help/Server/Linux/Document/LinuxUpgrade/LinuxUpgrade.ascx

98 lines
5.7 KiB
Plaintext
Raw Normal View History

2016-08-29 13:51:20 +00:00
<%@ Control Language="C#" Inherits="BaseContentUserControls"%>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<script runat="server">
protected override void Init()
{
PageTitle = PageCaption = "How to update your Document Server for Linux to the latest version?";
MetaKeyWords = "";
MetaDescription = "";
}
</script>
<div class="MainHelpCenter">
<h1 class="subHeaderFeaturesCaption Guides_Video_Captions">How to update your Document Server for Linux to the latest version?</h1>
<cc:localizecontent runat="Server" controlname="~/Controls/Help/VariousControls/Versions/DocumentServer/DocumentServer_3_0.ascx" />
-
<cc:localizecontent runat="Server" controlname="~/Controls/Help/VariousControls/Versions/DocumentServer/DocumentServer_3_6.ascx" />
<div class="keyword_block">
<ul>
<li>
<cc:LocalizeContent ID="LocalizeContent3" runat="Server" ControlName="~/Controls/Help/Tags/local-server/local-server.ascx" />
</li>
<li>
<cc:LocalizeContent ID="LocalizeContent4" runat="Server" ControlName="~/Controls/Help/Tags/server-version/server-version.ascx" />
</li>
<li>
<cc:LocalizeContent ID="LocalizeContent6" runat="Server" ControlName="~/Controls/Help/Tags/document-server/document-server.ascx" />
</li>
<li>
<cc:LocalizeContent ID="LocalizeContent9" runat="Server" ControlName="~/Controls/Help/Tags/linux-version/linux-version.ascx" />
</li>
<li>
<cc:LocalizeContent ID="LocalizeContent12" runat="Server" ControlName="~/Controls/Help/Tags/upgrade-server/upgrade-server.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><b>Document Server</b> for Linux distributives packages and the source code can be found here:
<br />
<a target="_blank" href="http://sourceforge.net/projects/teamlab/files/ONLYOFFICE_DocumentServer/">http://sourceforge.net/projects/teamlab/files/ONLYOFFICE_DocumentServer/</a>
</p>
<p>The first published Linux version for <b>Document Server</b> was version 3.0, so in this guide we will consider it to be the oldest that can be installed on your computer and will show the upgrade to the latest available version from it.</p>
</div>
</div>
</div>
<h2 id="InstallingDebian">Installing dependencies</h2>
<div class="block_of_step">
<div class="screen_text">
<p>The system requirements have not changed for <b>Document Server</b> starting from version 3.0, but some of the dependencies required for correct work are not included into Ubuntu 14.04 by default, so they require additional steps for the newer versions of <b>Document Server</b>.</p>
<p>The following dependencies will be installed automatically if you use <b>Ubuntu 14.04 LTS</b> or later when you update <b>Document Server</b> (in case some of them were not installed with <b>Document Server</b> earlier versions for some reason):</p>
<ul>
<li>mono-fastcgi-server
<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>Earlier distributives might require their manual installation.</p>
<p>You will also need to manually add GPG key and repository for the proper version of MySQL server and nodejs packages.</p>
<p><b>Adding the repository containing the up-to-date mysql-server package versions</b>:</p>
<p>Add GPG key:</p>
<pre><code>sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5072E1F5
</code></pre>
<p>Add repository:</p>
<pre><code>echo "deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.6" | sudo tee /etc/apt/sources.list.d/mysql.list
</code></pre>
<p>Update repository:</p>
<pre><code>sudo apt-get update
</code></pre>
<div class="notehelp">When installing Document Server to an operating system different from Ubuntu 14.04 the link will differ from the above. Please see the <a target="_blank" href="http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/index.html#repo-qg-apt-repo-manual-setup">official MySQL documentation</a> for more datail on that.</div>
<p><b>Adding the repository containing the up-to-date nodejs package versions</b>:</p>
<p>Add repository:</p>
<pre><code>curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
</code></pre>
<div class="notehelp">Ubuntu distributives <b>prior to 14.04 LTS</b> might require some other dependencies to be installed.</div>
<h2 id="InstallDocumentServer">Installing new version of Document Server</h2>
<p>Update repository:</p>
<pre><code>sudo apt-get update
</code></pre>
<p>And install the latest version of <b>Document Server</b>:</p>
<pre><code>sudo apt-get dist-upgrade
</code></pre>
<p>The database and all necessary files should be picked up automatically from the previous version. Please run <b>Document Server</b> and check it for correct work.</p>
</div>
</div>
</div>