Category Archives: Linux Administration

MacOS Dash alternative for Linux

The handy utility Dash – Offline access to documentation is sadly only available for MacOS, but there are compatible alternatives available to let you browse documentation offline on Linux. Zeal – offline documentation browser Dash being a MacOS only Application … Continue reading

Posted in Linux Administration | Tagged , , , , , | Leave a comment

Force Debian console into text mode

Modern server hardware offers a lot of possibilities for administration. One of them is the remote access port, HP’s iLO. This remote access port allows to access the server even when shut down and allows a lot of control over … Continue reading

Posted in Linux Administration | Tagged , , , , | Comments Off on Force Debian console into text mode

Setup sftp only account using openssh and ssh-key

There are different ways to lock a user into his home directory. A very special case is to grant sftp-only access, which does not require a full chroot jail to be set up. The sftp subsystem built into openssh allows … Continue reading

Posted in Linux Administration, Security | Tagged , , | Comments Off on Setup sftp only account using openssh and ssh-key

Manage terminal sessions with tmux

In Managing shell commands and processes a utility called screen was introduced, but screen is not the only utility to manage multiple sessions. Another mighty tool to handle multiple sessions is tmux. With tmux – terminal multiplexer multiple sessions can … Continue reading

Posted in Linux Administration | Tagged | Comments Off on Manage terminal sessions with tmux

Install HP ProLiant Management Utilities

The HP ProLiant Support Pack (PSP) for Linux allows reading out hardware details from a HP ProLiant server. this set of tools can be used to read out hardware information, state and logs. Install HP ProLiant Management Components HP provides … Continue reading

Posted in Linux Administration | Tagged , , , , , | Comments Off on Install HP ProLiant Management Utilities

LVM Remove physical volume from volume group

LVM provides flexibility to organize logical volumes without being bound to inflexible partitioning. If set-up correctly, the LVM can grow as the disk/raid might grow. To allow the LVM to grow, the block device needs to be added as a … Continue reading

Posted in Linux Administration, Storage | Tagged , , , , | Comments Off on LVM Remove physical volume from volume group

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