<?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>Linux &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/linux/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>Mon, 20 Sep 2021 12:16:04 +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>Linux &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Basic Configuration of Firewall on Linux</title>
		<link>https://help.hostry.com/knowledge-base/firewall/</link>
					<comments>https://help.hostry.com/knowledge-base/firewall/#comments</comments>
		
		<dc:creator><![CDATA[Paul Harris]]></dc:creator>
		<pubDate>Mon, 29 Jul 2019 07:34:24 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=432</guid>

					<description><![CDATA[Basic commands firewalld Look status: # systemctl status firewall # firewall-cmd --state running View zones: # firewall-cmd &#8211;list-all public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: 8081/tcp 53/udp 53/tcp protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: It is seen that the open service: ssh [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 id="basic-commands-firewalld" >Basic commands firewalld</h2>



<p>Look status:</p>



<p><code># systemctl status firewall  </code></p>



<p><code># firewall-cmd --state</code></p>



<p>running</p>



<p>View
zones:</p>



<p>#
firewall-cmd &#8211;list-all 
</p>



<p>public
(active)</p>



<p>target:
default</p>



<p>icmp-block-inversion:
no</p>



<p>interfaces:
eth0</p>



<p>sources:
</p>



<p>services:
dhcpv6-client ssh</p>



<p>ports:
8081/tcp 53/udp 53/tcp</p>



<p>protocols:
</p>



<p>masquerade:
no</p>



<p>forward-ports:
</p>



<p>source-ports:
</p>



<p>icmp-blocks:
</p>



<p>rich rules:  </p>



<p>It is seen that the open service: ssh (22/TCP),dhcpv6-client and ports 8081/tcp 53/udp 53/tcp, a Protocol is required without this the command will not be accepted</p>



<p><strong>Allow connection to a specific port (for example 1732 ) is very simple:</strong></p>



<p><code># firewall-cmd --add-port=1732/tcp</code></p>



<p><code># firewall-cmd --runtime-to-permanent</code></p>



<p>The second command will overwrite the Active settings to the saved and agreeme at boot</p>



<p><strong>To remove a port from the rules, use the &#8211;remove-port parameter:</strong></p>



<p><code># firewall-cmd --remove-port=1732/tcp</code></p>



<p><code># firewall-cmd --runtime-to-permanent</code></p>



<p>In General, many &#8211;add-* commands have values for checking the status of &#8211;query-*, &#8211;list-* — list, changing &#8211;change -*, or deleting &#8211;remove the corresponding value. For brevity, we will not continue to focus on this. After reload rules check:</p>



<p><code># firewall-cmd --list-ports</code></p>



<p><strong>Firewalld provides a mode that allows you to block all connections with a single command:</strong></p>



<p><code># firewall-cmd --panic-on</code></p>



<p><strong>To check which mode the firewall is in, there is a special key:</strong></p>



<p><code># firewall-cmd --query-panic  </code></p>



<p><strong>Panic mode is disabled:</strong></p>



<p><code># firewall-cmd --panic-off</code></p>



<p>It is not necessary to know which port is associated with the service in firewalld, just specify the name of the service. The utility will take care of the rest. After installing firewall knows the settings of more than 50 services, we get a list of them.</p>



<p><code># firewall-cmd --get-services</code></p>



<p><strong>Allow http connection:</strong></p>



<p><code># firewall-cmd --add-service=http</code></p>



<p>Using braces, you can specify multiple services at once. Information on the settings of the services available through</p>



<p><code># firewall-cmd --info-ser</code></p>



<p></p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/firewall/feed/</wfw:commentRss>
			<slash:comments>454</slash:comments>
		
		
			</item>
		<item>
		<title>Choosing an Operating System on Linux</title>
		<link>https://help.hostry.com/knowledge-base/choosing-an-operating-system-on-linux/</link>
					<comments>https://help.hostry.com/knowledge-base/choosing-an-operating-system-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 26 Aug 2019 07:49:13 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=576</guid>

					<description><![CDATA[There are actually a lot of operating systems and distributions based on Linux OS. In this article we will only talk about some of them that are inherent in our virtual servers, namely this: CentOS, Debian, FreeBSD, Ubuntu. We will give a short description about each operating system, its advantages [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>There are actually a lot of operating systems and distributions based on Linux OS. In this article we will only talk about some of them that are inherent in <a href="https://hostry.com/products/vps/">our virtual servers,</a> namely this: <strong>CentOS</strong>, <strong>Debian</strong>, <strong>FreeBSD</strong>, <strong>Ubuntu</strong>. We will give a short description about each operating system, its advantages and hackeristics. We hope this will help you decide which one will be more convenient and practical for you to use..</p>



<p></p>



<h2 id="debian" >Debian</h2>



<p>One of the most universally compatible Linux distributions. it is long-term in support and the very first distribution. It has a graphical shell GHOME. From its advantages can be distinguished</p>



<ul><li><strong>The presence of a modern Linux kernel</strong></li><li><strong>Extra large package storage</strong></li><li><strong>Big Tracking System</strong></li><li><strong>Great support for architectures (x86, x64, ARM)</strong></li></ul>



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



<p></p>



<p>Every third user of Linux will select this operating system. Absolutely all software products designed for work and support of the Linux environment will work in CentOS.</p>



<ul><li><strong>Ensuring installation in UEFI Secure Boot mode on supported hardware</strong></li><li><strong>Very easy transition to systemd, firewalld and GRUB2 </strong></li><li><strong>Very reliable server solution</strong></li></ul>



<h2 id="ubuntu" >Ubuntu</h2>



<p>This operating system is the best solution for openStack public clouds. Today, many users for their personal computers use this particular operating system. The main advantages can be distinguished</p>



<p></p>



<ul><li><strong>This operating system can always be easily downloaded, use is very simple, and configurations are easy</strong></li><li><strong>It is one of the safest operating systems due to the fact that it has a built-in firewall and anti-virus software</strong></li><li><strong>It is interesting that Ubuntu has been translated into more than 50 languages ​​of the world, and is available to many users</strong></li><li><strong>In support of servers, Ubuntu is one of the most popular systems, because of its simplicity, reliability and security systems</strong></li></ul>



<h2 id="firstHeading" id="freebsd" >FreeBSD</h2>



<p>This distribution includes a security group that controls all of this software. A wide selection of additional applications and programs is installed by pkg packages or by compiling code. The main advantages can be distinguished</p>



<ul><li><strong>Due to licensing, much of FreeBSD, the coded has become an integral part of other operating systems, such as Apple, and the Sony’s PlayStation software system</strong></li><li><strong>FreeBSD has a large set of server software in the base system and a set of ports. This allows you to configure FreeBSD and use it as a mail server, web server, firewall, FTP server, DNS server and router, as well as other applications</strong></li></ul>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/choosing-an-operating-system-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>Create a Sudo User on Ubuntu</title>
		<link>https://help.hostry.com/knowledge-base/create-a-sudo-user-on-ubuntu/</link>
					<comments>https://help.hostry.com/knowledge-base/create-a-sudo-user-on-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 07 Sep 2020 08:27:57 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1981</guid>

					<description><![CDATA[One of the best ways to ensure security while doing administrative work on your server is to run as a non-root user. After successfully purchasing a VPS from Hostry, the first task as root should be to set up a non-root user with a valid sudo. This guide is applicable [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>One of the best ways to ensure security while doing administrative work on your server is to run as a non-root user. After successfully purchasing a <strong><em><a href="https://hostry.com/">VPS</a></em></strong> from Hostry, the first task as root should be to set up a non-root user with a valid sudo.<br> This guide is applicable for Ubuntu distribution, for versions: 20.04 LTS, 18.04 LTS, 16.04 LTS.</p>



<h2 id="add-a-new-user-account" >Add a New User Account</h2>



<p>To create a <strong>user</strong> account, you need to use the <strong><em>adduser</em></strong> command. We recommend using a strong password for the user! An example of a strong password is <strong>aoQ7w52!OKvA$Pfz</strong>. Next, you can enter values ​​for user information, or press ENTER to leave these fields blank.</p>



<pre class="wp-block-code"><code># adduser example_user
Adding user `example_user' ...
Adding new group `example_user' (1001) ...
Adding new user `example_user' (1001) with group `example_user' ...
Creating home directory `/home/example_user' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for example_user
Enter the new value, or press ENTER for the default
        Full Name []: Example User
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] y</code></pre>



<h2 id="add-user-to-sudo-group" >Add User to Sudo Group</h2>



<p>You can add a new user to the sudo group using the <strong><em>usermod</em></strong> command</p>



<pre class="wp-block-code"><code># usermod -aG sudo example_user</code></pre>



<h2 id="test" >Test</h2>



<p>Switch to a <strong>New</strong> user</p>



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



<p>Make sure you are the new <strong><em>whoami</em></strong> user, then test<strong><em> sudo</em></strong> access with<strong> sudo whoami</strong> which should return root</p>



<pre class="wp-block-code"><code>$ whoami
example_user
$ sudo whoami
[sudo] password for example_user:
root</code></pre>



<p>Done!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/create-a-sudo-user-on-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Features and benefits of working with Linux</title>
		<link>https://help.hostry.com/knowledge-base/features-and-benefits-of-working-with-linux/</link>
					<comments>https://help.hostry.com/knowledge-base/features-and-benefits-of-working-with-linux/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 04 Sep 2019 09:24:23 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=638</guid>

					<description><![CDATA[The main advantage of this Linux network operating system is its compatibility with the X Window System graphics engine. This, as well as many other positive qualities, make it very popular among users. Linux has support for many platforms. For example, Motorola 680&#215;0 (Amiga and Atari computers, old Macs), PowerPC, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The main advantage of this Linux network operating system is its compatibility with the X Window System graphics engine. This, as well as many other positive qualities, make it very popular among users. Linux has support for many platforms. For example, Motorola 680&#215;0 (Amiga and Atari computers, old Macs), PowerPC, DEC Alpha, Sun SPARC. Today, MIPS and ARM processors are being developed, and the core for embedded systems that work on Intel 8086.</p>



<p>Linux presents opportunities to work on this platform. They are very numerous, and many of them have been added since their initial release. </p>



<p>Some <strong><a href="https://www.quora.com/What-are-the-some-features-of-linux">features</a></strong> will be presented below: </p>



<ul><li><strong>CAP_KILL</strong>: Bypassing permission checks for sending signals to processes </li><li><strong>CAP_SYS_NICE</strong>: Enhance the nobility of processes (an explanation of the nobility can be found here)</li><li><strong>CAP_DAC_OVERRIDE</strong>: Override discretionary access control, For example, vto bypass the read / write / execute permissions check.</li></ul>



<p>If you enter in the terminal &#8220;man 7 capabilities&#8221; then more additions and entries will appear</p>



<figure class="wp-block-image"><img width="815" height="983" src="https://help.hostry.com/wp-content/uploads/2019/09/Linux.png" alt="" class="wp-image-639" srcset="https://help.hostry.com/wp-content/uploads/2019/09/Linux.png 815w, https://help.hostry.com/wp-content/uploads/2019/09/Linux-249x300.png 249w, https://help.hostry.com/wp-content/uploads/2019/09/Linux-768x926.png 768w, https://help.hostry.com/wp-content/uploads/2019/09/Linux-41x50.png 41w, https://help.hostry.com/wp-content/uploads/2019/09/Linux-600x724.png 600w, https://help.hostry.com/wp-content/uploads/2019/09/Linux-320x386.png 320w" sizes="(max-width: 815px) 100vw, 815px" /></figure>



<p></p>



<p>We also want to introduce a list of supported hardware called &#8220;Linux Hardware Howto&#8221; <a href="http://www.ibiblio.org/mdw/%20HOWTO%20/%20Hardware-HOWTO.html">http://www.ibiblio.org/mdw/%20HOWTO%20/%20Hardware-HOWTO.html</a></p>



<p>Regarding graphic of programs in this system, there are a lot of them! From simple to powerful editors. We provide the 42 best programs, but in fact, there are many more! <a href="http://www.linuxlinks.com/GraphicsSoftware/">http://www.linuxlinks.com/GraphicsSoftware/</a> </p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/features-and-benefits-of-working-with-linux/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Features of using the Less command on Linux</title>
		<link>https://help.hostry.com/knowledge-base/features-of-using-the-less-command-on-linux/</link>
					<comments>https://help.hostry.com/knowledge-base/features-of-using-the-less-command-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 19 Sep 2019 09:27:23 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=691</guid>

					<description><![CDATA[On Linux systems, this command displays the contents of files and displays the command on one page at a time in the terminal. less is very useful and is mainly used to view the contents of large files. This navigation comes into operation through a keyboard shortcut. To view the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>On Linux systems, this command displays the contents of files and displays the command on one page at a time in the terminal. <strong><span style="text-decoration: underline;">less</span></strong> is very useful and is mainly used to view the contents of large files. This navigation comes into operation through a keyboard shortcut.</p>



<p>To view the contents in your file, you must enter:</p>



<pre class="wp-block-preformatted">less your-file-name</pre>



<p>To see line numbers in each line, use the<strong> &#8211;<span style="text-decoration: underline;">N</span></strong> option:</p>



<pre class="wp-block-code"><code>less -N your-file-name</code></pre>



<h2 id="less-keyboard-navigation" >Less Keyboard Navigation</h2>



<figure class="wp-block-image"><img loading="lazy" width="787" height="884" src="https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04.png" alt="" class="wp-image-699" srcset="https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04.png 787w, https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04-267x300.png 267w, https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04-768x863.png 768w, https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04-45x50.png 45w, https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04-600x674.png 600w, https://help.hostry.com/wp-content/uploads/2019/09/Снимок-экрана-от-2019-09-19-12-06-04-320x359.png 320w" sizes="(max-width: 787px) 100vw, 787px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/features-of-using-the-less-command-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How can I check which ports and processes are running in Ubuntu</title>
		<link>https://help.hostry.com/knowledge-base/how-can-i-check-which-ports-and-processes-are-running-in-ubuntu/</link>
					<comments>https://help.hostry.com/knowledge-base/how-can-i-check-which-ports-and-processes-are-running-in-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 20 Sep 2021 12:16:04 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4280</guid>

					<description><![CDATA[Before each work on the server, you need to check the connection to a particular port or debug. You should also check which ports are running and which process is running on which port. Sometimes you can also have problems like “port already in use” and if necessary you should [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Before each work on the server, you need to check the connection to a particular port or debug. You should also check which ports are running and which process is running on which port. Sometimes you can also have problems like <strong>“port already in use”</strong> and if necessary you should know which process is using this port and terminate it if necessary. This can be achieved by knowing which ports are using different processes. This article will focus on showing you the ability to test ports and also all processes on your Ubuntu server.</p>



<p>There are several techniques for checking open ports and processes running on your Ubuntu. You can use netstat and grep commands</p>



<h2 id="grep-netstat" >Grep &amp; Netstat</h2>



<p>The netstat command gives you the ability to display network status and protocol statistics on your server. Netstat displays different types of network data depending on the command line parameter used. TCP and UDP endpoints can be seen in tables, routing tables, and interface information formats. The Grep command parses the file and displays each line that contains this pattern for a specific character pattern.</p>



<p>In order to use the netstat command, you can enter the following command, which is listed below (check the <strong><em>http </em></strong>port):</p>



<pre class="wp-block-code"><code>netstat -ltnp | grep -w ': 80'</code></pre>



<p>It is also possible to list all listening TCP or UDP ports, including those using ports and socket state. To do this, you need to enter a very simple but useful command such as:</p>



<pre class="wp-block-code"><code>netstat -tunlp</code></pre>



<h2 id="using-ss" >Using SS</h2>



<p>The ss command is a special tool that is configured to use the display of network socket information on a Linux system. The tool displays more detailed information than the netstat command, which is used to display active socket connections.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-can-i-check-which-ports-and-processes-are-running-in-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How Do I check the CPU 32 or 64 bit on the Linux system</title>
		<link>https://help.hostry.com/knowledge-base/how-do-i-check-the-cpu-32-or-64-bit-on-the-linux-system/</link>
					<comments>https://help.hostry.com/knowledge-base/how-do-i-check-the-cpu-32-or-64-bit-on-the-linux-system/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 22 Mar 2021 09:40:08 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=3414</guid>

					<description><![CDATA[When you start working with a Linux VPS, it is always very important to understand what type of CPU system the architecture contains: 32-bit or 64-bit. This information is important to absolutely everyone: as an IT specialist, developer, system administrator and also a Linux beginner user. When it comes to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>When you start working with a <a href="https://hostry.com/products/vps/"><strong>Linux</strong> <strong>VPS</strong></a>, it is always very important to understand what type of CPU system the architecture contains: 32-bit or 64-bit. This information is important to absolutely everyone: as an IT specialist, developer, system administrator and also a Linux beginner user. When it comes to third-party applications, you need to know the architecture of your system because 64-bit applications cannot run on a 32-bit system. Whereas we can easily run 32-bit applications on a 64-bit system.</p>



<h2 id="lscpu-command" >Lscpu Command</h2>



<p>lscpu is a very handy and simple program that allows you to get all the information you need regarding Linux processor architecture. Login to your terminal and enter the following command:</p>



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



<figure class="wp-block-image size-large"><img loading="lazy" width="869" height="532" src="https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-13-26.png" alt="" class="wp-image-3422" srcset="https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-13-26.png 869w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-13-26-300x184.png 300w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-13-26-768x470.png 768w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-13-26-50x31.png 50w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-13-26-600x367.png 600w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-13-26-320x196.png 320w" sizes="(max-width: 869px) 100vw, 869px" /></figure>



<p>The Architecture field shows what type of <strong>CPU</strong> you have. Here <strong>x86_64 </strong>stands for <strong>64-bit</strong>. CPU operation mode <strong>&#8211; 32-bit</strong> and <strong>64-bit</strong>. This means your processor supports both 32-bit and 64-bit instructions.</p>



<h2 id="uname-command" >Uname Command</h2>



<p>Uname provides information about your <strong>Linux</strong> system and kernel version. Run the following command to get <strong>CPU</strong> information using the uname command. This can be done as follows:</p>



<pre class="wp-block-code"><code>uname -m</code></pre>



<p>If you have a <strong>64-bit</strong> system, then the output will be as follows:</p>



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



<h2 id="lshw-command" >Lshw Command </h2>



<p>Lshw is a simple command to display information about the hardware of your Linux system. You can get information about the Linux processor by running the following command:</p>



<pre class="wp-block-code"><code>lshw -c cpu</code></pre>



<p>The output will be as follows:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="113" src="https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-1024x113.png" alt="" class="wp-image-3437" srcset="https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-1024x113.png 1024w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-300x33.png 300w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-768x85.png 768w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-50x6.png 50w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-920x102.png 920w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-600x66.png 600w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57-320x35.png 320w, https://help.hostry.com/wp-content/uploads/2021/03/Снимок-экрана-от-2021-03-22-10-20-57.png 1429w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-do-i-check-the-cpu-32-or-64-bit-on-the-linux-system/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</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 loading="lazy" 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>
	</channel>
</rss>
