There are 590 posts published with this tag. ↑ Return to tags

How to benchmark memory bandwidth

Use Memory BandWidth benchmark to benchmark memory bandwidth and verify dual-channel memory configuration is active.

July 7, 2026 · 3 min · 590 words · Debian · Debian Trixie

How to display ISO contents

When you need to inspect the contents of an ISO image without mounting it, the isoinfo utility provides a convenient way to list files and extract metadata.

June 16, 2026 · 7 min · 1280 words · Debian · Debian Trixie

How to record terminal session

Use built-in script command to record everything displayed in your terminal session to a file.

April 7, 2026 · 11 min · 2305 words · Debian · Debian Trixie

How to generate recovery data for your files

To generate recovery data for your files using PAR2, you are essentially creating a Reed-Solomon matrix which is a mathematical construct that encodes your original data with redundancy, allowing for the reconstruction of missing or corrupted information.

September 30, 2025 · 10 min · 1968 words · Debian · Debian Trixie

How to solve Logitech MX Keys S connection issue

Logitech MX Keys S keyboard takes a long time to reconnect after waking system up. The solution is to blacklist the hid-vivaldi driver. This prevents it from loading during startup, forcing the system to use a more compatible generic HID driver, which will resolve the connection problems.

September 23, 2025 · 3 min · 485 words · Debian · Debian Trixie

How to wipe partition-table signatures with one exception

Today I will extend the how to fix device excluded by a filter blog post to include information on how to wipe filesystem or partition-table signatures except for LVM2 members, which is a great idea for automation.

May 3, 2021 · 4 min · 669 words · Debian · LVM · Debian Bullseye

How to display strace summary

I have already described how to strace PHP-FPM processes, but you can also display a strace summary to get detailed information about count time, calls, and errors for each syscall.

How to install XWiki

Install the Advanced Open Source Enterprise Wiki.

November 27, 2020 · 8 min · 1533 words · Debian · Debian Buster

How to install OpenJDK 8 on Debian

Use AdoptOpenJDK/Eclipse Adoptium to install OpenJDK 8 (LTS)/OpenJDK 11 (LTS) or OpenJDK 15 (Latest) using Eclipse OpenJ9 or HotSpot Java virtual machine.

November 9, 2020 · 5 min · 1004 words · Debian · Java

How to modify systemd service configuration

Modify systemd service configuration by using drop-in files, which is useful for automation when using ansible or any other provisioning, configuration management, and deployment utility.

February 24, 2020 · 3 min · 479 words · Debian · systemd · Debian Buster

How to keep RabbitMQ data regardless of the node name

Node name is by default part of the location where the RabbitMQ data is stored, so you need to explicitly define static location to ensure that RabbitMQ data is always available in these rare cases when there is a possibility of node name change.

How to access OneDrive on Debian

Access your files stored in OneDrive using rclone command-line program to sync files and directories to and from cloud storage and FUSE Filesystem in Userspace filesystem.

January 27, 2020 · 4 min · 696 words · Debian · FUSE · rclone · Debian Buster

How to mark which backend server is used

There are use cases where you need to know which backend server is used, so use a specific header to send the target server name to the backend.

January 22, 2020 · 1 min · 134 words · Debian · HAProxy · Debian Buster

How to mount NFS share using systemd

This is an extension to an older blog post on how to mount WebDAV share using systemd as this proved to be a very reliable method that is easy to mark as a dependency for other services.

How to use official RabbitMQ repository on Debian Buster

RabbitMQ uses Bintray to provide official repositories for RabbitMQ message broker and Erlang, but there is a small catch as at this moment repository for Debian Buster does not contain RabbitMQ application…

September 20, 2019 · 3 min · 512 words · Debian · RabbitMQ · Debian Buster, Debian Stretch

How to perform suite change

I have recently updated Debian Buster from testing to stable, so it is worth to note how to perform such update non-interactively.

How to disable Google Accounts daemon

