Category Archives: UNIX/Linux

Windows: Windows Subsystem for Linux and Ubuntu Linux installation

14 March 2021
 

  Windows Subsystem for Linux (WSL) is a Windows subsystem that helps to run various Linux distribution directly from the Windows OS. WSL version 2 which is the default version now uses the Hyper-V virtualization under the hood to install and run Linux and share files and devices between both systems. Windows Subsystem for Linux… Read More »

Linux: setlocale: LC_ALL: cannot change locale (en_US.utf8) and Cyrillic symbols

4 February 2021
 

 Locales is a set of environment variables that are used to determine how to display data and time (for example, first of the week), symbols encoding (for example, how to display cyrillic symbols), default files order when one executing the ls command, and so on. Those variables are: LANG: Determines the default locale in the… Read More »

Linux: connect Bluetooth headset with bluetoothctl and Blueman

2 February 2021
 

 Recently, I bought a Sony WH-1000XM3 headset. In general, they are great but need to connect them to my laptop with Arch Linux. The documentation about Bluetooth on Arch Linux can be found here>>> and here>>>: Installation Install necessary packages: Check kernel’s module: If it’s not found – load it: Start the service: bluetoothctl Linux… Read More »

Linux: LEMP set up – NGINX, PHP, MySQL, SSL, monitoring, logs, and a WordPress blog migration

6 November 2020
 

 Finally got time to migrate the RTFM.CO.UA blog to a new server with Debian 10. This time manually, without any automation will set up a LEMP stack Wrote a similar at 2016 – Debian: установка LEMP — NGINX + PHP-FPM + MariaDB (Rus), but in time the post is more complete of the process and… Read More »

Kubernetes: Service, load balancing, kube-proxy, and iptables

1 November 2020
 

 One day I wondered – how is load balancing between pods is working in Kubernetes? I.e. – we have an external Load Balancer. Then a Service. And behind it – Pods. What happens when we are receiving a network packet from the world, and we have a few pods – how the traffic will be… Read More »

Linux: configuring KDE Connect and connection to an Android phone

24 June 2020
 

 A really nice Android phone and a Linux OS integration. Besides the KDE Connect, you can use gnome-shell-extension-gsconnect if you’d prefer the Gnome project. In this post, we will set up KDE COnnect between an Android HTC phone and Arch Linux. On Android install the KDE Connect from the Play Market. On Linux, install from… Read More »

Docker: configure tzdata and timezone during build

17 May 2020
 

 During a Docker image build – it stops asking to configure the tzdata. Dockerfile at this moment is the next: FROM ubuntu:18.04 RUN apt update && apt install -y python-pip python-dev ssh python-boto3 RUN pip install ansible==2.4.3.0 Let’s reproduce – run the build: And here it hangs waiting for us enter data, and even after… Read More »