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 , , , , | Leave a comment

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

Rewrite author of entire git repository

In git repositories, commit messages contain a person’s email address as an identifier for the user. If the email address used to commit is wrong, you might not want it to be shown in the git repository anymore. In general … Continue reading

Posted in Version control system | Tagged , , , , | Comments Off on Rewrite author of entire git repository

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

Remove files from git history

When a repository contains files which should have never been committed, it is hard to remove them from the history as git is built to keep a history, not to change it. The following procedure will explain the procedure to … Continue reading

Posted in Version control system | Tagged , , , , | Comments Off on Remove files from git history

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

Set the iLO password from Linux using hponcfg

No matter if you are looking for a way to manage the iLO settings from the Linux command line or just have lost or forgotten the iLO password, as long as you have access to the Linux system running on … Continue reading

Posted in Rescue, Security | Tagged , , | Comments Off on Set the iLO password from Linux using hponcfg

Create and merge git branches

Following the philisophy of git, branching is an essential and much used part of the development procedure. When a new feature is developed or a bigger change is to be implemented, a branch is created to work on and later … Continue reading

Posted in Version control system | Tagged , , | Comments Off on Create and merge git branches