If you frequently use your Linux system to connect to a specific host, it can be convenient to make an alias for the hostname or IP address. This is especially true if the host has a long name or URL, and you do not want to keep typing the whole thing out every time you need to connect. There are several ways to create a host alias on Linux, depending on how you ordinarily connect to the host.
The /etc/hosts file can be found on all Linux systems. This is a plain text system file which can be used to map network names (like hostnames of computers on your local network, or URLs to online websites) to IP addresses. The
hosts file has a higher priority than any DNS servers your system is configured to use.
The purpose of this tutorial is to show how to remote desktop into Ubuntu 20.04 from Windows. This will save the user from having to get up and go to their Ubuntu 20.04 computer any time that they need to access it. Instead, you will simply be able to remote desktop into Ubuntu 20.04 from Windows and it will be as if you are sitting at the other computer.
This tutorial will deal with Ubuntu static IP address configuration. It will provide the reader with a step by step procedure how to set static IP address on Ubuntu Server via netplan and Ubuntu Desktop using NetworkManager. Static IP address is recommended for servers as the static address does not change as oppose to a dynamic IP address assignment via DHCP server.
The purpose of this tutorial is to show to use the Ubuntu ip command to see information about the local IP address, default gateway, and DNS servers on Ubuntu 20.04 Focal Fossa Linux. The IP address is used by your Ubuntu machine to talk to other devices on the network, like a router or other PCs. Keep in mind that your internal IP address is different from your system’s external IP.
A firewall is a line of defense on your network, primarily used to filter incoming traffic, but also used for outbound rules and other network related security. All major Linux distros come with a software firewall built into them, since it is part of the Linux kernel itself. Any user can configure their system firewall to get started with securing network traffic, but there are many alternatives to the default which will extend or simplify the functionality.
At any given moment your Linux system is running multiple processes simultaneously. Some of these processes have access to your network if they are being used to upload or download data. These processes typically bind themselves to a particular port number, and this can allow us to kill the process based on a port number.
MySQL server has gone away error can occur when you have an established connection to the MySQL server and for one reason or another, the connection times out or otherwise goes down. In the context of a Linux system, the error can sometimes be seen from the MySQL client. In this tutorial, we will show several solutions for dealing with and troubleshooting the MySQL error.
In this tutorial, we will provide a few Bash scripts to scan and monitor the network using combination of commands such as
ping. Obviously, these scripts are no match to a full monitoring dedicated software like nagios, but they could be useful for small home brand networks, where implementing sophisticated monitoring systems can become too much overhead.
ssh_exchange_identification read connection reset by peer SSH error is something you may see in your terminal when trying to log in to a remote host or when your session expires on a Linux system. In this tutorial, we will go over a few different causes for this error and show you how to troubleshoot the connection on your system. Using one of our methods below will hopefully remedy the error and allow you to log in via SSH or maintain your current session.
If you are trying to SSH into a remote host from a Linux system, the
ssh_exchange_identification: connection closed by remote host error is one you might encounter when trying to log in. In this tutorial, we will go over a few different causes for this error and show you how to troubleshoot the connection on your system. Using one of our methods below will hopefully remedy the error and allow you to log in via SSH.
netstat Linux command is used by system administrators to see information about network connections. Netstat is a powerful utility that can print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. It has been superseded by the ss command in recent years, but is still a viable tool for network diagnostics and troubleshooting.