<?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>Alex &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/author/alex/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, 30 Nov 2022 17:01:48 +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>Alex &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to install NextCloud on my Ubuntu 22.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-nextcloud-on-my-ubuntu-22-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-nextcloud-on-my-ubuntu-22-04/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 29 Sep 2022 10:45:58 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=5026</guid>

					<description><![CDATA[NextCloud &#8211; Nextcloud Hub &#8211; Hub integrates the four key Nextcloud products Files, Talk, Groupware and Office into a single platform, optimizing the flow of collaboration. Reduce risk, improve citizen communication and reduce operational expenses with the leading content collaboration platform. Contact us now to learn how we can help [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://nextcloud.com/">NextCloud</a></strong> &#8211; Nextcloud Hub &#8211; Hub integrates the four key Nextcloud products Files, Talk, Groupware and Office into a single platform, optimizing the flow of collaboration. Reduce risk, improve citizen communication and reduce operational expenses with the leading content collaboration platform. Contact us now to learn how we can help you! It is also worth noting that this is a special application with which you will be able to manage open source files, which allows you to create, edit, host and share files without restrictions. </p>



<h2 id="initial-steps-for-installing-dependencies" >Initial steps for installing dependencies</h2>



<p>By default, the Snap daemon is enabled on most Ubuntu server distributions. In any case, install it with the following command.</p>



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



<p>Check the installed version of snap.</p>



<pre class="wp-block-code"><code>sudo snap version</code></pre>



<p>Next, make a output and you cah show it (For ubuntu 22.04)</p>



<pre class="wp-block-code"><code> snap    2.57.1
 snapd   2.57.1
 series  16
 ubuntu  22.04
 kernel  5.15.0-41-generic</code></pre>



<p> Then you can install tne NextCloud programm. Use this command with <strong>snap</strong></p>



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



<h2 id="configure-your-nextcloud" >Configure your NextCloud</h2>



<p>The first step in your successful configuration should be to configure UFW to allow HTTP network traffic on server port 80. Please use this command</p>



<pre class="wp-block-code"><code>ufw allow 80/tcp</code></pre>



<p>Next, you should allow access to https in order for everything to work fine. Use this command:</p>



<pre class="wp-block-code"><code>ufw allow 443/tcp</code></pre>



<p>After you have made the necessary changes, you should <strong>reload</strong> the firewall. Use command to reload:</p>



<pre class="wp-block-code"><code> ufw reload</code></pre>



<p>To activate the NextCloud database and configuration file values, visit your server&#8217;s IP address using a web browser.</p>



<pre class="wp-block-code"><code> http:&#47;&#47;Your_IP_Address</code></pre>



<p>Now it remains to enter a username and a strong password to create the first administrator account. Then open your most preferred text editor and edit the main <strong>NextCloud</strong> configuration file.</p>



<pre class="wp-block-code"><code>nano /var/snap/nextcloud/current/nextcloud/config/config.php</code></pre>



<p>Find the &#8220;trusted_domains&#8221; =&gt;` section and replace the server IP address with your domain name as shown below.</p>



<pre class="wp-block-code"><code> 'trusted_domains' =&gt;
    array (
       0 =&gt; 'nextcloud.Your_Domain_Name.com',
     ),</code></pre>



<p>Then save and close the file. Install the <strong><a href="https://hostry.com/solutions/ssl-for-free/">Let&#8217;s Encrypt SSL certificate</a></strong> to secure your NextCloud server with HTTPS by running the following command.</p>



<pre class="wp-block-code"><code>nextcloud.enable-https lets-encrypt</code></pre>



<p>You can find how to install your security certificate <a href="https://help.hostry.com/article-categories/ssl-guides/"><strong>here</strong></a> (based on your web server).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-nextcloud-on-my-ubuntu-22-04/feed/</wfw:commentRss>
			<slash:comments>88</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>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 TeamSpeak to Your Ubuntu VPS</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-teamspeak-on-your-vps%ef%bf%bc/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-teamspeak-on-your-vps%ef%bf%bc/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 25 May 2022 07:55:53 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4873</guid>

					<description><![CDATA[TeamSpeak is a proprietary, cross-platform Voice over Internet Protocol (VoIP) software widely used by the gaming and tech communities. A description will now be provided of how it will be possible to install a TeamSpeak server on your VPS using Ubuntu 20.04. Before you install TeamSpeak, you must create a [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://www.teamspeak.com/en/">TeamSpeak</a></strong> is a proprietary, cross-platform Voice over Internet Protocol (VoIP) software widely used by the gaming and tech communities. A description will now be provided of how it will be possible to install a TeamSpeak server on your VPS using Ubuntu 20.04. Before you install TeamSpeak, you must create a separate user to run the server. In this tutorial &#8220;<strong>user_for_teamspeak</strong>&#8221; is the username, you can choose any username you want. Please follow the following links.</p>



<pre class="wp-block-code"><code>adduser --disabled-login user_for_teamspeak</code></pre>



<p>Then switch to this user to make certain manipulations and changes. This can be done like this:</p>



<pre class="wp-block-code"><code>su user_for_teamspeak</code></pre>



<p>Before you click on the link below, check the official TeamSpeak website for versions and updates. If it does not match, change the number in the version number of this utility. </p>



<blockquote class="wp-block-quote"><p>Now is using the last version &#8211; 3.5.6</p></blockquote>



<pre class="wp-block-code"><code>wget https://files.teamspeak-services.com/releases/server/3.5.6/teamspeak3-server_linux_amd64-3.5.6.tar.bz2</code></pre>



<p>After successfully installation, unpack the downloaded archive. </p>



<p><code>tar xvfj teamspeak3-server_linux_amd64-*.tar.bz2</code></p>



<p>Copy all contents from the extracted directory to the teampeak user&#8217;s home directory.</p>



<pre class="wp-block-code"><code>cp teamspeak3-server_linux_amd64/* -R /home/user_for_teamspeak/</code></pre>



<p>The download file isn&#8217;t required from now. It means, that you can delete it.</p>



<pre class="wp-block-code"><code>teamspeak3-server_linux_amd64-*.tar.bz2</code></pre>



<p>Then you need to accept the license agreement. You will be able to create a special file </p>



<pre class="wp-block-code"><code>/home/user_for_teamspeak/.ts3server_license_accepted</code></pre>



<p>Log out of the user&#8217;s TeamSpeak session. You can use the following command:</p>



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



<p>Then, after successfully log out, you can create a systemd service file to start Teamspeak on boot.</p>



<pre class="wp-block-code"><code>nano /lib/systemd/system/ts3server.service</code></pre>



<p>Then you need to add the following text. After adding, you need to save it</p>



<pre class="wp-block-code"><code>&#91;Unit]
Description=TeamSpeak 3 Server
After=network.target

&#91;Service]
WorkingDirectory=/home/user_for_teamspeak
User=user_for_teamspeak
ExecStart=/home/user_for_teamspeak/ts3server_minimal_runscript.sh
ExecStop=/home/user_for_teamspeak/ts3server_startscript.sh stop
ExecReload=/home/user_for_teamspeak/ts3server_startscript.sh restart
Restart=always
RestartSec=15

&#91;Install]
WantedBy=multi-user.target</code></pre>



<p>Then please restart systemd system </p>



<pre class="wp-block-code"><code>systemctl daemon-reload</code></pre>



<p>Launch and enable your installed TeamSpeak utilite to start on boot. </p>



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



<p>Then you&#8217;ll be able to switch to user teampeak</p>



<pre class="wp-block-code"><code>su user_for_teamspeak</code></pre>



<p>The last step is to get the <strong>ServerAdmin</strong> privilege key needed to connect to the server for the first time</p>



<pre class="wp-block-code"><code>/home/user_for_teamspeak/logs/ts3server_*</code></pre>



<p>To download, also you can use this <strong><a href="https://teamspeak.com/en/downloads/#client">link</a></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-teamspeak-on-your-vps%ef%bf%bc/feed/</wfw:commentRss>
			<slash:comments>514</slash:comments>
		
		
			</item>
		<item>
		<title>Using The Storage VPS Tariff Plan with Hostry</title>
		<link>https://help.hostry.com/knowledge-base/using-the-storage-vps-tariff-plan-with-hostry/</link>
					<comments>https://help.hostry.com/knowledge-base/using-the-storage-vps-tariff-plan-with-hostry/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 16 May 2022 13:05:40 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4855</guid>

					<description><![CDATA[On the official&#160;hostry&#160;website, tariffs are provided for Storage usage only. These plans have one exceptional feature: excellent value for the disk size (100GB to 2000GB). You can order a tariff plan using this&#160;link. The advantage of this tariff plan lies in its huge amount of disk space. After all, imagine [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>On the official&nbsp;<strong><a href="https://hostry.com/">hostry</a></strong>&nbsp;website, tariffs are provided for Storage usage only. These plans have one exceptional feature: excellent value for the disk size (100GB to 2000GB). You can order a tariff plan using this&nbsp;<strong><a href="https://hostry.com/services/vps/nl/Dronten/">link</a></strong>. The advantage of this tariff plan lies in its huge amount of disk space. After all, imagine that for only $ 2 you have access to a storage of 100 GB! We are happy to provide you with this service, and we want to inform you that the tariffs are for data storage only. This also works great with <a href="https://help.hostry.com/knowledge-base/how-to-use-the-storage-vps-tariff-plans-for-cdn/"><strong>CDN</strong></a></p>



<p>These special KVM servers have many purposes, such as:</p>



<ul><li><strong>file storage</strong></li><li><strong>organization of personal cloud storage</strong></li><li><strong>data backup</strong></li><li><b>installation of personal or SOHO systems for working with files and documents (as a </b><strong style="font-weight: bold;">NextCloud</strong>, <strong>Seafile,  and the like).</strong></li></ul>



<p>This is the perfect solution for you if you are looking to organize your storage in a way that is safe and secure. We all prefer to make reserves, in any area of ​​life it is an absolutely irreplaceable thing, in that there is an emergency storage for some personal needs and requirements. Therefore, today the relevance and importance of backups is undoubtedly of great importance in life. No matter how much technology is developed today, the backup process always takes place and there will never be that this process loses its relevance or value. To host websites and other projects, you must use SSD VDS or dedicated servers.</p>



<p>The advantage of backup storage is also that it solves the problem of data transfer and working with shared documents.Even if there are a lot of duplicated components on your server, all the data can be on an expensive array with a large excess, no one is immune from the fact that there will be logical errors, there will be a certain human factor. Learn more about the importance of backups <strong><a href="https://hostry.com/blog/the-crucial-importance-of-backup/">here</a></strong>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/using-the-storage-vps-tariff-plan-with-hostry/feed/</wfw:commentRss>
			<slash:comments>527</slash:comments>
		
		
			</item>
		<item>
		<title>How to use rc.local on server with CentOS 8 Stream</title>
		<link>https://help.hostry.com/knowledge-base/how-to-use-rc-local-on-server-with-centos-8-stream/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-use-rc-local-on-server-with-centos-8-stream/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 07 Apr 2022 10:33:47 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4823</guid>

					<description><![CDATA[First you need to understand the term &#8220;rc&#8221;. Its original meaning is &#8220;run commands&#8221;. This is mainly used to run commands on system boot &#8220;rc.local&#8221; is a script that contains commands to be run on system boot. As far as Linux distributions are concerned, you may well need to test [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>First you need to understand the term <strong>&#8220;rc&#8221;</strong>. Its original meaning is <strong>&#8220;run commands&#8221;.</strong> This is mainly used to run commands on system boot &#8220;rc.local&#8221; is a script that contains commands to be run on system boot. </p>



<p>As far as Linux distributions are concerned, you may well need to test the systems before launching them. To do this, it is worth taking into account the important<strong> <em>rc.local</em></strong> file in order to put the appropriate and necessary commands there. This is necessary in order to make it possible to execute them at system startup.</p>



<h2 id="how-to-use-rc-local-on-centos-8" >How to use RC.local on CentOS 8</h2>



<p>Update your system</p>



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



<p>Initially, you should check the status of the &#8220;rc-local&#8221; service. To do this, enter the following special command:</p>



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



<p>The answer will be unequivocal: the service is inactive. The next step is to create the rc-local file inside systemd. You can do it like this:</p>



<pre class="wp-block-code"><code>nano /etc/systemd/system/rc-local.service</code></pre>



<p>Then you need to just copy and paste the following content inside it by <strong>CTRL+S</strong> and <strong>CTRL+X</strong></p>



<pre class="wp-block-code"><code>&#91;Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local

&#91;Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99

&#91;Install]
WantedBy=multi-user.target</code></pre>



<p>Then, after the successful actions taken earlier, you need to make the file executable. This means that the commands will be executed. Follow the instructions below:<br></p>



<pre class="wp-block-code"><code>chmod +x /etc/rc.local</code></pre>



<p>Enable and start the <strong>rc-local </strong>service using the commands below.</p>



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



<p>Then you need to start the service and also get the status with the following command:</p>



<pre class="wp-block-code"><code>systemctl start rc-local
systemctl status rc-local</code></pre>



<p>Once you have successfully started the service, you can then access the <strong>&#8220;/etc/rc.local&#8221;</strong> file with a text editor. We used the nano editor for this. Use the following command:</p>



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



<p>The file is now in open format, and you can then enter commands at the end of the file. All these commands will be executed when the server starts. We have created a directory and a text file inside that directory, as seen in the image above. After that, it is recommended to restart the rc.local service as follows.</p>



<pre class="wp-block-code"><code>systemctl restart rc-local</code></pre>



<p>After rebooting the system, you will see that the required directory and file will be created in the specified location.</p>



<pre class="wp-block-code"><code>chmod +x /etc/rc.d/rc.local</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-use-rc-local-on-server-with-centos-8-stream/feed/</wfw:commentRss>
			<slash:comments>415</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>
		<item>
		<title>How to Install RethinkDB on Ubuntu 20.04 LTS</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-rethinkdb-on-ubuntu-20-04-lts/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-rethinkdb-on-ubuntu-20-04-lts/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 09 Mar 2022 09:57:57 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4789</guid>

					<description><![CDATA[RethinkDB is a free database focused on documents and their administration. It has an open source code. The database stores JSON documents with dynamic schemas and is designed to make it easy to send real-time updates of query results to applications. In this tutorial, we will analyze the possibility of [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="https://rethinkdb.com/"><strong>RethinkDB</strong></a> is a free database focused on documents and their administration. It has an open source code. The database stores JSON documents with dynamic schemas and is designed to make it easy to send real-time updates of query results to applications. In this tutorial, we will analyze the possibility of installing RethinkDB for your Ubuntu 20.04 server. Before installing RethinkDB, you should add the repository of this database, also a mandatory step is to add the GPG key</p>



<h2 id="add-gpg-key-and-important-rethinkdb-repository" >Add GPG key and important RethinkDB repository</h2>



<p>The RethinkDB team has its own repository for Ubuntu Linux. Add the repository to your APT. When you enter the RethinkDB command, you get the output of the repository that is already on your Ubuntu server. You need to add this using a special command, which is described below:</p>



<pre class="wp-block-code"><code>source /etc/lsb-release &amp;&amp; echo "deb https://download.rethinkdb.com/repository/ubuntu-$DISTRIB_CODENAME $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list</code></pre>



<p>This package, which you need to install, is signed with a GPG key from the RethinkDB team. It is very important to add it, because it will help you avoid any warnings in the future. Run the following command to save the changes:</p>



<pre class="wp-block-code"><code>wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo apt-key add - OK</code></pre>



<p>After you have successfully added the key and repository described above, you should upgrade the packages. To do this, do the following:</p>



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



<h2 id="installing-rethinkdb" >Installing RethinkDB</h2>



<p>To install RethinkDB for your Ubuntu 20 server, run the following simple command, which is described below:</p>



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



<p>Enter the following commands to have your utility always run during server boot.</p>



<pre class="wp-block-code"><code>systemctl start rethinkdb
systemctl enable rethinkd</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-rethinkdb-on-ubuntu-20-04-lts/feed/</wfw:commentRss>
			<slash:comments>458</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Chevereto on Ubuntu 20.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-chevereto-on-ubuntu-20-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-chevereto-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 28 Feb 2022 14:07:57 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4770</guid>

					<description><![CDATA[Chevereto is a special application that is geared towards allowing the user to host and publish images on their own. It works for creating image hosting websites. Also, its functions include support for several users at once, several servers, as well as the option of choosing a language, bulk import [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://chevereto.com/">Chevereto</a> </strong>is a special application that is geared towards allowing the user to host and publish images on their own. It works for creating image hosting websites. Also, its functions include support for several users at once, several servers, as well as the option of choosing a language, bulk import of images, integration with social networks. Before you take the steps to install. First of all, you must have your MySQL database installed. You need to log in using the following command:</p>



<pre class="wp-block-code"><code>mysql -u root -p</code></pre>



<p>Create a new database.</p>



<pre class="wp-block-code"><code>create a new database chevereto;</code></pre>



<p>Then you need to create a <strong>new</strong> <strong>database</strong> <strong>user</strong> by following command</p>



<pre class="wp-block-code"><code>CREATE USER `superadmin`@`Your_Host` IDENTIFIED BY 'strong-passwd';</code></pre>



<p>Grant the user full access rights to the Chevereto database.</p>



<pre class="wp-block-code"><code>GRANT ALL PRIVILEGES ON chevereto.* TO admin@localhost;</code></pre>



<p>Then you need to <strong>Updated</strong> the root role MySQL </p>



<pre class="wp-block-code"><code>FLUSH PRIVILEGES;</code></pre>



<p>Then &#8211; EXIT command (finish)</p>



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



<h2 id="install-chevereto" >Install Chevereto</h2>



<p>You can download from the Git repository. This is available from the link shown below:</p>



<pre class="wp-block-code"><code>wget https://github.com/Chevereto/Chevereto-Free/archive/1.0.9.tar.gz</code></pre>



<p>Next, you need to extract the file:</p>



<pre class="wp-block-code"><code>tar -xvzf 1.0.9.tar.gz</code></pre>



<p>Then add the following to this directory:</p>



<pre class="wp-block-code"><code>&lt;?php
$config&#91;'db_name'] = 'cheveretodb';
$config&#91;'db_user'] = 'chevereto';
$config&#91;'db_pass'] = 'password';
$config&#91;'admin_password'] = 'password';</code></pre>



<p>Next, you need to give permission to the <strong>Chevereto</strong> directory. You can do this with the following command:</p>



<pre class="wp-block-code"><code>chown -R www-data:www-data /var/www/html/chevereto
chmod -R 777 /var/www/html/chevereto</code></pre>



<p>Then you need to configure the Firewall. Firstly, you need to <strong>allow</strong> <strong>HTTP</strong> Connections (<strong><em>80 port</em></strong>)</p>



<pre class="wp-block-code"><code>ufw allow in http</code></pre>



<p>And also <strong>HTTPS</strong> connection (<strong>443 port</strong>)</p>



<pre class="wp-block-code"><code>ufw allow in https</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-chevereto-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</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>
