Proxmox Cannot Stop VM - Help!

I’ve been running a few VMs on Proxmox, including a Pfsense VM, for over a year without a single issue. This evening, however, I noticed that I wasn’t able to access any local DNS records due to the VM hosting DNS server was not responding. On checking the Proxmox console, I could see that that VM with ID 102 was definitely not responding. So, I tried to reboot, stop and even reset. None of which worked. Knowing that Proxmox is based on or using KVM, I guess there must be many commands that can be run directly on the Proxmox host itself. ...

April 25, 2023 · 2 min · 420 words · kenno

How to Run Redis in Podman Container

This is just a quick note on how to run Redis as a container using Podman on Ubuntu 22.04 (i.e. there will be no mention about SELinux.) Create a persistent volume for the Redis container I like storing all data/volume for containers under /srv/data. So I’ll create a sub-directory called redis-data under the same location. # mkdir -p /srv/data/redis-data Pull the Redis image # podman pull docker.io/redis Create and run the Redis container # podman run -d --name redis_server \ -v /srv/data/redis-data:/var/redis/data \ -p 6379:6379 redis Create systemd service for the Redis container I like creating a systemd service to enable/start the container. ...

February 22, 2023 · 1 min · 189 words · kenno

Installing Htop on Oracle Linux 8

I want to install htop on Oracle Linux 8.7. How hard could it be? TL;DR; - it’s not hard, but it took me a little while to get htop installed. I’m not new to (most) Linux distros, but this is the first time I’m using Oracle Linux. So, let’s start by showing some basic information. [root@catbus ~]# cat /etc/os-release | grep -i pretty PRETTY_NAME="Oracle Linux Server 8.7" [root@catbus ~]# rpm -qi htop package htop is not installed [root@catbus ~]# dnf search htop Last metadata expiration check: 0:23:03 ago on Mon 06 Feb 2023 11:32:58 AM GMT. No matches found. The above output shows that htop is not installed, and the package is not available in all enabled repositories. ...

February 6, 2023 · 3 min · 635 words · kenno

How to Install AWS CLI on RockyLinux

The awscli package is available from the EPEL repository, which is not enabled by default on RockyLinux. Enable the EPEL repo by installing epel-release pacakge. $ sudo dnf install epel-release Once the EPEL repo is successfully enabled, we can install awscli package. $ sudo dnf install awscli Enable and verify that the awscli is installed on the system. $ aws --version aws-cli/1.18.156 Python/3.6.8 Linux/4.18.0-425.10.1.el8_7.x86_64 botocore/1.18.15 As a bonus, here is how to configure the AWS credential. ...

January 31, 2023 · 1 min · 144 words · kenno

Check disk usage on root (/) partition excluding other partitions

While checking the root partition on my desktop today, I noticed that its usage is at 89% with just 6GiB free. For this reason, I wanted to find out what’s consuming most spaces and whether I can clean it up a bit. # df -h / Filesystem Size Used Avail Use% Mounted on /dev/mapper/fedora_watamem-root 56G 47G 6.3G 89% / The first two commands that come to my mind are du and ncdu. In this post, I’ll use ncdu to investigate the disk usages on the ‘/’ partitions. ...

September 22, 2022 · 3 min · 544 words · kenno