Category: Linux

How to find Linux filesystem by Label or UUID using findfs, lsblk, blkid

find Linux filesystem by label or UUID using findfs, lsblk, blkid
Linux includes by default a bunch of useful filesystem tools that can be used to locate filesystems or partitions with specified tags or display the whole list of block devices along with their labels, universally unique identifiers (UUIDs) or default mount points.

Below we present common tools to locate filesystem, block device or list all block devices in Linux.
Read More

How to install Spotify on Fedora 23 from RPM package

install Spotify Client on Fedora release 23 from RPM using DNF upgrade method
Spotify is a music, podcast, and video streaming service that provides digital rights management–protected content from different record companies. Spotify provides access to over 30 million songs, with more music being added approximately every day including albums, EPs, and singles.

In this article we present how to install Spotify Client on Fedora release 23 from RPM using DNF package manager.
Read More

Upgrade from Fedora 22 to Fedora 23 or higher release using DNF

fedora_logo
DNF system upgrade is recommended upgrade method for Fedora 21 and later releases. DNF is a kind of successor for FedUp (FEDora UPgrader), which is now obsolete, not supported any more by Fedora Project and should not be used any longer.

In this article we upgrade from Fedora release 22 (Twenty Two) to Fedora release 23 (Twenty Three) or higher release in few simple steps, using DNF system upgrade method.
Read More

Mount | Modify | Edit | Repack | Create UEFI ISO with Kickstart File inside

Mount Modify Edit Re-pack Create UEFI ISO including Kickstart file
Linux installation process can be simplified by means of Kickstart Installation method, used in Linux distributions like: Red Hat, Debian, Fedora, CentOS, Ubuntu. This method utilizes so called Kickstart File, which describes the configuration, required setup and post installation tasks for Kickstart Linux installation.

Kickstart File can be placed in the remote repository, accesible via NFS, HTTP, FTP, etc…, or can be included in ISO image, which is pretty convenient, especially when we don’t want to or don’t have a possibility to create network repository to store a Kickstart File.

In this tutorial we will download original CentOS 7.2 / RHEL 7.2 ISO image, mount it in the Linux file system, modify it by adding Kickstart File (ks.cfg) and re-pack it to create custom UEFI bootable RHEL 7.2 ISO image using mkisofs command.
Read More

Create USB Boot Disk in Linux using dd command

create usb boot disk using dd utility
Have you ever tried to quickly create USB Boot Disk in Linux and had no dedicated software to create one?
For a long time Linux distributions have come with basic tools like dd utility out of the box. dd command can be used to quickly create USB Boot Disk from the given ISO file without using dedicated tools like unetbootin.
Read More

How to add user to sudoers – configure sudo access

configure sudo access in redhat
The sudo command offers a mechanism for providing trusted users with administrative access to a system without sharing the password of the root user.
A sudoer (regular user added to sudoers) once authenticated, can execute the administrative commands like they were run by the root user.

In this tutorial we present two examples:

  • How to add regular user to the wheel group and give the wheel group the unlimited root access
  • How to add particular user to the sudoers

Read More

Yum – find out which RPM package provides particular file or command

Yum – find out which RPM package provides particular file or command
Have you ever wondered how to find RPM package which contains particular script, application or command in your RedHat / CentOS or any other Yum / RPM based operating system? Have you ever needed to find the RPM package which provides some service or feature?

Yum package manager provides parameters to fast and easy search for particular files / features in Red Hat / CentOS RPM repositories:
Read More

Manage and Configure Kdump Service on CentOS 7 / Red Hat 7

enable disable configure kdump on centos redhat rhel
Kdump is a reliable Kernel Crash Dumping Mechanism, in which a crash dump is captured by a second kernel (crash kernel) booted when the main kernel crashes.

This second kernel (crash kernel) uses a small amount of memory for booting and capturing the dump image (vmcore) file. The part of memory reserved by the main kernel is used by the second kernel to boot. Preserving the main kernel’s crash dump is a result of kexec mechanism which allows to boot the second kernel without the necessity of rebooting the system and passing through BIOS procedures.

The time for capturing the vmcore file depends on the amount of the occupied memory during crash. The average time of capturing a 5GB vmcore file is approximately 20-25 minutes.

When the kdump is successfully made during the system crash, a vmcore file is created in a dump location (usually /var/crash/ directory) and next the system reboots. After crash the vmcore file should be analyzed to determine root cause of the failure.

Below we present how to configure and manage kdump service on CentOS 7 / RHEL 7.
Read More

Setup Puppet Master and Multiple Agents on CentOS 7

install and configure puppet on centos 7
Puppet is an open-source configuration management tool written in Ruby by Luke Kanies which includes its own declarative language to describe system configuration.

In this tutorial we install and configure Puppet on CentOS 7 based hosts.
Read More

Install Xfce 4 Desktop Environment on CentOS 7

install xfce 4 desktop environment on centos 7
Xfce is a free and open-source desktop environment for Unix and Unix-like platforms which aims to be fast, intuitive, user-friendly and lightweight, while still being visually attractive for user.

In the below short tutorial we will install Xfce 4 Desktop Environment on CentOS 7 system in few steps.
Read More