A Self-Sufficient Backup System

January 10th, 2026 – 11:04 am
Tagged as: Computing Notes

What is the reason for a document on backing up one’s data?  The reason is that this is a critical thing that one must get handled, out of the way, and automated in order to possess peace of mind while undertaking a comprehensive work involving data.  For years I have searched for a great piece [...]

Zettelkasten and Writing with Joplin, BPG Fonts, Aider, Ollama, Deepseek r1 14B

December 28th, 2025 – 2:08 pm
Tagged as: Computing Notes

This is my first attempt at weekly posts. I created an organizational schema and setup the files to begin the work. One of the things this week that I accomplished was the use of Aider to create a rapid prototype of a paired comparison analysis tool that works on the console in any operating system [...]

QOwnNotes and Zettelkästen

December 17th, 2025 – 9:07 pm
Tagged as: Computing Notes

I love Joplin, but Joplin seems more like an incredible file cabinet and set of bookshelves. It is possible to link from one note to another, but a Joplin icon appears by that link in the text. It can also be cumbersome to navigate between multiple documents while working on one. Joplin recently added the [...]

Joplin AppImage Integration

December 7th, 2025 – 5:05 pm
Tagged as: Computing Notes

Joplin is the beautiful open source replacement for Evernote. Once upon a time, Evernote was a dream app, but then they sent out an atrocious terms of service change after turning their user interface into drab garbage compared to the old colorful beauty that existed in version 4 and before. Joplin is fully functional and [...]

LibreWolf 145 & Integrated AppImage

November 23rd, 2025 – 2:24 pm
Tagged as: Computing Notes

LibreWolf is a fork of Firefox that removes many of Mozilla’s bad decisions.1 A mirror of LibreWolf 145.0.1-2.x86_64 appimage is available here. Debian stable requires one to use a format other than the LibreWolf repo because as of 23 November, 2025 their site says the following: sudo apt update && sudo apt install extrepo -y [...]

Running old versions of Java Minecraft

October 22nd, 2025 – 5:27 pm
Tagged as: Computing Notes

One source for the Java 8 (1.8) runtime is the Oracle Archives page.  Another helpful one is the standard Java download page for the desktop Java Runtime Environment, JRE. I downloaded the Linux x86 (32-bit) version even though the host is a 64bit Linux.  The reason for that is that at some point in the [...]

.ssh config for Windows and Linux

October 18th, 2025 – 7:26 pm
Tagged as: Computing Notes

The ~/.ssh/config file works for OpenSSH on Windows and for SSH on Linux. To prevent disconnects, add the keepalive messages for all hosts. For specific hosts that use a specific key type, such as RSA on CentOS 6, add the specific algorithm via the HostkeyAlgorithms + functionality. To add a private key for SSH key [...]

Switch a data volume on Linux

October 17th, 2025 – 7:10 pm
Tagged as: Computing Notes

