<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Upgrade &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/upgrade/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Tue, 17 Aug 2021 07:08:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Upgrade &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How Can I Upgrade Ubuntu 18.04 to 20.04</title>
		<link>https://help.hostry.com/knowledge-base/how-can-i-upgrade-ubuntu-18-04-to-20-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-can-i-upgrade-ubuntu-18-04-to-20-04/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 29 Jul 2021 07:08:34 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4067</guid>

					<description><![CDATA[This guide is focused on Linux servers running Ubuntu distribution. Before proceeding with the procedure for updating your Ubuntu, it is recommended to make backups, otherwise there is a high risk of losing all data. First stage before updating First, update your Ubuntu Then restart your server Next, do the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>This guide is focused on <strong>Linux</strong> servers running <strong>Ubuntu</strong> distribution. Before proceeding with the procedure for updating your <strong>Ubuntu</strong>, it is recommended to make backups, otherwise there is a high risk of losing all data.</p>



<h2 id="first-stage-before-updating" >First stage before updating</h2>



<p>First, update your Ubuntu</p>



<pre class="wp-block-code"><code>apt upgrade</code></pre>



<p>Then restart your server</p>



<pre class="wp-block-code"><code>reboot</code></pre>



<p>Next, do the following:</p>



<pre class="wp-block-code"><code>apt update &amp;&amp; sudo apt upgrade -y</code></pre>



<p>After that, you need to remove unused packages and kernels to free up space in your <strong>/boot</strong> partition</p>



<pre class="wp-block-code"><code>apt --purge autoremove</code></pre>



<p>Then you need to edit the update manager configuration file. This can be done as follows:</p>



<pre class="wp-block-code"><code>nano /etc/update-manager/release-upgrades</code></pre>



<p>Find the line starting with <strong>Prompt =</strong>. Make sure it is not commented out and the lts value matches the one shown:</p>



<pre class="wp-block-code"><code>Prompt=lts</code></pre>



<h2 id="running-updates" >Running Updates</h2>



<p>First, we recommend checking the backups again. Then run the update tool on your Ubuntu, then enter <strong><span style="text-decoration: underline;"><em>Y</em></span></strong></p>



<pre class="wp-block-code"><code>do-release-upgrade</code></pre>



<p>Then follow the instructions that you see in your terminal and click carefully. This will be followed by the removal of packages, with which you must agree by clicking on <strong><span style="text-decoration: underline;"><em>Y</em></span></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-can-i-upgrade-ubuntu-18-04-to-20-04/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How Do I Upgrade my Python on CentOS 8</title>
		<link>https://help.hostry.com/knowledge-base/how-do-i-upgrade-my-python-on-centos-8/</link>
					<comments>https://help.hostry.com/knowledge-base/how-do-i-upgrade-my-python-on-centos-8/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 12 Aug 2021 07:22:34 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4134</guid>

					<description><![CDATA[In order for you to perform this operation to update your Python version, you need to update your CentOS 8 and have root rights for your VPS Checking Your Python Version In order to go to upgrade your python, you need to check its version. This can be done using [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>In order for you to perform this operation to update your <strong>Python</strong> version, you need to update your CentOS 8 and have root rights for your VPS</p>



<h2 id="checking-your-python-version" >Checking Your Python Version</h2>



<p>In order to go to upgrade your python, you need to check its version. This can be done using the following command:</p>



<pre class="wp-block-code"><code>python3 -V</code></pre>



<p>If python is successfully installed on your server, then you should get something like this:</p>



<pre class="wp-block-code"><code>Python 3.6.7</code></pre>



<h2 id="updating-your-python-version" >Updating your Python Version</h2>



<p>First, you need to install the required dependencies to compile the Python source code. This can be done using a special command, which is presented below:</p>



<pre class="wp-block-code"><code>yum groupinstall 'development tools' -y &amp;&amp; yum install wget openssl-devel bzip2-devel libffi-devel xz-devel -y</code></pre>



<p>After that, we recommend going to the <strong><a href="https://www.python.org/downloads/source/">Python</a></strong> source download page to find the latest gzip version of the source code. Replace the urls and filenames in this tutorial with the latest version. Then download your <strong>python</strong></p>



<pre class="wp-block-code"><code>wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz</code></pre>



<p>After that, you need to unpack the archive that you just downloaded. You can do it like this:</p>



<pre class="wp-block-code"><code>tar xzf Python-3.9.6.tgz</code></pre>



<p>Next, compile the <strong>Python</strong> source</p>



<pre class="wp-block-code"><code>cd Python-3.9.6 &amp;&amp; ./configure --enable-optimizations</code></pre>



<p>This is followed by the installation of your Python. Use the following command:</p>



<pre class="wp-block-code"><code>make altinstall</code></pre>



<p>After that, a mandatory step for execution will be to check the name of your new Python executable file</p>



<pre class="wp-block-code"><code>ls /usr/local/bin/python*</code></pre>



<p>Then Install the new default Python executable. Replace the two instances of /python3.9 in the following command with the name of your new Python executable</p>



<pre class="wp-block-code"><code>alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.9 1 &amp;&amp; alternatives --set python3 /usr/local/bin/python3.9 &amp;&amp; echo "2" | alternatives --config python</code></pre>



<h2 id="update-your-pip" >Update your PIP</h2>



<p>An important step for this update is to update your <strong>pip</strong>.</p>



<pre class="wp-block-code"><code>/usr/local/bin/python3.9 -m pip install --upgrade pip</code></pre>



<p>Then you should check the name of your new <strong>pip</strong> executable</p>



<pre class="wp-block-code"><code>ls /usr/local/bin/pip*</code></pre>



<p>Set the new item as default. Use the name of your new pip executable in the following command:</p>



<pre class="wp-block-code"><code>alternatives --install /usr/bin/pip pip /usr/local/bin/pip3.9 1 &amp;&amp; alternatives --set pip /usr/local/bin/pip3.9</code></pre>



<p>After that, you need to check the current version of your installed Python. You can make sure like this:</p>



<pre class="wp-block-code"><code>python -V &amp;&amp; pip -V</code></pre>



<p>After that, you will be able to see the following:</p>



<pre class="wp-block-code"><code>Python-3.9.6
pip 21.2.3 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)</code></pre>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-do-i-upgrade-my-python-on-centos-8/feed/</wfw:commentRss>
			<slash:comments>498</slash:comments>
		
		
			</item>
		<item>
		<title>How Do I Upgrade my Python on Debian</title>
		<link>https://help.hostry.com/knowledge-base/how-do-i-upgrade-my-python-on-debian/</link>
					<comments>https://help.hostry.com/knowledge-base/how-do-i-upgrade-my-python-on-debian/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 07:08:17 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4161</guid>

					<description><![CDATA[In order for you to perform this operation to update your&#160;Python&#160;version, you need to update your CentOS 8 and have root rights for your VPS Checking Your Python Version In order to go to upgrade your python, you need to check its version. This can be done using the following [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>In order for you to perform this operation to update your&nbsp;<strong>Python</strong>&nbsp;version, you need to update your CentOS 8 and have root rights for your VPS</p>



<h2 id="checking-your-python-version" id="checking-your-python-version" >Checking Your Python Version</h2>



<p>In order to go to upgrade your python, you need to check its version. This can be done using the following command:</p>



<pre class="wp-block-code"><code>python3 -V</code></pre>



<p>If python is successfully installed on your server, then you should get something like this:</p>



<pre class="wp-block-code"><code>Python 3.6.7</code></pre>



<h2 id="updating-your-python-version" >Updating your Python Version</h2>



<p>First, you need to install the required dependencies to compile the Python source code. This can be done using a special command, which is presented below:</p>



<pre class="wp-block-code"><code># apt-get install wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev liblzma-dev -y</code></pre>



<p>After that, we recommend going to the <strong><a href="https://www.python.org/downloads/source/">Python</a></strong> source download page to find the latest gzip version of the source code. Replace the urls and filenames in this tutorial with the latest version. Then download your <strong>python</strong></p>



<pre class="wp-block-code"><code>wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz</code></pre>



<p>After that, you need to unpack the archive that you just downloaded. You can do it like this:</p>



<pre class="wp-block-code"><code>tar xzf Python-3.9.6.tgz</code></pre>



<p>Next, compile the&nbsp;<strong>Python</strong>&nbsp;source</p>



<pre class="wp-block-code"><code>cd Python-3.9.6 &amp;&amp; ./configure --enable-optimizations</code></pre>



<p>This is followed by the installation of your Python. Use the following command:</p>



<pre class="wp-block-code"><code>make altinstall</code></pre>



<p>After that, a mandatory step for execution will be to check the name of your new Python executable file</p>



<pre class="wp-block-code"><code>ls /usr/local/bin/python*</code></pre>



<p>Then Install the new default Python executable. Replace the two instances of <strong>/python3.9</strong> in the following command with the name of your new Python executable</p>



<pre class="wp-block-code"><code>update-alternatives --install /usr/bin/python python /usr/local/bin/python3.9 1</code></pre>



<h2 id="update-your-pip" id="update-your-pip" >Update your PIP</h2>



<p>An important step for this update is to update your&nbsp;<strong>pip</strong>.</p>



<pre class="wp-block-code"><code>/usr/local/bin/python3.9 -m pip install --upgrade pip</code></pre>



<p>Then you should check the name of your new&nbsp;<strong>pip</strong>&nbsp;executable</p>



<pre class="wp-block-code"><code>ls /usr/local/bin/pip*</code></pre>



<p>Set the new item as default. Use the name of your new pip executable in the following command:</p>



<pre class="wp-block-code"><code>update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip3.9 1</code></pre>



<p>After that, you need to check the current version of your installed Python. You can make sure like this:</p>



<pre class="wp-block-code"><code>python -V &amp;&amp; pip -V</code></pre>



<p>After that, you will be able to see the following:</p>



<pre class="wp-block-code"><code>Python-3.9.6
pip 21.2.3 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-do-i-upgrade-my-python-on-debian/feed/</wfw:commentRss>
			<slash:comments>538</slash:comments>
		
		
			</item>
		<item>
		<title>How to Resize the Disk Partition, using CLI, After Upgrading my Tariff Plan on my VPS</title>
		<link>https://help.hostry.com/knowledge-base/how-to-resize-the-disk-partition-after-upgrading-my-tariff-plan-on-my-vps/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-resize-the-disk-partition-after-upgrading-my-tariff-plan-on-my-vps/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 04 Feb 2021 08:46:36 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=3052</guid>

					<description><![CDATA[Hostry offers our customers a VPS tariff plan upgrade. This procedure is performed by requesting technical support. After your plan has been successfully changed, this will be displayed on your orders page. In addition, an important procedure should be followed &#8211; disk enlargement. We recommend using gparted for this. This [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hostry offers our customers a<strong> <a href="https://hostry.com/products/vps/">VPS</a></strong> tariff plan upgrade. This procedure is performed by requesting technical support. After your plan has been successfully changed, this will be displayed on your <strong><a href="https://hostry.com/orders/">orders page</a></strong>. In addition, an important procedure should be followed &#8211; disk enlargement. We recommend using gparted for this. This article aims to help you perform this disk expansion procedure quickly, efficiently, and without losing your data. It is worth informing that after successful completion of this procedure, the server will be <strong>rebooted</strong> for a few seconds. Be sure to take this factor into account and choose a convenient time for yourself to perform this procedure, so the Linux kernel takes care, that the virtual drive has been expanded. </p>



<h2 id="update-your-system-files" id="grown-the-partition-and-file-system" >Grown the partition and File System</h2>



<p>For the following file systems: <strong>xfs</strong>, <strong>ext4</strong>, <strong>btrfs</strong>, <strong>ntfs</strong> (for Windows, starting from Vista) is possible to growth online (i.e. without unmounting before proceeding).<strong> Ntfs</strong> and <strong>btrfs</strong> even can shrink online, other file systems only then aren&#8217;t mounted). </p>



<p>First of all, you need the <strong>root </strong>access to your VPS server.  After login, you need to run the <strong>lsblk</strong> command. Here you can see all disk devices, their volume, and partitions. In this screenshot, you can see that <strong>vda</strong> has a size o<strong>f 50 GB</strong>, and in this case, <strong>vda1</strong> + <strong>vda2</strong> have <strong>30 GB</strong>. After that, please enter the <strong>parted /dev/vda</strong></p>



<figure class="wp-block-image size-large"><img width="864" height="365" src="https://help.hostry.com/wp-content/uploads/2021/02/Step1-1.png" alt="" class="wp-image-3062" srcset="https://help.hostry.com/wp-content/uploads/2021/02/Step1-1.png 864w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-300x127.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-768x324.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-50x21.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-600x253.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/Step1-1-320x135.png 320w" sizes="(max-width: 864px) 100vw, 864px" /></figure>



<p>As we can see, the command <strong>parted </strong>is run. Next, we run the command &#8211; <strong>p</strong> (Print), which shows the partitions and offers to change/fix the GPT table so that it matches the size of the virtual disk.<br>We agree &#8211; we write: <strong>Fix</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="868" height="331" src="https://help.hostry.com/wp-content/uploads/2021/02/2.png" alt="" class="wp-image-3067" srcset="https://help.hostry.com/wp-content/uploads/2021/02/2.png 868w, https://help.hostry.com/wp-content/uploads/2021/02/2-300x114.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/2-768x293.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/2-50x19.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/2-600x229.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/2-320x122.png 320w" sizes="(max-width: 868px) 100vw, 868px" /></figure>



<p>After that, we need to run <strong>resizepart 2</strong> &#8211; this is the command that marks the resize of the partition. You can take the final number from the size of the disk &#8211; the size can be seen on screen 2 &#8211; <strong>53, 7GB</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="866" height="306" src="https://help.hostry.com/wp-content/uploads/2021/02/3.png" alt="" class="wp-image-3072" srcset="https://help.hostry.com/wp-content/uploads/2021/02/3.png 866w, https://help.hostry.com/wp-content/uploads/2021/02/3-300x106.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/3-768x271.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/3-50x18.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/3-600x212.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/3-320x113.png 320w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<p>Finally, you need to use the q command &#8211; it exits parted. For the ext3 / ext4 filesystem format, the following command:<strong> resize2fs /dev/vda2</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="872" height="200" src="https://help.hostry.com/wp-content/uploads/2021/02/4.png" alt="" class="wp-image-3078" srcset="https://help.hostry.com/wp-content/uploads/2021/02/4.png 872w, https://help.hostry.com/wp-content/uploads/2021/02/4-300x69.png 300w, https://help.hostry.com/wp-content/uploads/2021/02/4-768x176.png 768w, https://help.hostry.com/wp-content/uploads/2021/02/4-50x11.png 50w, https://help.hostry.com/wp-content/uploads/2021/02/4-600x138.png 600w, https://help.hostry.com/wp-content/uploads/2021/02/4-320x73.png 320w" sizes="(max-width: 872px) 100vw, 872px" /></figure>



<p>Done! At this stage, the changes are complete.</p>



<p>For <strong>xfs</strong>, you can use the command: <strong>xfs_growfs</strong></p>



<p>For <strong><strong>btrfs</strong></strong>, you can use the command: <strong>btrfs filesystem resize</strong></p>



<p>For <strong><strong><strong>ext4</strong></strong></strong>, you can use the command:<strong> resize2fs /dev/vda2</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-resize-the-disk-partition-after-upgrading-my-tariff-plan-on-my-vps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Upgrade Debian 9 to Debian 10</title>
		<link>https://help.hostry.com/knowledge-base/how-to-upgrade-debian-9-to-debian-10/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-upgrade-debian-9-to-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 04 Oct 2019 07:41:30 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=756</guid>

					<description><![CDATA[This update (Debian 10) dates back to July 6, 2019. It is important to note: in order for the update to succeed, all commands must be run as root. Otherwise, you will need to add sudo. Preparation The important point is that you need to backup your virtual server. On [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>This update (<strong>Debian 10</strong>) dates back to <strong>July 6, 2019</strong>. It is important to note: in order for the update to succeed, all commands must be run as root. Otherwise, you will need to add sudo. </p>



<h2 id="Step_1__Preparation" id="preparation" >Preparation</h2>



<p>The important point is that you need to <strong><a href="https://hostry.com/blog/the-crucial-importance-of-backup/">backup your virtual server</a></strong>. On its own, Debian is very stable; but there is always a degree of probability that potential incompatibility will arise. <br>Still important is the presence of broken packages. This can be done with <strong>dpkg &#8211;audit</strong>. If this does not help, you can try to fix the problem with <strong>apt -f install</strong> or <strong>dpkg &#8211;configure -a</strong>. In the case of faulty dependencies that cannot be resolved, <strong>aptitude -f</strong> install may fix it. </p>



<p>Also, you should make sure that the kernel metapackage is installed, which is similar to <strong>linux-image-amd64</strong>. If you have only the <strong>linux-image-4.9.0-9-amd64</strong> package installed, your kernel may not be updated as needed. You can verify that it is installed by running apt install <strong>linux-image-amd64</strong>.</p>



<h2 id="updating-all-current-packages" >Updating all current packages</h2>



<p>All packages must be updated to the latest version before updating the release. This is necessary in order to minimize all possible problems.</p>



<pre class="wp-block-code"><code>apt update
apt upgrade
apt autoremove --purge
reboot</code></pre>



<h2 id="modifying-package-lists" >Modifying Package Lists</h2>



<p>Next, all package lists should be updated from Stretch to Buster. You can do this manually using the following:</p>



<pre class="wp-block-code"><code>nano /etc/apt/sources.list /etc/apt/sources.list.d/*</code></pre>



<h2 id="upgrading-to-debian-10" >Upgrading to Debian 10</h2>



<p>First you need to update the list of packages Debian 10</p>



<pre class="wp-block-code"><code>apt update</code></pre>



<p>Next, update the packages themselves:</p>



<pre class="wp-block-code"><code>apt upgrade
apt dist-upgrade</code></pre>



<p>During the upgrade, you may be asked if you want to restart the services. You can safely say no, as you will reboot later.</p>



<p>After which, you can <strong>reboot</strong></p>



<pre class="wp-block-code"><code>reboot</code></pre>



<h2 id="Step_5__Cleanup" id="cleanup" >Cleanup</h2>



<p>It is necessary to make sure that your server has been updated when you started lsb_release -a. The conclusion should look like this.</p>



<pre class="wp-block-code"><code>No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster</code></pre>



<p>You can remove any remaining dependencies with<strong><code> apt autoremove --purge</code></strong>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-upgrade-debian-9-to-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
