Category Archives: GNU/Linux utils

Various GNU/Linux utilities and their usage examples

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 »

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 »

AWS: CLI named profiles

19 March 2019
 

 AWS CLI supports so-called named profiles stored in the configuration file .aws/config and ~/.aws/credentials file with keys which by default contains the… Well – the “default” profile. An additional profile can be added using the aws configure command with the –profile option. Here is an example of such file with already existing two profiles: [simterm]… Read More »

Linux: LVM – pvcreate Device /dev/sdb4 excluded by a filter.

9 March 2019
 

 During new Linux set up – suddenly got a weird message. It happen just because of my carelessness and haste. Let’s create new partition: [simterm] [root@archiso ~]# pvcreate /dev/sdb4 Device /dev/sdb4 excluded by a filter. [/simterm] Check new partition size: [simterm] [root@archiso ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 476.7M… Read More »

Arch Linux: installing with EFI and Windows dual-boot

24 February 2019
 

 The goal is to set up a new Arch Linux and Windows (just for some games) on my new PC and use dual-boot using GRUB. Disks Currently disks layout is next: [simterm] [root@archiso ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 476.7M 1 loop /run/archiso/sfs/airootfs sda 8:0 0 223.6G 0 disk… Read More »