How to clean temporary files automatically using systemd-tmpfiles in RHEL 7 / CentOS 7

Have you also come across a situation when your filesystem gets piled up with unwanted files and you have to step in manually clean up all the unwanted temporary files and directories. With Red Hat Enterprise Linux 7 we have a new systemd unit file (systemd-tmpfiles) introduced which can do the dirty work for you ... Read more How to clean temporary files automatically using systemd-tmpfiles in RHEL 7 / CentOS 7

How to boot RHEL 7 / CentOS 7 to single user runlevel or rescue mode (emergency.target) ?

How to boot RHEL 7 / CentOS 7 to single user runlevel or rescue mode (emergency.target) ?

Starting from RHEL 7 the runlevel concept is no more and now the formerly known as runlevel 1 is called emergency.target So we will use the term "emergency.target" for "runlevel 1" There can be two possible scenarios for going into emergency target level You have a working setup with a shell You machine is unable ... Read more How to boot RHEL 7 / CentOS 7 to single user runlevel or rescue mode (emergency.target) ?

Tutorial / Cheatsheet: 11 examples to use systemctl to manage unit files and service in RHEL 7 / CentOS 7

Tutorial / Cheatsheet: 11 examples to use systemctl to manage unit files and service in RHEL 7 / CentOS 7

In my last article I have given an overview of systemd with examples. If you want to have a background of migration from sysvinit scripts which we were using RHEL 6 and earlier to systemd used in RHEL 7 then follow below link Everything you must know before starting with systemd in RHEL 7 / CentOS 7 ... Read more Tutorial / Cheatsheet: 11 examples to use systemctl to manage unit files and service in RHEL 7 / CentOS 7

Step by Step Linux boot process with GRUB2 and systemd in RHEL 7 / CentOS 7

Step by Step Linux boot process with GRUB2 and systemd in RHEL 7 / CentOS 7

Below table depicts the flow of the boot up process for RHEL 7 / Cent OS 7 with GRUB2 and systemd The stages involved in Linux Booting Process are: BIOS Boot Loader     - MBR     - GRUB2 Kernel systemd I have also written another article with the steps of boot process using ... Read more Step by Step Linux boot process with GRUB2 and systemd in RHEL 7 / CentOS 7

How do I set or change (default) runlevel using systemd in CentOS 7/RHEL 7

How do I set or change (default) runlevel using systemd in CentOS 7/RHEL 7

This article gives you an overview of transition from System V init scripts to Systemd. Some of the benefits of systemd over the traditional System V init facility include: systemd never loses initial log messages systemd can respawn daemons as needed systemd records runtime data (i.e., captures stdout/stderr of processes) systemd doesn't lose daemon context ... Read more How do I set or change (default) runlevel using systemd in CentOS 7/RHEL 7