Ted's Gooey Online Brain

Ted has a bad habit of forgetting everything. He will spent many hours getting something going, or figuring something out only to completely forget how it was done mere hours afterwards.

This leaves Ted having to re-learn things all the time, or struggle to figure out exactly what whacky thing he did to get something working months or even years later.

Upgrade Devuan Chimaera to Daedalus

Before trying to upgrade, ensure that zstd is installed or initramfs will fail and will not rebuild again.

$ sudo apt-get install zstd

BACKUP SERVER IMAGE

Named chroot with Apparmor

Apparmor. Random silent failures? It's apparmor's fault.

Add the following to /etc/apparmor.d/local/usr.sbin.named

SMBv1 via PowerShell

Here are the steps to detect, disable and enable SMBv1 client and server by using PowerShell commands with elevation.

NB: The computer will need to be restarted to complete enabling or disabling SMBv1.

Add PHP via tdrnetworks apt

A stand-alone package has been created which negates the need for this additional repository from Debi/Devuan 11 onwards.

apt-get install systemd-standalone-tmpfiles

EVERYTHING BELOW IS DEPRECATED

Add PHP via sury apt

Install PHP as per Add apt signing keys to debian, the right way.

PHP is not kept up to date on distros but it can be done by using the "Sury" repo.

NB: If running Devuan, you're going to need to install a work-around package to get rid of the need for a full systemd install due to the dependency added by the sury site author to need the systemd-tmpfiles package which is used to delete temporary files. Really.

apt-get install systemd-standalone-tmpfiles

Add Google Chrome via apt

An example on how to add Google Chrome repo as per Add apt signing keys to debian, the right way.

NB: Installing google chrome will undo all of your good work. The google-chrome.list needs to be fixed to signify that it's signed correctly correctly!

Add apt signing keys to debian, the right way

There are many guides out there on how to add a key to Debian apt trusted signing keys.

The Right Way to Use Virtual Environments

Separate the environment from the source code.

Subscribe to Front page feed