====== Information ====== * FreeBSD ((https://www.freebsd.org/)) * 14.3-RELEASE * Alira = Dell Precision M6500 ((Legacy/MBR)) FreeBSD 14.3-RELEASE-p2 ====== Download ====== * https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.3/ FreeBSD-14.3-RELEASE-amd64-memstick.img ====== Installation Notes ====== ===== Partitioning ===== * https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-partitioning * Auto (ZFS) * ''NO'' Force 4K Sectors ((Samsung SSD 850 EVO 500GB)) * GPT (BIOS) DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT ada0 0:105 466G GPT - - ada0p1 0:107 512K freebsd-boot gpt/gptboot0 - ada0p2 0:109 2.0G freebsd-swap gpt/freebsd-swap SWAP ada0p3 0:111 464G freebsd-zfs gpt/freebsd-zfs ===== System Configuration ===== * https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-sysconf * [x] ''sshd'' * [x] ''powerd'' ===== System Hardening ===== * https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-hardening * ''[x]'' Everything ===== User ===== * Invite to other groups: ''wheel'' * Shell: ''sh'' ===== Network ===== * Static on Ethernet (''bge0'') ====== Time Sync ====== su - ntpd -g -q ====== Update ====== ===== FreeBSD ===== * https://docs.freebsd.org/en/books/handbook/cutting-edge/#freebsdupdate-security-patches su - freebsd-update fetch install sync && exit & reboot ===== pkg ===== su - pkg update -f pkg upgrade ====== Software ====== ===== General ===== su - pkg install en-freebsd-doc libressl unar wget ====== Settings ====== ===== loader.conf ===== ==== Alira ==== su - ee '/boot/loader.conf' autoboot_delay="1" hw.bge.allow_asf="0" security.bsd.allow_destructive_dtrace=0 kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" cryptodev_load="YES" zfs_load="YES" autoboot_delay="1" hw.bge.allow_asf="0" ===== 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" sshd_enable="YES" powerd_enable="YES" moused_nondefault_enable="NO" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="NO" zfs_enable="YES" nginx_enable="YES" php_fpm_enable="YES" mysql_enable="YES" ===== Drive Maintenance ===== ==== ZFS ==== * TODO [[bsd:notes:zfs_nas_format]] zpool status 'zroot' zpool status 'zroot' 'NAS' ====== Notable Folders and Commands ====== * See [[bsd;notes;misc]]