How to move /var/www/html/mydata/ to a new disk: 1. fdisk /dev/nvme4n1      1.i. create a new DOS partition and write it to disk 2. mkfs -t ext4 /dev/nvme4n1p1 3. lsblk -f (and copy the UUID for use in FSTAB)     3.i. a0e2e1e7-4034-4876-a005-ae5fcca39751 4. mount /dev/nvme4n1p1 /mnt 5. shopt -s dotglob 6. rsync -aulvXpogtr /var/www/html/mydata/* /mnt 7. edit [...]

Debian 12 Sources

September 6th, 2025 – 8:38 pm
Tagged as: Computing Notes

This is a listing of Debian sources for future reference.  Debian maintains  an archive of older versions on the Distribution Archives website.  It may be necessary at some point in the future to change the bullseye information below so that it points to the distribution archives. /etc/apt/sources.list.d/vivaldi.list ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # [...]

Monitoring network connections on Linux

November 25th, 2024 – 9:32 am
Tagged as: Computing Notes

Here is a great TCP/UDP Port finder tool.   This was useful for finding out which port “cbt” was in my Iftop listing.  It was 7777, which was in use for the Unreal Engine on an Ark: Survival Evolved game server. Iftop is the best real time network monitoring tool for Linux that has graced my [...]

Install cron on Fedora 38

October 21st, 2024 – 9:38 pm
Tagged as: Computing Notes

dnf install cronie systemctl enable crond.service systemctl start crond.service

Building an anti-bitrot bunker

October 20th, 2024 – 12:18 am
Tagged as: Computing Notes

When I first obtained a CompTIA A+ certification some time ago, the concept of bit rot related to what happens to software reliability as the number of updates to the system increases. Over time, software that worked in years past ceases to work as new system updates block system calls or change permissions and files [...]

Create a systemd service for YaCy

September 22nd, 2024 – 12:08 pm
Tagged as: Computing Notes

Create file /usr/lib/systemd/system/yacy.service and add this content: [Unit] Description=YaCy search server After=network.target Restart=always [Service] Type=forking User=yacy ExecStart=/opt/yacy/startYACY.sh ExecStop=/opt/yacy/stopYACY.sh Restart=on-failure RestartSec=1s [Install] WantedBy=multi-user.target Then use systemctl enable yacy.service.

VirtualBox Disk Conversion

June 10th, 2024 – 1:58 am
Tagged as: Computing Notes

To convert a dynamic VirtualBox disk to a Fixed disk, run the following command: vboxmanage clonemedium disk /path/disk.vdi /path/newdisk.vdi -variant Fixed using –variant Standard would create a dynamic disk.  Then open the virtual machine and remove the existing disk and attach the new disk.  Then use the media manager to delete the unused media. Use [...]

Debian 12 PATH and X11

May 18th, 2024 – 4:46 am
Tagged as: Computing Notes

A few quirks with Debain 12 include that path not being set in similar fashion to Fedora, Ubuntu, and other distributions.  One must regularly set export PATH=$PATH:/usr/sbin In Gnome, applications will open on the server instead of the client when using X11 forwarding.  This will occur even though xcalc opens on the client normally.  The [...]

Move /var to new disk

May 18th, 2024 – 4:40 am
Tagged as: Computing Notes

To add a new virtual disk and move the existing Linux partition to the new disk use the following process. The process assumes standard partitions without the use of Logical Volume Manager (LVM). 1. Backup the existing VM. One good way to do that is to clone the Virtual Machine and use the procedure on [...]

Install Java 21 in Debian 12

May 4th, 2024 – 11:50 pm
Tagged as: Computing Notes

Minecraft Java edition lost compatibility with Java 17 between 1.20.4 and 1.20.6. Version 1.20.4 works with Java 17, and 1.20.6 no longer works with Java 17.  Several guides appear online for installing downloaded packages of the 64-bit runtime from Oracle or other sources.  Since Debian offers 32-bit server operating systems in the present day, the [...]

Print environmental variables in Bash

April 2nd, 2024 – 11:06 pm
Tagged as: Computing Notes

Use printenv to see what environment variables are set. #!/usr/bin/env bash printenv set -x

.nanorc in CentOS

April 2nd, 2024 – 11:03 pm
Tagged as: Computing Notes

Edit $HOME/.nanorc to contain the following: include /usr/share/nano/java.nanorc include /usr/share/nano/man.nanorc include /usr/share/nano/nanorc.nanorc include /usr/share/nano/python.nanorc include /usr/share/nano/sh.nanorc include /usr/share/nano/html.nanorc include /usr/share/nano/perl.nanorc include /usr/share/nano/php.nanorc CentOS 7 uses a much older version of nano than the one that presently ships on most distributions. The php.nanorc on newer The following should appear in /usr/share/nano/php.nanorc on CentOS7 to allow syntax [...]

The .bashrc file I use on CentOS6

April 2nd, 2024 – 11:00 pm
Tagged as: Computing Notes

The .bashrc file I use on CentOS6   # .bashrc # User specific aliases and functions alias rm=’rm -i’ alias cp=’cp -i’ alias mv=’mv -i’ # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # system variables export VISUAL=nano # sets nano as the crontab editor export GZIP=-9 # maximum compression [...]

The best Alias for ls

March 2nd, 2024 – 11:14 pm
Tagged as: Computing Notes

The best alias for ls is ls –halF It is easy to remember, and produces easy to read output with human readable file sizes and / marks present by the directory names..

Install iftop on Oracle Linux 9

February 23rd, 2024 – 4:18 pm
Tagged as: Computing Notes

dnf install oracle-epel-release-el9 dnf install iftop iptraf is already in the default repositories.

A good version of ll

February 20th, 2024 – 3:37 am
Tagged as: Computing Notes

A really good version of the ll alias is: ls –lahF, although on some versions ls –lahp looks better than F.

LS alias and Mozilla DRM bar

February 11th, 2024 – 3:11 am
Tagged as: Computing Notes

Some useful aliases that are not always preconfigured on every Linux version: alias ll=’ls -alF’ alias la=’ls -A’ alias l=’ls –CF’ To eliminate the DRM warning in Firefox and Librewolf without enable DRM, add this to “userChrome.css”: notification[value="drmContentDisabled"]{ display:none !important; } toolkit.legacyUserProfileCustomizations.stylesheets must be set to true in about config.

Double Sided Scan and PDF

February 1st, 2024 – 1:15 pm
Tagged as: Computing Notes

The following script scans PDFs via an auto-document feeder in Hp-Lip and then collates the pages to the correct order when there are reverse sides. No scans will be saved if no data is transmitted for the second set of scans. The second set of scans is the reverse of the pages. #!/usr/bin/env bash YMD=$(date [...]

Automated Database Restart

January 21st, 2024 – 7:41 pm
Tagged as: Computing Notes

Here is a script that checks to ensure the database is running and restarts the service if it is not running.  This was used on a very low memory server to ensure a database remained operational, despite it sometimes crashing due to out of memory errors. #!/bin/bash timestamp=”$(date)” systemctl stop httpd && echo “${timestamp}” Stopping [...]

AppImage Integration

January 21st, 2024 – 7:12 pm
Tagged as: Computing Notes

To install AppImages and integrate them with the desktop environment like a conventional package,  use the AppImage Launcher. LibreWolf’s documentation contains a how-to document on using AppImage Launcher.

Functions in Bash

January 21st, 2024 – 2:57 pm
Tagged as: Computing Notes

This is the code for a function in Bash script. #!/bin/bash # Define a function greet() { echo “Hello, $1″ } # Call the function with “World” as the argument greet “World”

Looping through filenames in Bash

January 21st, 2024 – 1:59 am
Tagged as: Computing Notes

To loop through the subdirectories in a folder, when those subdirectories may contain spaces in the file names, use the following procedure. OLD_IFS=$IFS && IFS=$’\n’ for directory in $HOME/somefolder/*/; do echo “some code here” done IFS=$OLD_IFS  

