Miscellaneous Notes

Creating Header Images for the web site

I choose an image.  For the text, I go to www.cooltext.com, find a font I like, and create the text with a transparent background.  140 point or higher is usually how large it needs to be.

I download the text image to my PC and then head to https://pixlr.com/editor, where I load the graphic image and then open a new layer and select the text image that goes over top the graphic image.  I’m still not the best at moving it around; it’s a work in progress.  I save the combined image to my PC and then upload it to the web site for use.

Creating/extracting zip files with 7-Zip

Create or add to an archive:

7z a -p <zipfile name> <file(s) to add>

Create an archive, recursing the directory specified:

7z a -rp <zipfile name> <file(s) to add>

Extract the archive:

7z x <zipfile name>

Resurrecting a USB Stick

Connect your flash drive to the computer at first, and make sure it can be detected.

1. Click “start” and type “command prompt”.

2. Then, right click “command prompt” and select “run as administrator”.

3. After that, type “diskpart” and press “Enter”. Then execute the below commands in turn:

  • list disk
  • select disk n
  • clean
  • create partition primary
  • format fs=fat32 quick: If you want to format to NTFS, type “format fs=ntfs quick”.

Ubuntu Installation checklist

Information on how to bypass Google Fiber’s Network Box

Monitor Mount Possibilities

Option 1

Option 2

Option 3

See site for further options

Creating an HTTP redirect in LetsEncrypt/nginx on Unraid

Determining the properties of a video


Migrating VMs from VirtualBox to UnRAID

Setup a Raspberry Pi as a backup server

Plex/OTA stuff to look into

argus tv

A high level example of interfacing with Nextcloud

##Open terminal in container
docker exec -it nextcloud bash

##Turn on maintenance mode
sudo -u abc php7 /config/www/nextcloud/occ maintenance:mode --on

##Backup current nextcloud install
mv /config/www/nextcloud /config/www/nextcloud-backup

##Grab newest nextcloud release and unpack it
wget https://download.nextcloud.com/server/releases/latest.tar.bz2
tar -xvf latest.tar.bz2 -C /config/www

##Copy across old config.php from backup
cp /config/www/nextcloud-backup/config/config.php /config/www/nextcloud/config/config.php

##Now Restart docker container
docker restart nextcloud

##Open terminal in container
docker exec -it nextcloud bash

##Perform upgrade
sudo -u abc php7 /config/www/nextcloud/occ upgrade

##Turn off maintenance mode
sudo -u abc php7 /config/www/nextcloud/occ maintenance:mode --off

## Now Restart docker container
docker restart nextcloud

Installing a Windows 10 VM on UnRaid

Ensure that the BIOS chosen is SeaBIOS and not OVMF.
Installing Windows 10 in a VM on UnRaid requires installing 3rd party drivers. When the install
process gets to the point of specifying the hard drive to install on, there will be no selections
available. At this point, install the following drivers:

  • Balloon
  • NetKVM
  • vioserial
  • viostor

Install and Update All Your Programs at Once at www.ninite.com

Cookbook for passing client IP address to systems behind a reverse proxy

On the reverse proxy:

  • Ensure that websockets support is enabled

On the host:

1. Create /etc/apache2/conf-available/remoteip.conf with the following contents:

RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy x.x.x.x (replace w/ IP address of trusted proxy)

2. ln /etc/apache2/conf-available/remoteip.conf /etc/apache2/conf-enabled/remoteip.conf

3. ln /etc/apache2/mods-available/remoteip.load /etc/apache2/mods-enabled/remoteip.load

4. Edit /etc/apache2/apache2.conf and find the LogFormat lines.
    Change each occurrence of %h to %a.

5. Restart apache.