How to hibernate system using systemd

Hibernate desktop system using systemd.

Categories
Uncategorized

How to disable mitigations for CPU vulnerabilities

Disable mitigations for CPU vulnerabilities.

Categories
Uncategorized

How to install JetBrains using snap packages

I am using PyCharm and GoLand, both of these applications are available as snap packages.

Categories
SysOps

How to configure HTTP/2 in http mode on HAProxy and fix bad request problem

Enable HTTP/2 on HAProxy 1.8 and temporarily fix the bad request problem with the Nginx backend using FastCGI/uWSGI.

Categories
Uncategorized

How to install HAProxy 1.8 on Ubuntu 16

Install recent HAProxy version to take advantage of the new fancy features.

Categories
Uncategorized

How to fix broken uwsgi package on Ubuntu Xenial

Recently, I tried to update uwsgi package on Ubuntu Xenial, but received an error about broken package. It looks like the mentioned package was pushed to the repository before its dependencies. This issue is thoroughly described in #1719363 bug report.

Categories
DevOps

How to upgrade lxd guests

It is time to mention about simple sequential or simultaneous upgrade process on lxd guests. It is adapted to Debian-like operating systems using apt as I am using these daily.

Categories
Uncategorized

How to fix mdadm segfault inside lxc container

lxd is a real pleasure to use, but mdadm constantly segmentation faults inside Ubuntu guest operating system. This issue affects only Ubuntu as mdadm is not disabled by default inside these containers. It is nothing scary or dangerous, but in this specific case, repetitive segfaults needlessly raise alertness level.

Categories
SysOps

How to disable touchpad using shortcut

I have already described how to disable the touchpad when an external mouse is connected using the udev device manager, but today I want to share a simple shell script that I am using on Dell XPS 13 to disable/enable the touchpad using a single keyboard shortcut.

Categories
Uncategorized

How to update Intel graphics drivers

Recently I needed to update integrated Intel graphics drivers to gain access to more recent OpenGL extensions. Packages available by default in base system do not provide such functionality, so I used Updated and Optimized Open Graphics Drivers as it is built almost simultaneously with the latest updates.