Specification Update system on all nodes Install Containerd on all nodes Change SystemdCgroup to true Install runc on all nodes Install CNI(Container Network Interface) plugin on all nodes Disable apparmor on all nodes Install Nerdctl to all nodes Install Crictl to all nodes Install kubeadm/kubelet to all nodes Install kubectl to all nodes Configure a…
Category: Linux
Alpine – Plugin caching_sha2_password could not be loaded
When using mysql client to login MySQL, it throws the following error: If it’s alpine linux, then simply install mariadb-connector-c
How to setup Gitlab runner with KVM enabled
To implement the CI pipeline for the Android project, I need to run Gitlab CI, in which KVM is enabled. TL; TR Enable VTx virtualization technology in your server BIOS Pass /dev/kvm to Gitlab runner Sample .gitlab-ci.yml However, the pipeline was failing with the following error. Enable VTx virtualization technology First, I had to configure…
Change Java OpenJDK version in Arch Linux
Issue: When execute npm run android for React Native, the build error occurred as below: Solution: It’s because currently Java version is lower than 11. Assuming already has another Java JDK, simply change Java for Arch Linux. Reference: https://edgardorl.com/blog/configure-java-in-arch-linux-to-run-a-react-native-application/
Convert gnome-boxes virtual machine image to Oracle Virtual Box image
First convert gnome-boxes image to Virtual Box image Open Virtual Box Click Add button and follow below steps
Mount iPhone/iPad in Arch Linux
Install libimobiledevice and ifuse$ yays libimobiledevice ifuse (* important) Pair with iPad – make sure iPad is connected via USB cable$ idevicepair pair Run usbmuxd $ sudo usbmuxd -f -v Create mount folder$ sudo mkdir /media/ipad$ sudo chmod 777 /media/ipad Mount iPad using ifuse$ ifuse /media/ipad Open file manager, then you will see iPad is…
When Arch Linux installation, cannot find nvme0n1 in DELL XPS 13
When you do lsblk, it does not show your SSD, then it means RAID for SATA Operation is on. Simply open Bios -> System Configuration -> SATA Operation and set “AHCI” Refer Install Arch Linux with Full Disk Encryption (LVM on LUKS) for Dell XPS 13 – https://gist.github.com/chrisleekr/a23e93edc3b0795d8d95f9c70d93eedd
Linux Docker uses excessive memory
Issue: I have a 16G memory and configured swap as 16G. When start mysql docker, mysqld uses crazy amount of memory and make the system freeze. References: https://success.docker.com/article/node-using-swap-memory-instead-of-host-memory Solution
VirtualBox + Windows 7 USB storage not recognised
Environments: Arch Linux Oracle VM VirtualBox 6.0.8 + Extension Pack Issue: In “Device Manager”, Universal Serial Bus Controller driver is not installing correctly. USB storage is not showing. Driver not found for USB storage. Solution: Install Intel USB 3.0 eXtensible Host Controller Driver – https://downloadcenter.intel.com/download/21129/USB-3-0-Driver-Intel-USB-3-0-eXtensible-Host-Controller-Driver-for-Intel-7-Series-C216-Chipset-Family Then reboot References: https://forums.virtualbox.org/viewtopic.php?f=7&t=84793 https://dwaves.org/2016/10/11/linux-debian-host-virtualbox-5-x-windows-7-guest-usb-3-0-external-harddisk-hardware-verr_pdm_no_usb_ports/
Share clipboard between GNOME and Boxes (Windows)
Reference: https://help.gnome.org/users/gnome-boxes/stable/clipboard.html.en https://www.spice-space.org/download.html While express installation typically takes care of making shared clipboard available to you, express installation is not available for all operating systems. In such cases or if you choose manual installation, for shared clipboard to work the SPICE vdagent needs to be installed in the guest. In most Linux-based operating systems the…
Winetricks failed to install WMP9
References: https://www.hahwul.com/2018/08/install-kakaotalk-on-ubuntu-18.04.html https://www.playonlinux.com/en/topic-16540-MPSetup_wmp9_will_not_run.html Error message: Solution: Download MPsetup.exe from https://web.archive.org/web/20180404022333/http://download.microsoft.com/download/1/b/c/1bc0b1a3-c839-4b36-8f3c-19847ba09299/MPSetup.exe Save as /home/{username}/.cache/winetricks/wmp/MPSetup.exe Rerun winetricks
Backup/Restore pacman & yaourt packages list
Arch linux Backup pacman package list pacman -Qqet | grep -v “$(pacman -Qqg base)” | grep -v “$(pacman -Qqm)” > pacman-packages.txt Restore pacman packageĀ pacman -S –needed $(cat pacman-packages.txt) Backup yaourt package list pacman -Qm > yaourt-packages.txt Backup yaourt package yaourt -S –needed –noconfirm $(cat yaourt-packages.txt)
Error on installing `networkmanager-l2tp 1.2.10-3` in Arch Linux
References: https://gist.github.com/pastleo/aa3a9524664864c505d637b771d079c9 https://askubuntu.com/questions/981165/l2tp-ipsec-failing-to-connect-kubuntu-17-10 When run the command to install the package `networkmanager-l2tp 1.2.10-3`, an error occurs like below: $ yaourt -S networkmanager-l2tp … ==> Validating source files with md5sums… network-manager-l2tp-1.2.10.tar.gz … Passed network-manager-l2tp-1.2.10.tar.gz.asc … Skipped ==> Verifying source file signatures with gpg… network-manager-l2tp-1.2.10.tar.gz … FAILED (unknown public key 49A7787EF8D3C039) ==> ERROR: One or more…