Category Archives: UNIX/Linux

Linux: Kazam – record a screencast
0 (0)

21 November 2019

had to create a short demonstration video for Okta’s support, googled a tiny, quick and simple application – Kazam. On Arch Linux can be install from AUR: [simterm] $ yaourt -S kazam [/simterm] Run it: [simterm] $ kazam [/simterm] I set the Automatic save by default (to the ~/Videos): Now, chose an area to record… Read More: Linux: Kazam – record a screencast0 (0) »

Loading

Arch Linux: package-query: error while loading shared libraries: libalpm.so.11
0 (0)

26 October 2019

Didn’t install upgrades for a couple of weeks, today packages to be upgraded became over 100, so I run it. Upgrades on my Arch Linux are installed with a simple alias in the.bashrc: … alias osupgrade=”yaourt -Syua –noconfirm” … (seems eventually it’s time to change it to the alias osupgrade=”yay -Syua –noconfirm”) The error Usually,… Read More: Arch Linux: package-query: error while loading shared libraries: libalpm.so.110 (0) »

Loading

Debian: logrotate won’t rotate logs with an “unknown group ‘syslog'” error
0 (0)

9 October 2019

We have an AWS EC2 with Debian and logrotate. One day its root partition was exhausted and when I started investigating it – found, that we have a bunch of files like /var/log/syslog.N.gz. At the same time by default logrotate creates a config file to rotate syslog log files: [simterm] root@monitoring-dev:~# cat /etc/logrotate.d/syslog # Ansible… Read More: Debian: logrotate won’t rotate logs with an “unknown group ‘syslog'”… »

Loading

Redis: main configuration parameters and performance tuning overview
0 (0)

10 September 2019

Currently configuring Redis server as our backend caching service and during that wrote this post with some things to pay attention at in Redis config file. Shortly enough but with links to other posts or documentation. Let’s begin with the redis-benchmark utility. Will be installed alongside with Redis service, so can be used right after… Read More: Redis: main configuration parameters and performance tuning overview0 (0) »

Loading

Redis: fork – Cannot allocate memory, Linux, virtual memory and vm.overcommit_memory
0 (0)

28 August 2019

Currently, I’m configuring a Redis as a caching service for our application and during that, I faced with the question: do I need to set vm.overcommit_memory to the value 1, i.e. disable it – or not? The question is quite old for me, see The story, but only now I found time to get to… Read More: Redis: fork – Cannot allocate memory, Linux, virtual memory and… »

Loading

Debian: unattended-upgrades – automatic upgrades installation with email notifications via AWS SES
0 (0)

23 May 2019

A unattended-upgrades package performs automated upgrades installation on Debian/Ubuntu systems. It’s a Python script (1500 lines) located at /usr/bin/unattended-upgrade (and /usr/bin/unattended-upgrades is a symlink to the /usr/bin/unattended-upgrade). CentsOS/RHEL analog – yum-cron. Install it: [simterm] $ sudo apt -y install unattended-upgrades [/simterm] The main config file is /etc/apt/apt.conf.d/50unattended-upgrades where upgrade types, email settings etc can be… Read More: Debian: unattended-upgrades – automatic upgrades installation with email notifications via… »

Loading

Linux: A stop job is running for Session c1 of user setevoy (1min 30s)
0 (0)

15 May 2019

The issue happened on a fresh Arch Linux installation but the solution here can be used on any systemd-based distributive. So, during restarts system hangs for 1.5 minutes with a message like: A stop job is running for Session c1 of user setevoy (1min 30s) To check which process(es) exactly caused this you can use… Read More: Linux: A stop job is running for Session c1 of… »

Loading

Linux: GPG-keys, Pass – passwords manager, and passwords import from the KeePass database
0 (0)

25 April 2019

pass – a password manager for Linux/UNIX. Stores data in tree-based directories/files structure and encrypts files with a GPG-key. In Arch Linux present by default, in Debian can be installed using apt from default repositories: [simterm] $ sudo apt install pass [/simterm] For macOS can be installed with Homebrew: [simterm] $ brew install pass [/simterm]… Read More: Linux: GPG-keys, Pass – passwords manager, and passwords import from… »

Loading

Arch Linux: Albion Online – Unable to preload the following plugins: libSDL2-2.0.so.0
0 (0)

14 April 2019

Didn’t play in Albion Online for a while, but recalled about it and tried to play on my Arch Linux. It works fine from the Steam client, but I bought with a start package some time ago and can’t log in to Steam’s version with my old credentials. Okay – download game from the https://albiononline.com/ru/download,… Read More: Arch Linux: Albion Online – Unable to preload the following… »

Loading