<?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>Configuring &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/configuring/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>Wed, 23 Feb 2022 11:08:08 +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>Configuring &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Configuring Automatic Kernel Updates on Linux</title>
		<link>https://help.hostry.com/knowledge-base/configuring-automatic-kernel-updates-on-linux/</link>
					<comments>https://help.hostry.com/knowledge-base/configuring-automatic-kernel-updates-on-linux/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 17 Sep 2020 08:59:51 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2174</guid>

					<description><![CDATA[Applying security updates to the Linux kernel is a process that can be done using tools like apt, yum, or kexec. In case of a large number of servers, this process can be difficult and time-consuming. A system reboot is required to manually update the kernel. For organizations with more [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Applying security updates to the Linux kernel is a process that can be done using tools like apt, yum, or kexec. In case of a large number of servers, this process can be difficult and time-consuming. A system reboot is required to manually update the kernel. For organizations with more than a few servers, live patching is the best option. It is an automatic way to fix the Linux kernel while the server is running, making it more efficient and safer than manual methods. </p>



<h2 id="kernelcare" >KernelCare</h2>



<p><strong><a href="https://www.kernelcare.com/"><em>KernelCare</em></a></strong> &#8211; the great option for hosting provaiders and businesses. <strong>KernelCare</strong> runs on Ubuntu, CentOS, Debian, and other popular flavors of Linux. It checks for updates every 4 hours and installs them automatically. Patches can be rolled back. KernelCare is free for nonprofits. To install KernelCare, run the installation script:</p>



<pre class="wp-block-code"><code>wget -qq -O - https://kernelcare.com/installer | bash</code></pre>



<p>If you are using an IP based license, nothing else is required. Otherwise, if you are using a key based license, run the following command to register the service:</p>



<pre class="wp-block-code"><code>/usr/bin/kcarectl --register &lt;your-key></code></pre>



<p>Where is the registration code string<strong> &lt;your-key&gt;</strong>provided when signing up for a trial or purchasing a product. You can get it on this page. Below are some useful KernelCare commands. To check if a running KernelCare kernel is supported:</p>



<pre class="wp-block-code"><code>curl -s -L https://kernelcare.com/checker | python</code></pre>



<p>To unregister a server:</p>



<pre class="wp-block-code"><code>sudo kcarectl --unregister</code></pre>



<p>To check the status of the service:</p>



<pre class="wp-block-code"><code>sudo kcarectl --info</code></pre>



<p>The software will automatically check for new patches every 4 hours. To update manually, run:</p>



<pre class="wp-block-code"><code>/usr/bin/kcarectl --update</code></pre>



<h2 id="canonical-livepatch" >Canonical Livepatch</h2>



<p><strong><em><a href="https://ubuntu.com/security/livepatch">Canonical Livepatch</a></em></strong> is a service that fixes a running kernel without rebooting your Ubuntu system. Livepatch is free to use on three Ubuntu systems. To use this service on more than three computers, you need to subscribe to the <strong><a href="https://ubuntu.com/legal/ubuntu-advantage#:~:text=The%20Ubuntu%20Advantage%20Assurance%20Programme,of%20all%20Canonical%20support%20contracts.">Ubuntu Advantage program.</a></strong> Before installing the service, you need to get a livepatch token from the Livepatch service website. After installing the token and enabling the service by running the following two commands:</p>



<pre class="wp-block-code"><code>sudo snap install canonical-livepatch
sudo canonical-livepatch enable &lt;your-key></code></pre>



<p>To check the status of the service, run:</p>



<pre class="wp-block-code"><code>sudo canonical-livepatch status --verbose</code></pre>



<p>Later, if you want to unregister the machine, use this command:</p>



<pre class="wp-block-code"><code>sudo canonical-livepatch disable &lt;your-key></code></pre>



<blockquote class="wp-block-quote"><p> The same instructions apply for Ubuntu 20.04 and Ubuntu 18.04. </p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/configuring-automatic-kernel-updates-on-linux/feed/</wfw:commentRss>
			<slash:comments>453</slash:comments>
		
		
			</item>
		<item>
		<title>Configuring OpenSSH VPS Server on Linux OS</title>
		<link>https://help.hostry.com/knowledge-base/configuring-openssh-vps-server-on-linux-os/</link>
					<comments>https://help.hostry.com/knowledge-base/configuring-openssh-vps-server-on-linux-os/#respond</comments>
		
		<dc:creator><![CDATA[Paul Harris]]></dc:creator>
		<pubDate>Thu, 08 Aug 2019 11:14:28 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=511</guid>

					<description><![CDATA[OpenSSH server on VPS is the first and main method of access to Linux and FreeBSD server; by default, it is configured quite securely and allows all users to connect to the this system. In the Debian distribution, the root user can only connect using the keys and cannot connect [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>OpenSSH</strong> server on <strong>VPS</strong> is the first and main method of access to Linux and FreeBSD server; by default, it is configured quite securely and allows all users to connect to the this system. </p>



<p>In the Debian distribution, the root user can only connect using the keys and cannot connect using the password. The configuration file itself may contain settings that may be useful to you depending on the situation. Keys DennyUsers and AllowUsers &#8211; Allows you to restrict users and IP from which they can connect. For example, these lines:</p>



<p><code>DennyUsers login<br> AllowUsers "root@15.45.78.5,johnn,anny@78.65.55.0/24"</code></p>



<p>Only root, johnn, anny users can connect. In addition, the root user can only connect with IP<strong> 15.45.78.5 </strong>and anyy from the<strong> 78.65.55.0/24</strong> subnet.</p>



<p>Key Match &#8211; Let&#8217;s redefine some settings and global restrictions for connections that fall under the filter. </p>



<p>For example:</p>



<p><code>PasswordAuthentication no<br> PermitRootLogin no<br> Match Address <strong>1.2.3.4,9.8.7.6 </strong>Host <strong>vps12.hostry.com</strong><br>     PasswordAuthentication <strong>Yes</strong><br>     PermitRootLogin<strong> yes</strong></code></p>



<p>For connections from addresses <strong>1.2.3.4,9.8.7.6</strong> and from the node <strong>vps12.hostry.com</strong> will allow you to use a password</p>



<p><code>X11Forwarding no<br> Match User John Address <strong>172.16.1</strong>.* <br>     X11Forwarding <strong>yes</strong></code></p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/configuring-openssh-vps-server-on-linux-os/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Configuring vsFTPd on Debian and Ubuntu</title>
		<link>https://help.hostry.com/knowledge-base/configuring-vsftpd-on-debian-and-ubuntu/</link>
					<comments>https://help.hostry.com/knowledge-base/configuring-vsftpd-on-debian-and-ubuntu/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 31 Jan 2020 07:52:08 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1278</guid>

					<description><![CDATA[vsftpd means &#8220;Very Secure&#8221; FTP Daemon. This is a kind of lightweight FTP server. Commands to help you install and configure require superuser privileges. Installation To install vsftpd, you must enter the following command: Configuration First you need to open the configuration file using your text editor. This example uses [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>vsftpd means &#8220;Very Secure&#8221; FTP Daemon. This is a kind of lightweight FTP server. Commands to help you install and configure require superuser privileges.</p>



<p></p>



<h2 id="installation" >Installation</h2>



<p>To install vsftpd, you must enter the following command:</p>



<pre class="wp-block-code"><code>apt-get install vsftpd</code></pre>



<h2 id="configuration" >Configuration</h2>



<p>First you need to open the configuration file using your text editor. This example uses <strong><em>vim</em></strong></p>



<pre class="wp-block-code"><code>vim /etc/vsftpd.conf</code></pre>



<p>vsftpd allows anonymous users to access the server by default. This feature is considered a serious security vulnerability. To disable, you must enter an anonymous login by changing the following line:</p>



<pre class="wp-block-code"><code>anonymous_enable=NO</code></pre>



<p>To enable local login, uncomment the following:</p>



<pre class="wp-block-code"><code>local_enable=YES</code></pre>



<p>The following command enables the download:</p>



<pre class="wp-block-code"><code>write_enable=YES</code></pre>



<p>Next, you need to save the file and close the text editor. Then run vsftpd as a daemon:</p>



<pre class="wp-block-code"><code>service vsftpd start</code></pre>



<p>This step is final in order to enter the FTP server from your local computer.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/configuring-vsftpd-on-debian-and-ubuntu/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Correcting network configuration after Snapshot recovery</title>
		<link>https://help.hostry.com/knowledge-base/correcting-network-configuration-after-snapshot-recovery/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 28 Oct 2020 09:02:18 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2480</guid>

					<description><![CDATA[Snapshot is a copy of files and directories of the file system at a specific point in time. File systems at this point can later be mounted read-only. So, after the snapshot recovery period has passed on the new VPS, problems may arise caused by changing the MAC address of [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="has-pale-pink-background-color has-background"><a href="https://en.wikipedia.org/wiki/Snapshot_(computer_storage)"><strong>Snapshot</strong></a> is a copy of files and directories of the file system at a specific point in time. File systems at this point can later be mounted read-only. </p>



<p>So, after the snapshot recovery period has passed on the new VPS, problems may arise caused by changing the MAC address of the network adapter. Typically, when you change a network adapter, the operating system creates a new network adapter for it. Typically you will see the network adapter on “eth1” (or eth2 if you have a private network enabled).</p>



<h2 id="centos" >CentOS</h2>



<p>This operating system describes the following steps to correct network configuration after snapshot recovery:</p>



<ol><li>First you need to log into your server, this can be done as a consequence of <a href="https://help.hostry.com/knowledge-base/how-do-i-connect-to-my-server-via-ssh/"><strong>this</strong></a>;</li><li>Delete the contents of <strong>/etc/udev/rules.d/70-persistent-net.rules</strong></li><li>Open <strong>/etc/sysconfig/network-scripts/ifcfg-eth0</strong> and change the content to the following:</li></ol>



<pre class="wp-block-code"><code>DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
DNS1=8.8.8.8
NAME="System eth0"</code></pre>



<p class="has-pale-pink-background-color has-background">After this three steps, you need to restart VPS</p>



<h2 id="debian-ubuntu" >Debian &amp; Ubuntu</h2>



<p>This operating system describes the following steps to correct network configuration after snapshot recovery:</p>



<ol><li>First you need to log into your server, this can be done as a consequence of <a href="https://help.hostry.com/knowledge-base/how-do-i-connect-to-my-server-via-ssh/"><strong>this</strong></a>;</li><li>Delete the contents of <strong>/etc/udev/rules.d/70-persistent-net.rules</strong></li><li>Review the contents of <strong>/etc/network/interfaces</strong> and update all IP addresses to match the current server.</li></ol>



<p class="has-pale-pink-background-color has-background">After this three steps, you need to restart VPS</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How Do I Configure Linux Graphical Interface on my VPS</title>
		<link>https://help.hostry.com/knowledge-base/how-do-i-configure-linux-graphical-interface-on-my-vps/</link>
					<comments>https://help.hostry.com/knowledge-base/how-do-i-configure-linux-graphical-interface-on-my-vps/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 03 Nov 2020 07:13:53 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2524</guid>

					<description><![CDATA[What is a Graphical User Interface (GUI)? A graphical interface is a kind of unique opportunity for simple work and management of all files and multimedia. It is very convenient to use it, because it can be used by people with any skills: both with beginners and technically advanced. This [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 id="what-is-a-graphical-user-interface-gui" ><strong>What is a Graphical User Interface (GUI)?</strong></h2>



<p>A graphical interface is a kind of unique opportunity for simple work and management of all files and multimedia. It is very convenient to use it, because it can be used by people with any skills: both with beginners and technically advanced.</p>



<p>This interface allows the user to interact with electronic devices using graphic icons.</p>



<p>Using the <strong>GUI</strong>, you have access to a unique and very understandable way to navigate and interact with the computer. Also, the graphical interface allows you to simplify the creation of websites without skills in the field of <strong>HTML</strong>, <strong>CSS</strong>, <strong>JavaScript</strong></p>



<h2 id="installing-gui-on-linux" ><strong>Installing GUI on Linux</strong></h2>



<p>To install the graphical user interface on the Linux operating system, you need the following actions:</p>



<p>Go to the list of your services:&nbsp;<a href="https://hostry.com/orders/">https://hostry.com/orders/</a>&nbsp;&nbsp;and select the desired virtual server where you want to install the GUI. If you do not have a server, you can order it right now by clicking on the link:&nbsp;<a href="https://hostry.com/products/vps/">https://hostry.com/products/vps/</a></p>



<p>You need connect to your<strong> <a href="https://hostry.com/products/vps/">VPS</a></strong> &#8211; by following this links below:</p>



<figure class="wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-hostry-help-center"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="qVzizl0m4j"><a href="https://help.hostry.com/knowledge-base/how-do-i-connect-to-my-server-via-ssh/">How Do I Connect to My Server via SSH</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" title="&#8220;How Do I Connect to My Server via SSH&#8221; &#8212; Hostry Help Center" src="https://help.hostry.com/knowledge-base/how-do-i-connect-to-my-server-via-ssh/embed/#?secret=qVzizl0m4j" data-secret="qVzizl0m4j" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<figure class="wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-hostry-help-center"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="S9CNdVLoqJ"><a href="https://help.hostry.com/knowledge-base/how-to-connect-via-vnc-on-my-vps/">How Do I Connect to My Server via VNC</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" title="&#8220;How Do I Connect to My Server via VNC&#8221; &#8212; Hostry Help Center" src="https://help.hostry.com/knowledge-base/how-to-connect-via-vnc-on-my-vps/embed/#?secret=S9CNdVLoqJ" data-secret="S9CNdVLoqJ" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<p>It is necessary to log in and register the following commands:</p>



<h2 id="ubuntu" ><strong>UBUNTU</strong></h2>



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



<h2 id="debian" ><strong>DEBIAN</strong></h2>



<pre class="wp-block-code"><code>apt-get update
apt-get install xfce4 -y
apt-get install xfce4-goodies -y</code></pre>



<h2 id="centos" ><strong>CENTOS</strong></h2>



<pre class="wp-block-code"><code>yum update 
yum -y group install "CNOME Desktop" "Graphical Administration Tools" 
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target </code></pre>



<p>After successful installation, you will have a <strong>GUI</strong> panel, where you can quickly and easily manage your data from a computer!</p>



<p>For <strong>ubuntu </strong>and <strong>debian</strong></p>



<figure class="wp-block-image"><img width="879" height="606" src="https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-28.png" alt="" class="wp-image-2543" srcset="https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-28.png 879w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-28-300x207.png 300w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-28-768x529.png 768w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-28-50x34.png 50w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-28-600x414.png 600w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-28-320x221.png 320w" sizes="(max-width: 879px) 100vw, 879px" /></figure>



<p>For <strong>centos</strong></p>



<figure class="wp-block-image"><img loading="lazy" width="874" height="644" src="https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-39.png" alt="" class="wp-image-2545" srcset="https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-39.png 874w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-39-300x221.png 300w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-39-768x566.png 768w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-39-50x37.png 50w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-39-600x442.png 600w, https://help.hostry.com/wp-content/uploads/2020/11/Снимок-экрана-от-2020-11-02-12-17-39-320x236.png 320w" sizes="(max-width: 874px) 100vw, 874px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-do-i-configure-linux-graphical-interface-on-my-vps/feed/</wfw:commentRss>
			<slash:comments>459</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configurate SSL Certificate on Apache2</title>
		<link>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-apache2/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-apache2/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 22 Sep 2020 07:29:29 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2191</guid>

					<description><![CDATA[After successfully installing the ssl certificate Let’s Encrypt, you need to download the files located in the “ZIP” folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link:&#160;&#160;https://hostry.com/solutions/ssl-for-free/ You need to open the folder with the files needed to install [&#8230;]]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image"><img loading="lazy" width="893" height="510" src="https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main.png" alt="" class="wp-image-2193" srcset="https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main.png 893w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-300x171.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-768x439.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-50x29.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-600x343.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/Apache-Main-320x183.png 320w" sizes="(max-width: 893px) 100vw, 893px" /></figure>



<p>After successfully installing the ssl certificate Let’s Encrypt, you need to download the files located in the “ZIP” folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link:&nbsp;&nbsp;<a href="https://hostry.com/solutions/ssl-for-free/">https://hostry.com/solutions/ssl-for-free/</a></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="729" src="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729.png" alt="" class="wp-image-2196" srcset="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-300x213.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-768x546.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-50x36.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-920x655.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-600x427.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-320x228.png 320w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN.png 1092w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>You need to open the folder with the files needed to install the certificate. They need to copy them in a text editor.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="312" src="https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-1024x312.png" alt="" class="wp-image-2199" srcset="https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-1024x312.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-300x91.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-768x234.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-50x15.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-920x280.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-600x183.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp-320x98.png 320w, https://help.hostry.com/wp-content/uploads/2020/09/Unzipp.png 1664w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then, issuing the certificate you will need to configure Apache. To configure Apache2, you must save the primary, intermediate certificate and private key to a folder on the server.</p>



<p>After, you need to open the Apache configuration file in a text editor. Apache configuration files are usually stored in&nbsp;<strong>/etc/httpd/</strong>&nbsp;or&nbsp;<strong>/etc/apache2/</strong>. The main configuration file is usually called&nbsp;<strong>httpd.conf</strong>&nbsp;or&nbsp;<strong>apache2.conf</strong><br></p>



<p>If You need the site to be accessible via a secure connection&nbsp;<em><strong>(</strong></em><strong><em>HTTPS)</em></strong>&nbsp;and also through an unsecured connection<strong><em>&nbsp;(HTTP)&nbsp;</em></strong>You will need to create a virtual host for each type of connection. Copy the existing virtual host for the http connection and change the port from 80 to 443.</p>



<p>Then in this case You need to add the following:</p>



<pre class="wp-block-code"><code>&lt;VirtualHost 192.168.0.1:443>
     DocumentRoot /var/www/website
     ServerName www.domain.com
     SSLEngine on
     SSLCertificateFile /etc/ssl/crt/certificate.crt
     SSLCertificateKeyFile /etc/ssl/crt/private.key
     SSLCertificateChainFile /etc/ssl/crt/ca_bundle.crt
     &lt;/VirtualHost> </code></pre>



<ol><li><strong>SSLCertificateFile</strong>&nbsp;should be your primary certificate file for your domain name.</li><li><strong>SSLCertificateKeyFile</strong>&nbsp;should be the key file generated when you created the&nbsp;<a href="https://www.sslshopper.com/what-is-a-csr-certificate-signing-request.html">CSR</a>.</li><li><strong>SSLCertificateChainFile</strong>&nbsp;should be the intermediate certificate file (if any) that was supplied by your certificate authority</li></ol>



<p>After a successful configuration, you must save the changes (Ctrl+S).<br>It is best to test the configuration in advance for various syntax errors, otherwise Apache simply will not start.</p>



<p>In Finish, restart Apache, using the command:</p>



<pre class="wp-block-code"><code>systemctl restart apache2﻿</code></pre>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-apache2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configurate SSL Certificate On my cPanel</title>
		<link>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-my-cpanel/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-my-cpanel/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 29 Sep 2020 06:48:08 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2219</guid>

					<description><![CDATA[After successfully installing the ssl certificate Let’s Encrypt, you need to download the files located in the “ZIP” folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link:&#160;&#160;https://hostry.com/solutions/ssl-for-free/ You need to open the folder with the files needed to install [&#8230;]]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image"><img loading="lazy" width="699" height="494" src="https://help.hostry.com/wp-content/uploads/2020/09/cP.png" alt="" class="wp-image-2220" srcset="https://help.hostry.com/wp-content/uploads/2020/09/cP.png 699w, https://help.hostry.com/wp-content/uploads/2020/09/cP-300x212.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/cP-50x35.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/cP-600x424.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/cP-320x226.png 320w" sizes="(max-width: 699px) 100vw, 699px" /></figure>



<p>After successfully installing the ssl certificate Let’s Encrypt, you need to download the files located in the “ZIP” folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link:&nbsp;&nbsp;<a href="https://hostry.com/solutions/ssl-for-free/">https://hostry.com/solutions/ssl-for-free/</a></p>



<figure class="wp-block-image"><img loading="lazy" width="987" height="777" src="https://help.hostry.com/wp-content/uploads/2020/09/ssl.png" alt="" class="wp-image-2222" srcset="https://help.hostry.com/wp-content/uploads/2020/09/ssl.png 987w, https://help.hostry.com/wp-content/uploads/2020/09/ssl-300x236.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/ssl-768x605.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/ssl-50x39.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/ssl-920x724.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/ssl-600x472.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/ssl-320x252.png 320w" sizes="(max-width: 987px) 100vw, 987px" /></figure>



<p>You need to open the folder with the files needed to install the certificate. They need to copy them in a text editor</p>



<figure class="wp-block-image is-resized"><img loading="lazy" src="https://help.hostry.com/wp-content/uploads/2020/09/Unzip.png" alt="" class="wp-image-2226" width="739" height="210" srcset="https://help.hostry.com/wp-content/uploads/2020/09/Unzip.png 985w, https://help.hostry.com/wp-content/uploads/2020/09/Unzip-300x85.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/Unzip-768x218.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/Unzip-50x14.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/Unzip-920x262.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/Unzip-600x171.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/Unzip-320x91.png 320w" sizes="(max-width: 739px) 100vw, 739px" /></figure>



<p>Then you need to go to the&nbsp;<strong>Cpanel Account</strong>&nbsp;and enter the&nbsp;<strong>“SECURITY”</strong>&nbsp;section. In this section you need to find&nbsp;<strong>SSL/TLS</strong></p>



<figure class="wp-block-image is-resized"><img loading="lazy" src="https://help.hostry.com/wp-content/uploads/2020/09/SSL-1024x251.png" alt="" class="wp-image-2227" width="768" height="188" srcset="https://help.hostry.com/wp-content/uploads/2020/09/SSL-1024x251.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/SSL-300x74.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/SSL-768x188.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/SSL-50x12.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/SSL-920x226.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/SSL-600x147.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/SSL-320x78.png 320w, https://help.hostry.com/wp-content/uploads/2020/09/SSL.png 1105w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>Go to this&nbsp;<strong>“Install and Manage SSL for Your site (HTTPS)”</strong>&nbsp;panel and click on&nbsp;<strong>“Manage SSL Sites</strong></p>



<figure class="wp-block-image is-resized"><img loading="lazy" src="https://help.hostry.com/wp-content/uploads/2020/09/Manage-1024x456.png" alt="" class="wp-image-2230" width="768" height="342" srcset="https://help.hostry.com/wp-content/uploads/2020/09/Manage-1024x456.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/Manage-300x133.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/Manage-768x342.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/Manage-50x22.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/Manage-920x409.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/Manage-600x267.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/Manage-320x142.png 320w, https://help.hostry.com/wp-content/uploads/2020/09/Manage.png 1396w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>Copy each file from your text editor and paste it into the appropriate fields as follows</p>



<figure class="wp-block-image is-resized"><img loading="lazy" src="https://help.hostry.com/wp-content/uploads/2020/09/Copy.png" alt="" class="wp-image-2234" width="976" height="705" srcset="https://help.hostry.com/wp-content/uploads/2020/09/Copy.png 976w, https://help.hostry.com/wp-content/uploads/2020/09/Copy-300x217.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/Copy-768x555.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/Copy-50x36.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/Copy-920x665.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/Copy-600x433.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/Copy-320x231.png 320w" sizes="(max-width: 976px) 100vw, 976px" /></figure>



<p>Next, click on <strong>“Install Certificate”</strong> after which information will appear in your cPanel that“<strong>SSL Host Successfully Installed”</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-my-cpanel/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configurate SSL Certificate on Nginx</title>
		<link>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-nginx/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-nginx/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 25 Sep 2020 08:10:23 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2210</guid>

					<description><![CDATA[After successfully installing the SSL certificate&#160;Let’s Encrypt, you need to download the files located in the&#160;“ZIP”&#160;folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link: &#160;https://hostry.com/solutions/ssl-for-free/ Then, issuing the certificate you will need to configure Nginx . You must save [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>After successfully installing the SSL certificate<strong>&nbsp;Let’s Encrypt</strong>, you need to download the files located in the&nbsp;<strong>“ZIP”&nbsp;</strong>folder. This folder must be unpacked. You can order the New SSL Certificate Let’s Encrypt by chicking in the link: &nbsp;<a href="https://hostry.com/solutions/ssl-for-free/">https://hostry.com/solutions/ssl-for-free/</a></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="729" src="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-1024x729.png" alt="" class="wp-image-2211" srcset="https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1.png 1024w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-300x214.png 300w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-768x547.png 768w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-50x36.png 50w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-920x655.png 920w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-600x427.png 600w, https://help.hostry.com/wp-content/uploads/2020/09/MAWN-1024x729-1-320x228.png 320w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then, issuing the certificate you will need to configure Nginx . You must save the primary, intermediate certificates and private key to a folder on the server</p>



<p>After that, you need to open the nginx configuration file. Usually, it is located in the following way:&nbsp;<strong>/etc/nginx/sites-available.</strong>&nbsp;As a rule, the file should be called&nbsp;<strong>default</strong>.</p>



<p><strong>IMPORTANT!</strong></p>



<p>You need to create two independent configurations for the HTTP and HTTPS protocols. A domain must address both protocols. If you do not register the connection via HTTPS, then your site will not be protected, and if it will not be registered through HTTP, the site will not open.</p>



<p>In the default configuration file you need to make changes. In order for your HTTPS to be present in the configuration file, you need to specify the following:</p>



<pre class="wp-block-code"><code>server {
 listen              443 ssl;
 server_name         www.example.com;
 ssl_certificate     etc/ssl/ctr/ca_bundle
 ssl_certificate_key etc/ssl/crt/private.key

 ...</code></pre>



<p>*In this case,&nbsp;<strong>server_name</strong>&nbsp;is your existing domain (site), where both port 80 and port 443 will be referred to.</p>



<ul><li><strong>Ca_bundle</strong>&nbsp;– Public server certificate. It is sent to each client connecting to the server</li><li><strong>Private.key</strong>&nbsp;– The private key should be stored in a file with limited access (permissions should allow the main nginx process to read this file).</li></ul>



<p>After configuration, you must restart <strong>nginx</strong>:</p>



<pre class="wp-block-code"><code>systemctl restart nginx</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-configurate-ssl-certificate-on-nginx/feed/</wfw:commentRss>
			<slash:comments>460</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configure A Static IP Address on Linux</title>
		<link>https://help.hostry.com/knowledge-base/how-to-configure-a-static-ip-address-on-linux/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-configure-a-static-ip-address-on-linux/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 19 Aug 2019 08:50:24 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=517</guid>

					<description><![CDATA[On a Linux system, IP addresses are automatically assigned by DHCP servers. They are dynamic, and often changing, every time you reboot your system. If the system is a dedicated or virtual server administering remotely, for example, for this it is necessary to have (as a recommendation) a static IP [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p></p>



<p>On a Linux system, IP addresses are automatically assigned by DHCP servers. They are dynamic, and often changing, every time you reboot your system. If the system is a dedicated or virtual server administering remotely, for example, for this it is necessary to have (as a recommendation) a static IP address.</p>



<p>To configure an IP address on a Red Hat system, enter the command <strong><code>nmcli</code></strong> <br>which will list the network connections and devices in the system</p>



<pre class="wp-block-preformatted"><code><em>$ nmcli dev status
DEVICE      TYPE      STATE        CONNECTION
wlo1        wifi      connected    Comtrend7FB9
virbr0      bridge    connected    virbr0
enp3s0      ethernet  unavailable  --
lo          loopback  unmanaged    --
virbr0-nic  tun       unmanaged    --</em></code></pre>



<p>Next, you need to change the network interface. To do this, edit the file in the directory <strong><em>/etc/sysconfig/network-scripts</em></strong><br>which is an open interface. In a line called<em>&#8220;BOOTPROTO=dhcp» </em>needs changes to<strong> BOOTPROTO = static»</strong>.<br>Also, the IP address itself must be added to this file. For example, this interface will be called<strong> IPCONT211</strong></p>



<figure class="wp-block-image"><img loading="lazy" width="596" height="536" src="https://help.hostry.com/wp-content/uploads/2019/08/Снимок-экрана-от-2019-08-19-12-08-42.png" alt="" class="wp-image-524" srcset="https://help.hostry.com/wp-content/uploads/2019/08/Снимок-экрана-от-2019-08-19-12-08-42.png 596w, https://help.hostry.com/wp-content/uploads/2019/08/Снимок-экрана-от-2019-08-19-12-08-42-300x270.png 300w, https://help.hostry.com/wp-content/uploads/2019/08/Снимок-экрана-от-2019-08-19-12-08-42-50x45.png 50w, https://help.hostry.com/wp-content/uploads/2019/08/Снимок-экрана-от-2019-08-19-12-08-42-320x288.png 320w" sizes="(max-width: 596px) 100vw, 596px" /></figure>



<pre class="wp-block-preformatted"></pre>



<p>After making changes, run the program <strong>systemctl restart NetworkManager</strong> to save the changed settings.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-configure-a-static-ip-address-on-linux/feed/</wfw:commentRss>
			<slash:comments>458</slash:comments>
		
		
			</item>
		<item>
		<title>How to Configure and Properly Set Up Fail2ban on Debian 11</title>
		<link>https://help.hostry.com/knowledge-base/how-to-configure-and-properly-set-up-fail2ban-on-debian-11/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-configure-and-properly-set-up-fail2ban-on-debian-11/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 23 Feb 2022 11:08:08 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4742</guid>

					<description><![CDATA[Fail2Ban is a great and very useful tool that scans log files (eg /var/log/apache/error_log ) and blocks IP addresses that show signs of malware &#8211; too many bad passwords, search for exploits and others. This article will focus on a Linux server running on Debian 11. Preliminary Actions First you [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://www.fail2ban.org/wiki/index.php/Main_Page">Fail2Ban</a></strong> is a great and very useful tool that scans log files (eg /var/log/apache/error_log ) and blocks IP addresses that show signs of malware &#8211; too many bad passwords, search for exploits and others. This article will focus on a Linux server running on Debian 11. </p>



<h2 id="preliminary-actions" >Preliminary Actions</h2>



<p>First you need to update your server. To do this, enter a simple command:</p>



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



<p>It is worth noting that the installation is not difficult, since <strong>Fail2Ban</strong> is already included in the repositories of your Debian 11. Installation is easy, just enter the command:</p>



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



<p>After you set it up, please check. The verification step is extremely important for making future adjustments:</p>



<pre class="wp-block-code"><code>systemctl status fail2ban</code></pre>



<p>If <strong>Fail2ban</strong> is not running on your instance, you need to run it. This can be done with the following command:</p>



<pre class="wp-block-code"><code>systemctl start fail2ban</code></pre>



<p>Next, move on to configuring <strong>Fail2ban</strong>. This is necessary for proper launch. Enter the following command:</p>



<pre class="wp-block-code"><code>systemctl enable fail2ban</code></pre>



<h2 id="configuring-fail2ban" >Configuring Fail2Ban</h2>



<p>If the first installation step was successfully completed and verified, then you can proceed to the Fail2ban configuration. Fail2ban is installed bundled with a default configuration file. This file contains configurable settings in Fail2ban. The file location is as follows:</p>



<pre class="wp-block-code"><code>/etc/fail2ban/jail.conf</code></pre>



<p>The file contains settings known as filters for configuring Fail2ban. This tool also has many options in its configuration file. These options can be useful for specific scripts and services that work with each other on your Linux machine.</p>



<ul><li>The <strong>bantime</strong> value is the exact time during which the malicious IP is blocked</li><li>The <strong>maxretry</strong> value &#8211; The number of times the user will try to login. If the limit is exceeded, the IP address is blocked.</li><li>The <strong>ignoreip</strong> value is the networks you trust. All networks you enter here will bypass Fai2Ban filtering.</li><li>The<strong> enable</strong> value allows Fail2ban to confirm whether you want this jail to be enabled or disabled.</li></ul>



<p>Next is to talk about <strong>jails</strong>. It has an individual customization option. Jails can increase the security of your Linux computer in many ways. You can add different filters to your server services. The first step is to create the jail.local configuration file. You can do it like this:</p>



<pre class="wp-block-code"><code>touch /etc/fail2ban/jail.local</code></pre>



<p>Open <strong>jail.local</strong> in a text editor of your choice.</p>



<pre class="wp-block-code"><code>nano /etc/fail2ban/jail.local.</code></pre>



<p>After the clarifications above have been provided regarding hail conf. you will be able to apply this directly to the configuration.</p>



<pre class="wp-block-code"><code>enabled = true
port = ssh
bantime = 10h
maxretry = 12
ignoreip = Any_IP

&#91;apache-badbots]
enabled = true
port = http,https, smtp...
bantime = 72h
maxretry = 3

&#91;squid]
enabled = false
port = 80,443,25, 1234...</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-configure-and-properly-set-up-fail2ban-on-debian-11/feed/</wfw:commentRss>
			<slash:comments>457</slash:comments>
		
		
			</item>
	</channel>
</rss>