Enforcing your own security policy that defines users, SSH keys, and sudo configuration inside custom templates based on official images in Google Cloud requires that you disable Google Accounts service, so it won’t get in the way.

How to merge multiple known_hosts entries into single row

Global known_hosts file located in /etc/ssh/ssh_known_hosts and user managed ~/.ssh/known_hosts contain known host public keys. Due to its nature these files can contain multiple entries using the same key. It is not a problem, but merging entries using the same key is the first step that is necessary to inspect it visually and to verify host entries.

How to monitor PHP-FPM pool

Monitor PHP-FPM (FastCGI Process Manager) pool using curl utility, cgi-fcgi application or slightly modified Python script that was used to display PHP-FPM pool information.

How to mount exFAT filesystem

I am surprised that exFAT is not supported out of the box as it is a default filesystem used on SDXC cards. You need to install a FUSE-based implementation to access data on devices using it.

How to use public NordVPN API

In a blog post a month ago, I described how to use a terminal to display servers recommended by NordVPN, but the same result can be achieved by using public API service. It is not officially documented, so let’s play with it.

How to verify fstab file

Verify static filesystem information defined in the fstab file after applying modifications to ensure that system will boot without any problems. It is especially important in remote locations or places where you cannot easily perform emergency operations.

How to display deb package contents

I have already described how to list the contents of specified package using apt-file utility, but you do not need it to check the contents of downloaded package.

How to add Unsplash background to DokuWiki instance

Use Unsplash Source a simple API for embedding free high-resolution photos from Unsplash to get background for DokuWiki instance. Source code is hosted at GitLab/unsplashdoku and documentation is available on the main DokuWiki/plugin:unsplashdoku website.

April 25, 2018 · 1 min · 74 words · Debian · DokuWiki · Debian Stretch

How to execute older version of free utility

I have described the differences between the old and new free output format, so now I want to mention how to execute the former free version on Debian Stretch using LD_LIBRARY_PATH environment variable to temporarily substitute a different library for this particular execution.

How to add small calendar to DokuWiki page

The truth is that I always return to the DokuWiki to organize personal data, so I have created small calendar as a plugin to perform daily notes. Source code is hosted at GitLab/monthcal and documentation is available on the main DokuWiki/plugin:monthcal website.

March 28, 2018 · 1 min · 207 words · Debian · DokuWiki · Debian Stretch

How to upgrade pip on Debian Wheezy

Debian Wheezy provides an ancient version of pip utility for installing Python packages. To put it very simply, it does not work anymore as it is not using HTTPS protocol, but fortunately this issue can be quickly fixed.

How to parse free output to display available memory

The free utility is used to display the amount of free and used memory in the system. Debian Stretch provides an upgraded package. The output format has changed, and available memory is calculated using a different method, so let’s see what we can do with these modifications at this moment.

How to install director module for icingaweb2

Icinga is a great monitoring solution, especially when you use the director module to perform configuration in a top down environment. It makes the application more accessible to more people as you can use the web-interface and role-based permissions to allow developers and testers to write and use their own checks and notifications.

How to install and configure MariaDB unixODBC driver

MariaDB unixODBC driver is not available in the Debian package repository at this moment, but you can build and configure it on your own. It requires some additional work, but in the end it is really worth the time.

January 8, 2018 · 9 min · 1806 words · Debian · MariaDB · ODBC · Debian Stretch

How to verify IPv4 address

There are many different ways to verify IPv4 address inside a shell script, but many of these are complicated or incomplete. I will describe a simple and verbose way to check IPv4 address using ipcalc utility.

How to display LeaseWeb data traffic using command-line

LeaseWeb provides an API that can be used to request information about servers and perform some maintenance tasks like update reverse DNS entries, null route IP addresses, reboot specific server or launch rescue/reinstallation process. I will show you how to request and display identifiable information about servers in each location including data traffic details.

How to use backports repository

Backports repository provides packages for stable system that are recompiled from testing or unstable distribution. It is important to know that these packages are provided as is without any security support guarantee.

How to fix missing dirmngr

