VirtualBox Disk Conversion

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

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 Note

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 Note

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 Note

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 [...]

The best Alias for ls

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

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..

A good version of ll

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

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 Note

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 Note

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 Note

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 Note

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.