Category Archives: Linux Administration

Docker container on RHEL fails to start without error

Recently a Docker container refused to start for me without any hint about why in the OS or Docker container’s logs. It turns out that SELinux jumped in and blocked access without logging its interference. Containers which were running in … Continue reading

Posted in Linux Administration, Security | Tagged , , , | Comments Off on Docker container on RHEL fails to start without error

Setup LVM and create logical volume

Creating an LVM on a disc / partition allows for a lot of flexibility in managing the storage. Managing a disc using LVM consists of a number of steps, from preparing the disc itself until mounting a volume. With LVM … Continue reading

Posted in Linux Administration | Tagged , | Comments Off on Setup LVM and create logical volume

Extend logrotate for additional log files

The Linux operating system consists of many different components. Many of them log their activity directly or indirectly into log files. Over time those log files grow and would eventually fill up the disk if there wasn’t a utility like … Continue reading

Posted in Linux Administration | Tagged , | Comments Off on Extend logrotate for additional log files

Manage SELinux boolean policies

Configuring a new service often means dealing with SELinux. The easiest way is most of the time to set an SELinux boolean. But what are SELiunx booleans and what exactly do they do? I will try to shed a little … Continue reading

Posted in Linux Administration, Security | Tagged , , | Comments Off on Manage SELinux boolean policies

Find and extract one file from rpm package

Extracting a configuration file (or any other single file) from a package which is not installed is not a standard operation on rpm based systems, but with the following few steps, a file can be extracted without installing the package … Continue reading

Posted in Linux Administration | Tagged , , , , , | Comments Off on Find and extract one file from rpm package

Align a partition on a hard disk

New disks need to be prepared for use. When using a hardware raid like explained in Create hardware raid on HP via hpacucli some partitioning tools even show an error message. To prepare a disk for use, the disk needs … Continue reading

Posted in Linux Administration | Tagged , , , | Comments Off on Align a partition on a hard disk

Mount raw image of entire disc

Raw disc images are very common, they include things like images created using dd for backups and virtual machine disk images. To access the disc image content means the disk image needs to be mounted. Images from a partition can … Continue reading

Posted in Linux Administration, Rescue | Tagged , , , | Comments Off on Mount raw image of entire disc

Testing environment setup using Vagrant

Setting up a test environment with many different operating systems and versions can be a time consuming task. Installing the different operating systems and configuring them for tests or development can take up a lot of time. Vagrant makes this … Continue reading

Posted in Linux Administration, Virtualisation | Tagged , , , , | Comments Off on Testing environment setup using Vagrant

Create hardware raid on HP via hpacucli

Configuring a new hardware raid on a HP server can be done comfortably from the Linux command line without restarting the server. HP provides a small command line tool for this job. The following shows how this tool can be … Continue reading

Posted in Linux Administration | Tagged , , , , , | Comments Off on Create hardware raid on HP via hpacucli

Linux Mint – Mount an NFS share automatically

Linux Mint comes pre-installed with all components to mount Windows File sharing (SMB/CIFS) but does not support NFS out of the box. The following post will explain how to enable Linux Mint to mount a NFS share. Additionally the NFS … Continue reading

Posted in Linux Administration | Tagged , , , | Comments Off on Linux Mint – Mount an NFS share automatically