<?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>Debian 11 &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/debian-11/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, 02 Nov 2022 05:00:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.12</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Debian 11 &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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>
		<item>
		<title>How to install Apache Cassandra 3.11.x on Debian 11</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-apache-cassandra-3-11-x-on-debian-11/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-apache-cassandra-3-11-x-on-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 21 Jan 2022 09:28:27 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4634</guid>

					<description><![CDATA[Apache Cassandra&#160;is a free NoSQL database management system. This system is designed to create highly scalable and reliable repositories of huge data arrays presented in the form of a hash. Here we describe how to install Apache Cassandra (its latest version 3.11.) For servers running CentOS 7 First!&#160;You need to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://en.wikipedia.org/wiki/Apache_Cassandra"><em>Apache Cassandra</em></a></strong>&nbsp;is a free NoSQL database management system. This system is designed to create highly scalable and reliable repositories of huge data arrays presented in the form of a hash. Here we describe how to install Apache Cassandra (its latest version 3.11.) For servers running CentOS 7</p>



<p><strong>First!</strong>&nbsp;You need to understand that the&nbsp;<strong><a href="https://hostry.com/products/vps/">server</a></strong>&nbsp;needs at least&nbsp;<strong><em>4GB</em></strong>&nbsp;of memory. If it is less, then this can lead to instability in the work of Apache Cassandra 3.11.2 on Debian 11.</p>



<h2 id="java-installation" >Java installation</h2>



<p>In order to use Apache Cassandra correctly and without problems, you should install Java on your server. This can be done using the following command:</p>



<pre class="wp-block-code"><code>apt install openjdk-11-jdk -y</code></pre>



<p>Next, you need to configure the repositories and other dependencies.</p>



<pre class="wp-block-code"><code>apt install apt-transport-https gnupg2 -y</code></pre>



<p>Then you need to add the key. The name commonly used for it is Apache Cassandra GPG (use wget)</p>



<pre class="wp-block-code"><code>wget -q -O - https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -</code></pre>



<p>Then you should add the downloaded repository</p>



<pre class="wp-block-code"><code>sh -c 'echo "deb https://downloads.apache.org/cassandra/debian 40x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list'</code></pre>



<h2 id="installing-apache-cassandra" >Installing Apache Cassandra</h2>



<p>Before installation, we recommend that you update the system</p>



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



<p>Then you can proceed to install</p>



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



<p>Then you can enable this utility to run every time your system boots</p>



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



<p>After successful installation, we also recommend checking the status of the Apache Cassandra service</p>



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



<p>To interact with the Cassandra cluster, you will be able to login with the following simple command:</p>



<pre class="wp-block-code"><code>cqlsh</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-apache-cassandra-3-11-x-on-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install CrowdSec on Your Server with Debian 11</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-crowdsec-on-your-server-with-debian-11/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 23 Jun 2022 08:45:05 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4913</guid>

					<description><![CDATA[CrowdSec provides a complete suite of cybersecurity products to effectively protect your online services, a SaaS-based dashboard for threat visibility and response, and a common threat intelligence database to proactively block aggressive incoming traffic. In this article will be described, how you can install this tool on your server with [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://www.crowdsec.net/">CrowdSec</a></strong> provides a complete suite of cybersecurity products to effectively protect your online services, a SaaS-based dashboard for threat visibility and response, and a common threat intelligence database to proactively block aggressive incoming traffic. In this article will be described, how you can install this tool on your <strong><a href="https://hostry.com/products/vps/">server</a></strong> with Debian 11. </p>



<h2 id="install-the-crowdsec-agent" >Install the CrowdSec Agent</h2>



<p>Login to the server using <strong><a href="https://help.hostry.com/knowledge-base/how-do-i-connect-to-my-server-via-ssh/">SSH</a></strong>, or <strong><a href="https://help.hostry.com/knowledge-base/how-to-connect-via-vnc-on-my-vps/">VNC</a></strong> with a non-root user who has sudo privileges. To get started, it is recommended that you log into your server with a sudo user. You can do it like this:</p>



<pre class="wp-block-code"><code>ssh any-user@&lt;Your_IP_Address&gt;</code></pre>



<p>Next, it is recommended to download a special script. It will add the given repository &#8211; packagecloud.io to the list of sources and the packagecloud.io GPG key to check the downloads. Just copy the command (using <strong>curl</strong>)</p>



<pre class="wp-block-code"><code>curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash</code></pre>



<h2 id="install-crowdsec" >Install CrowdSec</h2>



<p>After successfully installing a special script, you can proceed with the installation of CrowdSec. This can be done by following the following command:</p>



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



<p>Next, you need to check this installation. Just enter the following command:</p>



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



<p>The result will be something like this:</p>



<pre class="wp-block-code"><code>crowdsec.service - Crowdsec agent
    Loaded: loaded (/lib/systemd/system/crowdsec.service; enabled; vendor pres&gt;
    Active: active (running) since ... etc.</code></pre>



<p>You will be able to upload a list of required manipulations with your <strong>CrowdSec</strong>. The helper can be called like this command:</p>



<pre class="wp-block-code"><code>cscli machines list</code></pre>



<h2 id="install-a-firewall" >Install a Firewall</h2>



<p>It is highly recommended to install a firewall. This will be useful and very important as using the <strong>CrowdSec</strong> agent to prevent intrusions into your system. Install as below:</p>



<pre class="wp-block-code"><code>apt install crowdsec-firewall-bouncer-iptables -y</code></pre>



<p>You can view the important points regarding the firewall like this:</p>



<pre class="wp-block-code"><code>cscli alerts list

cscli decisions list

cscli metrics </code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to install MySQL Workbench on Debian 11</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-mysql-workbench-on-debian-11/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-mysql-workbench-on-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 03 Nov 2021 14:27:05 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4413</guid>

					<description><![CDATA[As for the new version of Debian 11, the official method of installing MySQL Workbench does not work as expected on Debian 11. Some users who have encountered the installation state the following: the MySQL Workbench repository was not added correctly, and manually adding it does not solve the problem. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>As for the new version of Debian 11, the official method of installing MySQL Workbench does not work as expected on Debian 11. Some users who have encountered the installation state the following: the MySQL Workbench repository was not added correctly, and manually adding it does not solve the problem. Other users have complained that manual installation of Ubuntu does not work with Debian, and we can confirm this. However, installing MySQL Workbench on Debian 11 using Snap is pretty straightforward. Before installing MySQL Workbench, update all of your repositories:</p>



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



<p>It is recommended that you install the snapd package for Workbench to work properly. This can be installed by running the following command:</p>



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



<p>Install the kernel files using Snap by running the following command:</p>



<pre class="wp-block-code"><code>snap install core</code></pre>



<p>Now, to install MySQL Workbench using Snap, run the following command:</p>



<pre class="wp-block-code"><code>snap install mysql-workbench-community</code></pre>



<p>Once installed, you can find MySQL Workbench in the application finder, or in the applications menu. In Debian 11, you will see a warning that the operating system is not supported. MySQL Workbench currently supports the following operating systems: Ubuntu, Red Hat Enterprise, Oracle Linux, Fedora, and Microsoft Windows. The fact that your system is not officially supported can be ignored, and this does not mean that you will run into errors. However, below I decided to add some Linux compatible alternatives to MySQL Workbench. More information on MySQL Workbench can be obtained at this <strong><a href="https://www.mysql.com/products/workbench/">link</a></strong>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-mysql-workbench-on-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install the Ly Window Manager on Debian 11</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-the-ly-window-manager-on-debian-11/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-the-ly-window-manager-on-debian-11/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 28 Jun 2022 08:41:17 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4945</guid>

					<description><![CDATA[Ly is a free, minimalistic and lightweight open source terminal-based display manager for Linux.Ly is a great alternative for those who are used to staring at the terminal window all day long. Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. First of all, it is recommended [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://github.com/fairyglade/ly">Ly</a></strong> is a free, minimalistic and lightweight open source terminal-based display manager for Linux.<br>Ly is a great alternative for those who are used to staring at the terminal window all day long. Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD. </p>



<p>First of all, it is recommended to update and upgrade the packages before any installation:</p>



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



<p>Installing dependencies required for Ly</p>



<p>To install ly you will need to install some very important dependencies . For simplicity, run the following command:</p>



<pre class="wp-block-code"><code>apt-get install build-essential libpam0g-dev libxcb-xkb-dev git -y</code></pre>



<h2 id="install-ly" >Install Ly<a href="https://github.com/fairyglade/ly#dependencies"></a></h2>



<p>The next step is to install ly display manager. Start by opening a terminal window and clone the repository as shown below (use this <strong>Git </strong>guide link):</p>



<pre class="wp-block-preformatted">git clone&nbsp;--recurse-submodules&nbsp;https://github.com/nullgemm/ly.git</pre>



<p>Once completed, navigate to the directory</p>



<pre class="wp-block-code"><code>cd ly</code></pre>



<p>Run the compile command as shown below (just paste the command):</p>



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



<figure class="wp-block-image size-large"><img width="1024" height="504" src="https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-1024x504.png" alt="" class="wp-image-4959" srcset="https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-1024x504.png 1024w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-300x148.png 300w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-768x378.png 768w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-50x25.png 50w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-920x453.png 920w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-600x295.png 600w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59-320x158.png 320w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-40-59.png 1034w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After compilation is complete, run the following command to test the display manager in the current tty session.</p>



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



<figure class="wp-block-image size-full"><img loading="lazy" width="935" height="535" src="https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24.png" alt="" class="wp-image-4961" srcset="https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24.png 935w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24-300x172.png 300w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24-768x439.png 768w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24-50x29.png 50w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24-920x526.png 920w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24-600x343.png 600w, https://help.hostry.com/wp-content/uploads/2022/06/Снимок-экрана-от-2022-06-27-12-43-24-320x183.png 320w" sizes="(max-width: 935px) 100vw, 935px" /></figure>



<p>Once you&#8217;ve successfully tested, the next step is to install Ly and its systemd services. The command looks like this:</p>



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



<p>After a successful installation, you should run the command below to enable the systemd service</p>



<pre class="wp-block-code"><code>systemctl enable ly</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-the-ly-window-manager-on-debian-11/feed/</wfw:commentRss>
			<slash:comments>551</slash:comments>
		
		
			</item>
		<item>
		<title>Installing and configuring NVIDIA drivers on Debian 11</title>
		<link>https://help.hostry.com/knowledge-base/installing-and-configuring-nvidia-drivers-on-debian-11/</link>
					<comments>https://help.hostry.com/knowledge-base/installing-and-configuring-nvidia-drivers-on-debian-11/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 24 Mar 2022 11:02:09 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4805</guid>

					<description><![CDATA[In the process of working with the server, you may end up installing some kind of graphical interface. If you opted for NVIDIA, then you should install drivers for the NVIDIA GUI, which will be essential for work. It will analyze the installation of drivers that are important for working [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>In the process of working with the server, you may end up installing some kind of graphical interface. If you opted for NVIDIA, then you should install drivers for the <strong>NVIDIA</strong> <strong>GUI</strong>, which will be essential for work. It will analyze the installation of drivers that are important for working with NVIDIA on your Debian server. You can check if your virtual machine has an NVIDIA GPU installed or not with the following command:</p>



<pre class="wp-block-code"><code>lspci | egrep 'VGA|NVIDIA'</code></pre>



<p>As for the lists of NVIDIA drivers, they are all freely available in the official and paid Debian 11 package repositories. However, they are disabled by default. To enable them, issue the following command:</p>



<pre class="wp-block-code"><code>apt-add-repository contrib</code></pre>



<p>To enable the non-free package repository, run the following command:</p>



<pre class="wp-block-preformatted">apt-add-repository non-free</pre>



<p>Then make updates</p>



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



<p>Now let&#8217;s move on to the installation steps. To install the NVIDIA drivers, run the following command:</p>



<pre class="wp-block-preformatted">apt&nbsp;install&nbsp;nvidia-driver</pre>



<p>Then confirm setting [<strong>Y</strong>]. Once you have confirmed the installation of the NVIDIA drivers and all required dependencies, wait for the installation to complete and reboot the server with the following command:</p>



<pre class="wp-block-code"><code>reboot</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/installing-and-configuring-nvidia-drivers-on-debian-11/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