Bash and *nix Note no. 2

January 10th, 2024 – 6:18 am
Tagged as: Computing Notes

  This document contains some notes on .bashrc for use with Linux systems. alias ll=’ls -alF’ alias la=’ls -A’ alias l=’ls –CF’ if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi The preceding two blocks come standard on Ubuntu as of version 2022.04. One tweak for WSL2 on Windows might be the addition of this [...]

Bash and *nix Note no. 1

July 7th, 2023 – 11:41 pm
Tagged as: Computing Notes

7 July 2023: Ubuntu 22.04′s update notifier seems to not include the option to configure any settings, at least after certain conditions exist on a particular system.  To stop the notifier from appearing.  To stop the notifier from appearing use sudo apt-get remove update-notifier 7 July 2023: There are non-snap builds of ungoogled-chromium for Ubuntu [...]

Minecraft Tweaks

March 16th, 2023 – 2:34 am
Tagged as: Computing Notes

To launch java -Xms2048M -Xmx2048M –add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar server-1.21.1.jar nogui

Rudimentary versioning system

October 19th, 2020 – 11:14 am
Tagged as: Computing Notes

Some time ago, Python 2 was the default language for use with Linux and Gnome 3. A set of extensions for Gnome, called Nautilus Python existed which allowed one to create customized right click menus. One of these was called “Historical Copy” and it created a lovely copy of the file with a timestamp inserted [...]

Persistent Notification in Gnome 3

August 15th, 2020 – 11:18 am
Tagged as: Computing Notes

This is a GTK notification in Linux that remains on screen until it is clicked. #!/usr/bin/python3 import gi gi.require_version(‘Notify’, ’0.7′) from gi.repository import Notify gi.require_version(‘Gtk’, ’3.0′) Notify.init("Hello world") Hello = Notify.Notification.new("Hello world – the heading", "This is an example notification.", "dialog-information") # https://www.devdungeon.com/content/desktop-notifications-linux-python Hello.set_urgency(2) # Highest priority Hello.show() Last updated and tested 12 December 2020 [...]

Synchronize time on CentOS 6

December 27th, 2011 – 8:45 pm
Tagged as: Computing Notes

This will start the time service and synchronize the clocks on CentOS 6. yum install ntp chkconfig ntpd on ntpdate pool.ntp.org /etc/init.d/ntpd start