VNC connection to RHEL

Configuring VNC Server Access on a Redhat Linux

Most of the time as a Linux system administrator you are managing your servers over the network. It is very rare that you will need to have a physical access to any of your managed servers. In most cases all you need is to SSH remotely to do your administration tasks. In this article we will configure a GUI alternative to a remote access to your RHEL server, which is VNC. VNC allows you to open a remote GUI session to your server and thus providing you with a full graphical interface accessible from any remote location.

In this tutorial you will learn:

  • How to install required VNC packages
  • How to setup and start the VNC server on RHEL
  • How to connect to a graphical session remotely
  • How to run graphical programs in the xterm session

Read more

Managing kernel modules on Linux

Basic Linux Kernel module administration commands

The kernel of a Linux system is the core that everything else in the operating system relies on. The functionality of the kernel can be extended by adding modules to it. As such, a user can fine tune their kernel settings by enabling or disabling modules. This level of granular control is one of the many reasons why users love Linux in the first place.

In this guide, we’ll go over some of the most essential kernel module administration commands on Linux. Knowing these commands will help you understand the components that have been loaded into your system’s kernel, and will also allow you to load, reload, or unload modules in the system kernel.

In this tutorial you will learn:

  • How to administer kernel modules on Linux with commands

Read more

Installed GUI on Ubuntu 20.04

Ubuntu 20.04 GUI installation

The purpose of this guide is to install a desktop environment on Ubuntu 20.04 Focal Fossa, whether you already have a GUI installed and wish to use a different desktop environment, or if you are only using the command line and would like access to a GUI.

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

Using a custom Red Hat repository - in this case from a Red Hat DVD

Creating a Redhat package repository

If your Red Hat server is not connected to the official RHN repositories, you will need to configure your own private repository which you can later use to install packages. The procedure of creating a Red Hat Linux repository is quite a simple task. In this article, we will show you how to create a local file Red Hat repository as well as a remote HTTP repository.

In this tutorial you will learn:

  • How to use official Red Hat DVD as repository
  • How to create a local file Red Hat repository
  • How to create a remote HTTP Red Hat repository

Read more

Learning about the awk command through various command line examples on Linux

Learning Linux Commands: awk

In the case of this article, the Learning Linux Commands: awk title might be a little misleading. And that is because awk is more than a command, it’s a programming language in its own right. You can write awk scripts for complex operations or you can use awk from the command line. The name stands for Aho, Weinberger and Kernighan (yes, Brian Kernighan), the authors of the language, which was started in 1977, hence it shares the same Unix spirit as the other classic *nix utilities.

If you’re getting used to C programming or know it already, you will see some familiar concepts in awk, especially since the ‘k’ in awk stands for the same person as the ‘k’ in K&R, the C programming bible. You will need some command-line knowledge in Linux and possibly some scripting basics, but the last part is optional, as we will try to offer something for everybody. Many thanks to Arnold Robbins for all his work involved in awk.

In this tutorial you will learn:

  • What does awk do? How does it work?
  • awk basic concepts
  • Learn to use awk through command line examples

Read more

Backing up a Docker container on Linux

Docker container: Backup and Restore

The purpose of this guide is to go over the step by step instructions of how to back up a Docker container on the Linux command line. We’ll also show how to restore a Docker container from backup. This can be done on any Linux system where Docker is installed, and will work on any Linux distribution.

To understand the Docker container backup and recovery process we first need to understand the difference between a Docker image and a Docker container. A Docker image contains an operating system with possibly one or more preconfigured applications, whereas a Docker container is a running instance created from an image.

In this tutorial you will learn:

  • How to back up a Docker container on Linux
  • How to restore a Docker container on Linux

Read more