Table of Contents

Information

FreeBSD 14.2-RELEASE-p3

TODOs

Download

FreeBSD-14.2-RELEASE-amd64-memstick.img

Installation Notes

Partitioning

System Configuration

System Hardening

User

Network

Update

FreeBSD

su -
freebsd-update fetch install
sync && reboot

pkg

su -
pkg update --force
pkg upgrade

AIO

freebsd-update fetch install && pkg update --force && pkg upgrade
su - 'root' -c 'freebsd-update fetch install && pkg update --force && pkg upgrade'

SSH

ssh '192.168.1.152' -t "su - 'root' -c 'freebsd-update fetch install && pkg update --force && pkg upgrade'"

Software

General

su -
pkg install aria2 en-freebsd-doc htop libressl unar wget

Settings

Groups

su -
pw groupmod 'operator' -m 'espionage724'

loader.conf

Alira

su -
ee '/boot/loader.conf'
security.bsd.allow_destructive_dtrace=0

# General
autoboot_delay=2

# Ethernet
hw.bge.allow_asf=0

# End

rc.conf

Alira

su -
ee '/etc/rc.conf'
clear_tmp_enable="YES"
syslogd_flags="-ss"
hostname="Alira"
ifconfig_bge0="inet 192.168.1.152 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
ifconfig_bge0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
moused_nondefault_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
nginx_enable="YES"
php_fpm_enable="YES"
mysql_enable="YES"

Network

local-unbound DNS

cat '/etc/rc.conf' | grep 'local_unbound_enable'
cat '/etc/resolv.conf'
su -
ee '/etc/resolv.conf'
nameserver 127.0.0.1
options edns0

Secure Shell

Drive Maintenance

ZFS

Notable Folders and Commands