December 14, 2022

Enable kvm nested virtualization function on Linux

kvm supports nested virtualization, that is, virtual machines can be created within virtual machines. This article mainly introduces how to enable the nested virtualization function of KVM in CentOS7 using Intel processors. Kvm is mainly implemented through the kernel module, so we check whether the system has enabled kvm nested virtualization, only need: You can […]

November 28, 2022

vi replace string

Vi/vim can use the :s command to replace strings. In the past, only one format was used to replace the full text. Today, I found that there are many ways to write this command, and record a few here for future reference.:s/vivian/sky/ Replace the first vivian in the current line with sky:s/vivian/sky/g Replace all vivian […]