Debian Stretch provides gnupg in minimal installation as the package priority is set to important. The command is fully operational, but it requires dirmngr to perform network operations for managing and downloading certificates.

How to reverse text file

This is just a brief note on how to reverse a text file. It is not really useful for anything other than fun, but it is stuck in my head, so I need to write it down.

October 12, 2017 · 2 min · 278 words · Command-line · Debian · Debian Stretch

How to mount WebDAV share using systemd

You can check my earlier blog post on how to mount WebDAV share using command-line or fstab (file systems table), but you are not limited to these two options as you can use systemd to take care of the whole process and automount WebDAV resource on demand.

How to execute CGI scripts using fcgiwrap

I am an enthusiast of the uWSGI project. You are still not limited to it as you can use fcgiwrap, a very lightweight and straightforward FastCGI wrapper for CGI scripts that do not require additional configuration.

How to keep track of network latency

Keep track of network latency using SmokePing, uWSGI application server, and Nginx HTTP server. SmokePing supports many configurable probes, alerting, and live charts accessible through a web browser. It was created by Tobi Oetiker, which is known for RRDtool an Open Source data logging and graphing system for time series data.

How to mount WebDAV share

Nextcloud is a handy self hosted web-based application that can be used to store files, contacts and calendars. It provides the desktop and mobile client. In addition, it supports Web Distributed Authoring and Versioning protocol, so let’s mount a WebDAV share.

How to install and configure private MoinMoin wiki

Install and configure a private instance of the MoinMoin wiki engine, a full-featured and extensible wiki software written in Python that can store personal notes, knowledge base, or simply share interests.

August 14, 2017 · 3 min · 564 words · Debian · Applications · Debian Stretch

How to configure unixODBC

You can connect custom-built shell script with any database using unixODBC an implementation of the Open Database Connectivity standard and I will show you how to do this for SQLite and PostgreSQL databases.

How to use loop devices

I have a feeling that loop devices are now used less frequently, but these are still relevant and useful.

July 3, 2017 · 2 min · 227 words · Debian

How to fix the missing HPE's public keys

HPE Software Delivery Repository is cryptographically signed, so you can be sure that provided software packages have not been modified by a third party. However, sometimes you can encounter the The following signatures couldn't be verified because the public key is not available error which can be easily fixed.

How to install missing firmware for tg3 module

Recently I stumbled upon the missing firmware for Broadcom Tigon3 based gigabit Ethernet card after kernel upgrade process. Simple problem, which was solved by installing firmware-linux-nonfree Binary firmware for various drivers in the Linux kernel package.

How to build Vagrant Debian base box

It is time to look into the build process of Debian Vagrant box, create one using packer utility for creating machine and container images and alter the whole process a little bit.

September 19, 2016 · 2 min · 369 words · Debian · Vagrant

How to jump between defined set of locations

I am constantly moving between a fixed list of several directories daily. Using cd can be tedious at times, so I defined a shell function to quickly jump between a defined set of directories.

September 5, 2016 · 1 min · 149 words · Debian · Vagrant · Debian Jessie

How to setup apt-cacher-ng Vagrant box

Vagrant is an awesome piece of software, but constantly downloading system packages can be very time-consuming. The simplest solution is to set up an apt caching proxy as a Vagrant box.

August 15, 2016 · 2 min · 242 words · Debian · Vagrant · Debian Jessie

How to setup DokuWiki Vagrant box

Today, I will publish Vagrant configuration to set up DokuWiki instance. It is just a handy reference, as described in the earlier blog post.

How to get started with Vagrant

Today I will install Vagrant which provides an easy way to configure reproducible and portable virtual environments. It is just a first step towards this new direction, so stay tuned for more details soon.

August 1, 2016 · 8 min · 1615 words · Debian · Vagrant · Debian Jessie

How to automatically login user at the console

I have already described a straightforward way to automatically login user at the console without touching the graphical user interface using Debian Wheezy, so today I will post an update for Debian Jessie as the whole process has changed considerably.

