How to add additional remote git repository

Though it’s not very common in my daily work, I occasionally need to add additional remote Git repositories mainly for pushing. In fact, I did this about 4 to 5 times already, and thought that it’d be the last time. Today, I need do this again, and I forgot! Currently, I have the following remote repository set for ‘origin’: ❯ git remote -v origin git@git.homeserver.local:kenno/ansible.git (fetch) origin git@git.homeserver.local:kenno/ansible.git (push) I wanted to add https://kenno@gitea.homeserver.local/kenno/ansible.git as the additional repo for pushing. ...

September 3, 2022 · 1 min · 193 words · kenno

How to reset Rhythmbox library

Rhythmbox stores its music database as an XML file located in ~/.local/share/rhythmbox/rhythmdb.xml. The easiest way to reset this database is to close the Rhythmbox program, and completely remove the rhythmdb.xml file. ➜ pkill rhythmbox ➜ rm ~/.local/share/rhythmbox/rhythmdb.xml ➜ rhythmbox & Reference: How does one clear the Rhythmbox music library database?

September 2, 2022 · 1 min · 50 words · kenno

How to check cpu temp on Debian and Ubuntu

This is just a quick note for me to display CPU temperature on one of my fanless device which runs Debian. Install the required package lm-sensors Run the sensors command. Here is a sample output: root@pve:~# sensors coretemp-isa-0000 Adapter: ISA adapter Package id 0: +45.0°C (high = +105.0°C, crit = +105.0°C) Core 0: +37.0°C (high = +105.0°C, crit = +105.0°C) Core 1: +37.0°C (high = +105.0°C, crit = +105.0°C) Core 2: +37.0°C (high = +105.0°C, crit = +105.0°C) Core 3: +37.0°C (high = +105.0°C, crit = +105.0°C) acpitz-acpi-0 Adapter: ACPI interface temp1: +27.8°C (crit = +119.0°C) Reference: ...

August 29, 2022 · 1 min · 105 words · kenno

How to upgrade FreeBSD from 13.0 to 13.1

I feel upgrading FreeBSD from 13.0 to 13.1 is so minor that it might not worth a blog post. The thing is, I just did this upgrade on one of my 2 nas servers a month ago, and now I forgot how to do this already. This post should be short, and I will include the reference(s) at the end if you’d like to learn more about this update process. ...

July 19, 2022 · 2 min · 307 words · kenno

How to Deploy Xen Orchestra Appliance on XCP-ng

This is a quick note on how I got the Xen Orchestra Appliance (XOA) on a new XCP-ng server. I know there are many guides out there, and in fact this is not my original content, but I want to capture what I did to get it working. Here are the steps I performed on my server in order to install XOA: [14:16 xcpng ~]# bash -c "$(curl -sS http://xoa.io/deploy)" Welcome to the XOA auto-deploy script! Network settings: IP address? [dhcp] Your XOA will be started using DHCP xoa SSH account: Password? (disabled if empty) xoa account is disabled, to enable it later see https://xen-orchestra.com/docs/troubleshooting.html#set-or-recover-xoa-vm-password Importing XOA VM... Booting XOA VM... Waiting for your XOA to be ready… Your XOA is ready at https://192.168.1.207/ Default UI credentials: admin@admin.net/admin VM UUID: 19e56589-ed0d-5a24-c845-75b40b344f3b [14:24 xcpng ~]# Next, login to the XOA at https://192.168.1.207 using the default credential to connect the XCP-ng server this: ...

July 10, 2022 · 1 min · 211 words · kenno