Category Archives: UNIX/Linux

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

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 »

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

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 »

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

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 »

Arch Linux: Albion Online – Unable to preload the following plugins: libSDL2-2.0.so.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 »

JetBrains Upsource: installation, configuration on Linux with NGINX and SSL and PyCharm integration

2 April 2019
 

 Upsource is a self-hosted service from JetBrains for code reviews by teams of developers which can be integrated with any IDE from JetBrains. Is a Java-based application with Apache Cassandra as a backend for storing data and indexes. Minima requirements – 8 GiB memory on a host – not surprise at all. Up to 10… Read More »

Kubernetes: running Minikube on Arch Linux

27 March 2019
 

 Minikube – a utility to run a Kubernetes cluster locally on your PC. It can use Virtualbox, VMware, Hyper-V etc hypervisors which will be used to create a virtual machine with a Kubernetes cluster. Minikube is a great tool for developers or DevOps engineers to test deployments/services etc without the need to create and configure… Read More »