How to kill process by port

How to kill process by port

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.

Read more

Installing and using the ifconfig command on Debian

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.

Read more

Netplan static ip on Ubuntu configuration

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.

Read more

How to query NTP server

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.

Read more

How to Use Kubernetes Namespaces

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.

Read more

Ubuntu Static IP configuration

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.

Read more

Ubuntu 20.04 Remote Desktop Access from Windows 10

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.

Read more

How to find my IP address, default gateway and DNS server on Ubuntu 20.04 Focal Fossa Linux from command line

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.

Read more

How to Create, Manage, and Expose a Service in Kubernetes

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.

Read more

Choosing a Kubernetes Networking Addon

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.

Read more