I tried to connect the KVM VM from another host. KVM Host (HostA) 192.168.0.100 KVM VM (VM) 192.168.122.100 Another Host (HostB) 192.168.0.200 Problem I wanted to connect VM from HostB. Because the HostA is using WiFi, I can’t use bridge…
LXC : login failed
Can’t login any LXC containers, even though enter correct password. # create new container $ lxc-create -n ubuntu-test -t download — –dist ubuntu –release focal –arch amd64 # start the container $ lxc-start -n ubuntu-test # connnet to the console,…
Xen : Nested VM
These days I created Xen Hypervisor as a VM for studying. I choosed Ubuntu as a Dom0 distro, followed the Wiki. To use HVM DomU, I have to set host cpu emulation explicitly because Dom0 VM needs Hardware-Assisted Virtualizaton of…
Raspberry Pi : Create SWAP volume on LVM
Adding a swap volume on LVM. After that add following line to /etc/fstab. Now it works!
Raspberry Pi : Mount LVM volumes
I wanna use Raspberry Pi as File server, Media server, Cache server and etc. So I separated /var, /opt, /home directories to LVM volumes as following steps. 1.Create LVM volumes by these steps. 2.Mount LVM volumes from Pi and move…
NFS mount on boot(Arch Linux)
At first, I added the following line to /etc/fstab. Then I could mount it by a command “mount -a”. 192.168.x.x:/mnt/data /mnt/nfs nfs defaults 0 0 However, it isn’t mounted on boot automatically. I searched google, and it might be a…
fctix + mozc(Arch Linux)
Once I installed fctix-mozc package and make ~/.xprofile following the wiki. Then I noticed I can enter Japanese inside only shell console, but can’t in other applications like firefox. The problem is that I only installed one package of fctix-im package…
Ubuntu 16.04: Can’t login Desktop (infinite loop)
One day, suddenly it turned that I couldn’t login desktop even if I enter correct password. Stackoverflow said that the reason is ~/.Xauthority permisson. $ ls -lA ~/.Xauthority -rw——- 1 aminami aminami 51 4月 26 21:11 .Xauthority $ chown {user_name}:{user_name}…
Linux: How to change hostname permanently in CentOS
To change hostname permanently in CentOS, use the following hostnamectl command (not hostname). hostnamectl set-hostname myhostname –static
Linux: Resize wubi’s virtual disk
1. Check the wubi’s virtual disk file path sudo losetup /dev/loop0 2. Increase the disk file’s size sudo dd if=/dev/zero bs=1MiB of=/path/to/file conv=notrunc oflag=append count=xxx * xxx is the number of MiB you want to add 3. Reread disk file…