Resizing KVM qcow2 Image

I’m quite sure I’d resized qcow2 images before. However, when I needed to resize an image today for my VM at home, I totally forgot about it. Well, this means it’s a good excuse for me to just write down a few commands to help me in the future. If you try to follow a long, two things you wanna keep in in mind: do it at your own risk, and always backup your data before you make change to it. Having said, that’s get started. ...

December 25, 2021 · 5 min · 902 words · kenno

bash: append_path: command not found

I have a few Raspberry Pi at home, they’re used for specific purposes such as Kodi media player, Pi-hole server, and a backup DNS/DHCP server. Recently, I need to turn on the backup DNS/DHCP server, which is one of the Raspberry Pi devices running Arch Linux. When I logged into to the server, I saw a message complaining that bash: append_path: command not found. It’s been so long since this little server, so I can’t remember what happened last time. ...

December 9, 2021 · 3 min · 596 words · kenno

Set default window's dimensions for Alacritty

I haven’t really posted anything new recently as I’ve just had a big transision in my career. I may or may not write about this in the future, as I don’t think it’s that relevant to you. Anyway, I’ve been having this trouble with window size of Alacritty being too small on launched.First what is Alacritty? It’s an terminal emulator written in Rust. It also makes use of GPU-acceleration, which should improve some performance in theory. I tried to make change to the config file of Alacritty, and it didn’t seem to work so I wasn’t sure I made the right change. ...

November 17, 2021 · 1 min · 201 words · kenno

Configure Interface Teaming Using Nmcli

If you want to know what is Network Teaming, please check out this link. In this post, I’m going to just list all the commands required to setup a team interface. Let’s list the available network interfaces I have on my server. $ nmcli dev status DEVICE TYPE STATE CONNECTION enp1s0 ethernet connected enp1s0 enp7s0 ethernet connected student virbr0 bridge connected (externally) virbr0 enp8s0 ethernet disconnected -- enp9s0 ethernet disconnected -- lo loopback unmanaged -- virbr0-nic tun unmanaged -- From the above output, you probably can guess that I’m going to use enp8s0 and enp9s0 to create a team network interface. ...

August 31, 2021 · 5 min · 884 words · kenno

What does source (command) do?

If you’re a seasoned Linux user, you may have used source command once or twice before. You might also have used ., the exactly same command, instead. Both source and . are shell builtin commands. I have used this many times, but I only used for one purpose which is to read the environment variables from a file to the current shell environment. So, when I was asked during a job interview, “What does source do?”, the only answer I could tell them was - I personally only use source command to read the variables into the current shell environment. ...

August 30, 2021 · 2 min · 401 words · kenno