I encountered a problem when I tried to run a script and pass a JSON string as an argument on Powershell like Problem The problem is the JSON string was parsed and split incorrectly. The double quotes are erased by…
libvirt : firewall blocks forwarding
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…
Plex Media Server on Raspberry Pi
Thanks to besn0847/arm-plex docker image, it’s possible to run Plex Media Server on Raspberry Pi. This docker image is using third party package. Here is ansible task that gets docker image and runs container. – hosts: pi become: true – tasks -…
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…
Let’s encrypt renew
When I renew my certificate by the following command with running nginx, and error occured. ./certbot-auto renew –dry-run Problem binding to port 443: Could not bind to IPv4 or IPv6.. Skipping. As the document says, adding –webroot and -w…
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…