Processes that utilize the network connection of your Linux system will occupy a port whenever they are uploading or downloading data, or listening for incoming connections. A common example present on many Linux servers would be the SSH protocol, which listens for and accepts incoming connections on port 22 by default. Ordinarily, administrators can kill a process using the PID number, or by specifying the process name. But in some cases, we may want to kill a process according to which port number it is using.
networking
Linux command to quit SSH connection
When it comes to managing remote systems in Linux, the SSH protocol is the most used method. SSH is popular because it allows a user to securely log in to remote devices, including other Linux systems, firewalls, routers, etc. When you are done with your remote management, you can quit out of the SSH connection.
Linux IP forwarding – How to Disable/Enable using net.ipv4.ip_forward
It may be necessary to configure Linux IP forwarding on a Linux system in certain scenarios. If the Linux server is acting as a firewall, router, or NAT device, it will need to be capable of forwarding packets that are meant for other destinations (other than itself). Linux uses the net.ipv4.ip_forward kernel variable to toggle this setting on or off.
How to install missing ifconfig command on Linux
Most of us longtime Linux users have the ifconfig
command seared into our brain, after years of repetitive use. It comes as a shock to some when they type the command and are met with an error message (ifconfig command not found). Indeed, the command has become deprecated, but it’s still possible to install ifconfig command.
Netplan static IP on Ubuntu configuration
In this tutorial, we will discuss a netplan static IP configuration on Ubuntu Linux. Netplan allows for straightforward network IP address configuration using human-readable data-serialization language YAML. The article will also discuss a default Netplan network settings and the location of the Netplan configuration file.
How to query NTP server
NTP stands for Network Time Protocol and is used for clock synchronization across multiple computers. Client systems can be configured to query an NTP server on a consistent basis, to make sure that its configured time is always kept in sync. There are NTPD servers available over the internet to which you can sync, or you can run your own NTPD server and configure client computers to sync their times to it. Having an array of computers in perfect sync with each other can be important for critical tasks that require perfect coordination between multiple systems.
How to Use Kubernetes Namespaces
In order to have a logical separation for different groups of resources, Kubernetes gives us the namespaces feature. It is also convenient when you have a big environment that is managed by multiple users or teams, and each one needs their own “space” for the resources that they are assigned to manage and administer. This is a much better solution than creating numerous Kubernetes clusters just to facilitate different groups of services or deployments, and to isolate teams to their own space.
Ubuntu Static IP configuration
In this tutorial, you will learn all about Ubuntu static IP address configuration. We will provide the reader with a step by step procedure on 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.
Ubuntu 20.04 Remote Desktop Access from Windows 10
In this tutorial, we will 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.
How to find my IP address on Ubuntu 20.04 Focal Fossa Linux
In this tutorial, we will show how 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.
How to Create, Manage, and Expose a Service in Kubernetes
A ‘service’ is a way to make an application accessible from the network in Kubernetes. It involves exposing one or multiple network ports that are tied to a containerized application. For example, you can run a containerized web server and expose it over the network to turn it into a service. This then allows incoming client connections, so in this case users could visit the hosted web server.
Choosing a Kubernetes Networking Addon
Deploying a network addon in your Kubernetes cluster will enable communication between different components within the cluster. A network addon can route traffic between nodes, allowing pods in the cluster to send and receive traffic. Load balancing and service discovery are also made easier thanks to networking addons, but each addon comes with its own networking model and configuration. In this tutorial, we will go through a list of networking addons for Kubernetes to help you choose the best one for your needs.