Installed Webmin on RHEL 8

How to install Webmin on RHEL 8 / CentOS 8

Webmin is web-based administrator’s tool that can manage many aspects of the system. After installation, we can manage our machine’s resources, the server applications running on it, set up cronjobs, just to name a few. It comes with it’s own http server, no additional container or webserver required. The rich function set is accessible trough a web interface, so all we need is a browser to manage our system remotely.

In this tutorial we will install Webmin on RHEL 8 / CentOS 8, add the necessary service file for easy management, and log in to the WUI (Web User Interface).

In this tutorial you will learn:

  • How to install Webmin from tarball
  • How to add and test systemd service file
  • How to access the web interface

Read more

smbtree-rhel8

How to install and configure samba on RHEL 8 / CentOS 8

Samba provides server and client software to allow file sharing between Linux and Windows machines. Installing and configuring it on RHEL 8 / CentOS 8, is quite easy. Keep reading to learn how to share a directory with samba, and how to apply the appropriate SELinux context to it.

In this tutorial you will learn:

  • How to install samba on RHEL8
  • How to enable and start the smb and nmb daemons
  • How to create a samba share
  • How to setup the firewall to allow samba share to be accessed
  • How to setup the correct SELinux context for samba to work correctly
smbtree-rhel8

Samba shares on RHEL 8 / CentOS 8

Read more

Checking swap size and usage with the free command

How to increase swap size on RHEL 8 / CentOS 8

On a system with memory-intense workload with common peak loads, a large swap memory can be useful to store large memory contents not needed at the moment. While using swap instead of memory will certainly have great impact on performance, sometimes this is preferable over adding more memory to the machine, as disk space is much cheaper. Sometimes there is simply no more memory, maybe a physical machine that is out of free slots, and there isn’t any larger memory modules on the market. At other times the slower performance on peak loads may be preferable over the application crashing with out of memory error.

In some cases swap memory needs to be increased, a live example could be expanding the memory in the machine, and so also expanding the swap space to match the double of the new memory size.

In this tutorial you will learn:

  • How to check swap space.
  • How to identify swap volume.
  • How to extend swap volume.
  • How to add another swap volume.

Read more

Using dnf you can search for available wireless drivers in the RHEL 8 / CentOS 8 repositories

How to install wireless driver in RHEL 8 / CentOS 8 Linux

Most laptops and mobile devices these days have a wireless card. Mobile connectivity is important more than ever. If twenty years ago Linux barely had enough drivers for a handful of on-board ethernet cards, now the wireless drivers embedded in the kernel grows with every kernel release. Further than that, hardware companies release their products together with Linux drivers, be they closed or open-source. In this article we will take a look at how to install wireless drivers in RHEL 8 / CentOS 8.

In this tutorial you will learn:

  • How to install wireless drivers using dnf
  • How to install manually downloaded wireless drivers

Read more

Version-control system Git on Red Hat Enterprise Linux 8

How to Install git on RHEL 8 / CentOS 8 Linux server/workstation

Git is a version-control system, which is used for tracking updates in computer files. Additionally, it may be used for collaborating work on files among a group of people. This article will provide the reader with a step by step information on how to install Git on RHEL 8 / CentOS 8.

In this tutorial you will learn:

  • How to install Git from a standard RHEL 8 / CentOS 8 repository.
  • How to compile and install Git from source code.
  • How to check Git version.

Read more

Snmpd answer to remote query with snmpwalk.

How to install snmp on RHEL 8 / CentOS 8

SNMP (Simple Network Management Protocol) is widely used for monitoring and central management purposes. In this tutorial we will install the snmpd service to a RHEL 8 / CentOS 8 machine, enable autostart, and after starting the service, we will test the functioning service with snmpwalk running the default settings.

In this tutorial you will learn:

  • How to install snmp service
  • How to start and enable the service with systemd
  • How to open udp port 161 for remote access
  • How to test the service with snmpwalk from localhost and remove machine

Read more

Successful build with Maven.

How to install maven on RHEL 8 / CentOS 8

Maven is a handy project management tool for Java projects. It helps handling multiple projects, can integrate with various IDE (Integrated Development Environment) software, and above all, simplifies build processes. In this tutorial we will install maven on a RHEL 8 / CentOS 8 Linux system, and to test the tool, we’ll build and run a simple example application.

In this tutorial you will learn:

  • How to install Maven
  • How to create a basic project
  • How to build the project with Maven
  • How to test the built application

Read more

Compiling the ffmpeg code we have downloaded from Git

How to install ffmpeg on RHEL 8 / CentOS 8

If you ever need a quick way to convert between video or audio formats in Linux and want something that doesn’t munch on resources but does the job well, then you might want to give ffmpeg a try. There are many GUI interfaces for the ffmpeg package but in this article we’ll learn how to install it in RHEL 8 / CentOS 8 using the command line and compiling tools.

FFMpeg has many command line options when it comes to converting files and therefore it is advisable to use it from the CLI. From there you can fine-tune its options using attributes and even learn how to create BASH scripts to make automatic conversion scripts.

In this tutorial you will learn:

  • How to compile the ffmpeg source code from scrach

Read more

rpm-manpage

How to install packages on RHEL 8 / CentOS 8 Linux System

All modern linux distributions organize software in packages which contain applications binaries, files, metadata and information about the package dependencies, possible conflicts with other packages etc. The core Rhel package manager is called rpm itself, and it is the tool used also by dnf, the higher level package manager, which is capable to manage dependencies. A relatively recent technology , flatpak, let us install also sandboxed applications together with their runtimes.

In this tutorial you will learn:

  • The three main ways to install a package using rpm
  • How to install packages using dnf
  • How to install applications graphically from the gnome-software utility
  • How to install sandboxed applications with flatpak

rpm-manpage

The rpm package manager manual

Read more

Successfully recovered lost root administrative password on RHEL 8 Linux Server/Desktop

RHEL 8 / CentOS 8 recover root password

This article provides step by step instructions on how to recover/reset lost or forgotten RHEL 8 / CentOS 8 Linux root administrative password. To recover the root password you will first boot to the GRUB menu and perform a break at early stage of the boot process. Afterwards, you will remount the sysroot directory with read & write access and change the root password on RHEL 8 / CentOS 8 by using the passwd command to set the new root password.

In this tutorial you will learn:

  • How to perform a break at an early stage of the boot process.
  • How to remount root partition with read/write access.
  • How to change root password.
  • How to force filesystem relabeling.

Read more

Enabled IPv6 on RHEL 8 Linux system.

RHEL 8 / CentOS 8 enable/disable IPv6

An Internet Protocol Version 6 (IPv6) address is an identifier of a network interface of a computer or a network node involved in an IPv6 computer network. This article will guide the user via simple steps on how to disable or re-enable IPv6 network addresses on RHEL 8 / CentOS 8. To temporarily enable/disable the IPv6 address on RHEL 8 / CentOS 8 we will use the sysctl command. Additionally, to permanently disable the IPv6 address we will modify the GRUB boot options.

In this tutorial you will learn:

  • How to temporarily disable the IPv6 address.
  • How to permanently disable IPv6 by modifying the GRUB boot options.

Read more