How to install and configure DokuWiki instance

Dokuwiki is the best Open Source project I have ever used, so I have prepared a simple step-by-step guide to help you get started. It is relatively brief and concise as most of the code was already described in other blog posts found on this website.

How to find which package includes specific file

This brief outline explains how to locate specific file within Debian packages using very useful apt-file utility which as opposed to dpkg-query does not only inspect installed packages since it utilizes fetched lists of the contents of packages.

How to use recent version of Firefox in Debian Jessie

It was recently pointed out to me by Piotr Gabryjeluk that Iceweasel name was dropped (see Debian Bug report #815006). This caused a major inconsistency in the previous blog post. This is an updated version for Debian Jessie

How to install and configure private Seafile cloud storage server

Since the beginning of this year, I have started using Seafile, and I absolutely love it as it offers simple data organization using libraries and reliable file synchronization between multiple devices with built-in encryption. Check for yourself as it is undoubtedly worth it.

How to perform PostgreSQL point-in-time recovery

This blog post is an update to the earlier PostgreSQL entries in which I will show you how to use continuous Write Ahead Log archiving to take advantage of the point-in-time recovery.

February 29, 2016 · 12 min · 2462 words · Debian · PostgreSQL · Debian Jessie

How to set NOOP scheduler at system boot

There are many different ways to set NOOP scheduler on the first hard drive at system boot. I have decided to use simple systemd service, but alternatively you can use udev to automatically configure every SSD device (see References section).

How to create bootable USB flash drive

Today, I will show you how to create customized USB flash drive to boot selected ISO images using Syslinux bootloader for Linux ext4 filesystem. It is very handy and useful, so let’s begin immediately.

December 7, 2015 · 5 min · 949 words · Command-line · Debian · Debian Jessie

How to use recent version of Iceweasel in Debian Jessie

Do you want to use the latest version of Iceweasel, also known as Firefox? Then add the repository provided by the Debian Mozilla team and choose between release, beta and aurora versions. This blog post is obsolete. Please read How to use a recent version of Firefox in Debian Jessie instead.

October 31, 2015 · 2 min · 355 words · Debian · Applications · Debian Jessie

How to install Debian remotely

It is possible to install Debian over the network with a little help from another person in a remote location. I performed it only once and it was some time ago, but the whole procedure is quite easy and straightforward.

How to create shadow directory of symbolic links

There are times when it is handy to know how to create shadow directory of symbolic links. I am thinking in particular of the software compilation process, as I have used this technique in very distant past to build X Window System.

October 5, 2015 · 1 min · 168 words · Debian

How to use chkconfig on Debian Wheezy

I have already described chkconfig utility in CentOS – How to manage system services blog post, but today I want to mention that you can also use it to manage services on Debian Wheezy.

How to terminate active ssh sessions

Several months ago I have shortly described how to close a non-responsive ssh session, which comes in handy at times. Today I will describe how to close every active ssh session by inspecting existing pseudoterminals.

How to search for files by date

Today I would like to tell you how to search for files by date, which is a very useful skill when you spend most of your time on the command-line.

February 27, 2015 · 1 min · 195 words · Command-line · Debian · Debian Jessie

How to find orphaned files

When managing large datasets, it is remarkably easy to end up with orphaned files, those without an assigned owner or group. These files can persist unseen, potentially creating security vulnerabilities or just contributing to system clutter. Fortunately, the find utility provides a direct method to locate them.

How to inspect PostgreSQL queries

Sometimes I want to inspect and verify queries made by an application or hunt a bug that involves more complex queries. The essential part of this process requires altering PostgreSQL server configuration to log SQL statements.

January 16, 2015 · 2 min · 388 words · Debian · PostgreSQL · Debian Wheezy

GNOME Terminal, Midnight Commander and function keys

I have updated my desktop computer to Debian Jessie. After that I quickly encountered an issue with GNOME Terminal, Midnight Commander and already assigned F1 and F10 function keys.

December 26, 2014 · 1 min · 84 words · Debian · Issue · Debian Jessie

How to take control over configuration files

Take control over configuration files and store them in version control system using etckeeper utility created by Joey Hess, which seamlessly integrates with package management tools inside Debian operating system.

i915 and "Hangcheck timer elapsed" error

Since Debian Jessie installation, I have encountered Hangcheck timer elapsed error. It is a really nasty bug as the only way to escape frozen X Window System is to reboot the whole operating system.

November 30, 2014 · 2 min · 359 words · Debian · Issue · Debian Jessie

How to verify copy process

Yesterday, I left a long-running copy process between two external USB hard-drives. I did not want to assume anything, so I created a simple shell script to ensure that the whole process went smoothly.

How to handle Bash history

I have already written a blog post about useful Bourne Again SHell key sequences, so today, I will touch on another important aspect of the daily routine – the history.

How to handle Bash command-line

The default interactive shell in Debian is Bourne Again SHell, so it is worth to invest some time to at least skim through the available readline key sequences to gain higher proficiency at the command-line.

How to fix error when moving events between calendars

Recently, I noticed “Failed to save changes” error when I tried to move events between distinct calendars. After a short investigation I found that this bug is already fixed, but not packaged for an easy upgrade, so I will shortly describe how to apply fix for Debian Wheezy and Kolab 3.3.

October 29, 2014 · 1 min · 156 words · Debian · Issue · Kolab · Debian Wheezy

How to configure TF2234MC multi-touch monitor

I had a little experience with multi-touch devices, so I was happy to use for a while iiyama TF2234MC multi-touch monitor with Debian Wheezy. It was quite a pleasant experience with a little bit of adventure.

How to extract an ISO image

During my recent activity I have noted to check out how to extract an ISO image in a traditional way using only shell utilities. It turned out to be easier than I thought, so I will present you three different solutions.

21st anniversary of the Debian project

Debian was founded exactly twenty-one years ago by Ian Murdock, you can even find original newsgroup subject New release under development; suggestions requested.

August 16, 2014 · 1 min · 62 words · Debian

Kolab – SSL certificate authentication (web-based interface)

This weekend, I have spent some time investigating SSL certificate-based authentication and implementing it in Kolab web-based user interface. This topic is fascinating but definitely too broad to be briefly described in a single blog post, so do not look at it as a complete solution, but treat it only as a proof of concept.

How to terminate SSH connection

Currently, I am working over an unstable network connection, so my SSH session is constantly disconnected. It is a very uncomfortable situation as a dropped SSH connection freezes the whole terminal.

How to use Solarized theme in Emacs

You may have noticed that I became a fan of solarized color palette by Ethan Schoonover used for terminal and gui applications. You will therefore not be too surprised when I describe how to install it and use in Emacs text editor.

June 9, 2014 · 2 min · 258 words · Debian · Emacs

Amazing Emacs org-mode

I have discovered org-mode in the last year but have been using it for the last two months with increasing enthusiasm and commitment. I will be honest and tell you that it is the sole reason to learn and use Emacs on a daily basis.

How to setup Jekyll virtual private server

It is not a secret that I am using Gandi Simple Hosting to host sleeplessbeastie’s notes website. This solution is almost maintenance-free and does not require any additional work to use Jekyll, as hosting static content is dead simple (see shell script to automate build and upload process).

How to access single-user mode without password

Recently I was asked to reset root password on some long forgotten Debian box. It was an easy and straightforward task, but, as there are some interesting pitfalls, I will describe the whole process of acquiring root shell without password using single-user mode and a couple of ways to prevent it.

Fresh install of the Debian Wheezy

The end of the year is the best time to reinstall the operating system and change encryption keys due to a couple of additional free days at home so today I will shortly present my setup.

Logitech Unifying Receiver

Several months ago, I have acquired wireless keyboard using tiny Logitech Unifying Receiver. Since that time I was a little worried by the lack of appropriate management options, however recently I found Solaar – a Linux device manager for such peripherals, which solves my doubts.

Handy way to beep within a shell script

Sometimes I need to explicitly indicate the execution of a specified shell script or just an action taken inside it. My favorite way is to use advanced pc-speaker beeper, which is directly available in Debian repository.

How to backup and restore installed packages

If you ever wondered about how to backup list of installed packages and then restore it on another machine then you need to know that it does not require anything more than three basic utilities – dpkg to import/export list of packages, apt-get to install selected packages and apt-mark to restore extended package states.

How to setup apt caching proxy

I am currently using a cellular connection most of the time. Thus, it is obvious that I prefer to reduce the amount of data transferred over the network. A significant portion of it is reduced by the apt caching proxy apt-cacher-ng as I use Debian Linux distribution and VirtualBox on a daily basis.

How to create browser sandbox

I am using the Firefox web browser most of the time, but you need to know that I have drawn a clear line between daily browsing and strictly private usage by using a browser sandbox. I will shortly describe the whole process so you could also benefit from it.

How to list local displays

I was always curious about how to list local displays as it is a quite interesting issue. Solution is not immediately apparent, but easy enough to spot after a while as it does not require anything more than little observations.

How to open manual page at the specific page section

After writing the previous blog entry, I started to think about how to specify page section when opening the manual page. It is a simple but quite interesting issue, so I quickly got curious and wrote this post to describe a straight solution. Just to be clear – I need to mention that I am not writing about section numbers describing distinct subject areas but just page sections, such as NAME, SYNOPSIS, DESCRIPTION, AUTHORS, and so on.

How to easily access files over SSH protocol

I am constantly using SSH to transfer files between my home notebook and remote servers. The basic scp tool is great but sometimes it is more convenient to mount a remote file system to easily access files over the SSH protocol.

How to get number of days in a month using shell commands

Today I was writing a shell script that performs different actions depending on the day of the month. Nothing fancy but then I came across an interesting issue, which is how to get number of days in a month. I got interested and started playing with shell commands, namely cal and awk utilities.

How to easily install Steam on Debian Wheezy

I was wondering how to easily install Steam on Debian Wheezy and unexpectedly found a solution on GitHub. To download and play Linux games available on Steam without any hassle you need to download and install Steam installer for Wheezy package.

How to quickly maximize particular window

Around three weeks ago I wrote an article on how to automate mouse and keyboard. It was a very fun experience but as the former article was quite long I didn’t mention the wmctrl tool. It is an excellent complement to the previously described tools.

Long term battery capacity graphs

A month ago I wrote an article – Debian – How to monitor battery capacity. Today I will publish long-term battery capacity graphs so you could see them for yourself.

February 7, 2013 · 1 min · 41 words · Debian · Opinion

How to automatically wake up notebook

I came across ACPI wakeup wiki article while writing previous post, got interested and checked how to automatically wake up notebook. It is really simple as you can quickly set wake up time using date command, just remember to use Unix time.

How to monitor battery capacity

Recently battery in my notebook started to behave erratically. It will charge only to 70-80% of its maximum capacity. I suspect that it is probably slowly dying, so I will have to replace it soon, but at first, I will look at several utilities to monitor battery capacity.

How to create VLAN interface

VLAN (virtual local area network) is a very useful concept as you can easily separate device management from users by using appropriate network devices and configuration. I will describe here in the form of a short note how to create a VLAN interface using a Debian system.

The Debian Administrator’s Handbook

If you are searching for a book about Debian then look at The Debian Administrator’s Handbook. It is a great open source project so feel free to check it out and support it at the official The Debian Administrator’s Handbook website.

December 7, 2012 · 1 min · 68 words · Opinion · Debian

PlayOnLinux – Easy way to run Windows apps on Linux

From time to time I play older games on my notebook. I download them from Good Old Games and play on Linux as most of them work and it is easy to check which ones are supported using WineHQ website. Recently I installed PlayOnLinux and I like it because it allows you to keep and manage all Windows applications in one place.

← Return to tags