Category Archives: Linux Administration

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

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

apt – install the package that contains a specific file

Sometimes a command that you execute complains about a dependency being missing on the system. From the file name in the error message it is often not possible to know exactly which package needs to be installed to resolve the … Continue reading

Posted in Linux Administration, Security | Tagged , , , , , , , | Comments Off on apt – install the package that contains a specific file

Increase the size of a LUKS encrypted partition

Even encrypted discs or partitions sometimes need to have their size increased. A LUKS encrypted volume consists of different layers which all need to be resized. To resize an encrypted volume, multiple steps have to be performed to use the additional … Continue reading

Posted in Encryption, Linux Administration, Security | Tagged , , , , , | Comments Off on Increase the size of a LUKS encrypted partition

Permanently reject a specific email sender address using postfix

Postfix generally accepts all sender addresses. It might be needed in some rare cases to reject one sender addresses for some reason. With postfix, there is the possibility to use the “check_sender_access” to set individual actions per sender address. For the … Continue reading

Posted in Linux Administration, Mailserver | Tagged , , , , , , | Comments Off on Permanently reject a specific email sender address using postfix

How to get scrollbar arrows in Linux Mint 17

Linux Mint is missing the scrollbar arrow buttons at the end of the scrollbars. There are situations in which those buttons can be very useful. This how-to will explain how to get them back. Sadly I could not find any … Continue reading

Posted in Linux Administration | Tagged , , , , , | Comments Off on How to get scrollbar arrows in Linux Mint 17

Verifying SSH configuration with a scan

Managing a number of Linux servers and keeping them secure can be a challenge. Certain tools can make the life of an admin a lot easier. To ensure an ssh daemon complies with a desired security configuration the admin can use a scanner … Continue reading

Posted in Linux Administration, Security | Tagged , , , | Comments Off on Verifying SSH configuration with a scan

Debug SSH Connection issue in key exchange

Securing a server means hardening the SSH server settings, but doing so can also cause issues with ssh clients. Finding the cipher or algorithm causing a failled connection can be tricky. Depending on the client used, the error message might be very … Continue reading

Posted in Linux Administration, Security | Tagged , , , , | Comments Off on Debug SSH Connection issue in key exchange