Documents
User documentation
Verify a download using the 64 character sha256sum
echo "e907d92eeec9df64163a7e454cbc8d7755e8ddc7ed42f99dbc80c40f1a138433 *ubuntu-24.04.4-live-server-amd64.iso" | shasum -a 256 --check
ubuntu-24.04.4-live-server-amd64.iso: OK
Search a file for specific text
grep "cache_effective_user" /usr/local/etc/squid/squid.conf
rc.d files
In BSD operating systems (FreeBSD, OpenBSD, NetBSD), files located in /etc/rc.d/ are shell scripts used for controlling system services and daemons at boot time, during shutdown, or manually by an administrator.
They are the core of the BSD "rc" startup system, managing services like networking, SSH, and system logging. ...
Get FreeBSD Version
freebsd-version -kru ; uname -aKU
15.0-RELEASE
15.0-RELEASE
15.0-RELEASE
FreeBSD HONE-SERVER 15.0-RELEASE FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC amd64 1500068 1500068
Security Updates
FreeBSD security patches may be downloaded and installed using the following commands. The first command will determine if any outstanding patches are available, and if so, will list the files that will be modified if the patches are applied. The second command will apply the patches....
Create SSL Certificates using Let's Encrypt
pkg install py311-certbot
certbot certonly --standalone
Destroy disk partitions / wipe disk from boot disk
Boot up using install CD/USB.
Choose Shell
Display disks using Geom to show device and size only:
geom disk list | grep -E "Geom name|Mediasize"
Geom name: nda0
Mediasize: 250059350016 (233G)
Geom name: nda1
Mediasize: 250059350016 (233G)...
FreeBSD Update/Upgrade Steps
Ensure the existing FreeBSD installation is up to date with respect to security and errata patches:
freebsd-update fetch
freebsd-update install
For jails from the host:
Get jail version first
jexec nginx freebsd-version
Get version: ...