Tag Archives: 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 »

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 »

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 »

What is: chroot – system call and utility in Linux

23 March 2019
 

 chroot() was added to the Version 7 Unix in 1979 and used for filesystem isolation. In fact, it’s the predecessor of the whole current containerization idea, just now there are namespaces and cgroups are used while earlier chroot was used to create an environment which is isolated from a host and can be used for… Read More »

Linux: telegram-desktop – no systray icon

13 March 2019
 

 Have the telegram-desktop installed via pacman on the Arch Linux. After starting – no systray’s icon present and thus can’t see new messages and even can’t exit in a normal way. This issue is not specific for the Arch Linux and happens on any Linux systems. Go to the Google and make search with “telegram linux… Read More »

VirtualBox: Nonexistent host networking interface, name ‘wlp13s0’

11 March 2019
 

 Have the ~/VirtualBox VMs directory copied from my old laptop to a new PC. Now during VM’s launch – VirtualBox says: Nonexistent host networking interface, name ‘wlp13s0’ (VERR_INTERNAL_ERROR). Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} Check interfaces on the new PC: [simterm] $ ip a s 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue… Read More »

Ansible: check if a package is installed on a remote system

10 March 2019
 

 Have a self-written letsencrypt role (see the Prometheus: RTFM blog monitoring set up with Ansible – Grafana, Loki, and promtail post). Before running the Let’s Encrypt client to obtain a new certificate – need to check if NGINX is installed on a remote host. Let’s use the package_facts module: … – name: “Check if NGINX is… Read More »