Contents
Description
FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular open-source BSD operating system, accounting for more than three-quarters of all installed BSD systems.
(source: WikiPedia)
Install
Disk encryption
Thanks c0ffee.net for his description! After a long time of trying the best option, I ended up using ZFS in combination with disk encryption. This works out-of-the-box during the installation. Downside, you have to learn how ZFS works...
Configuration
Network
Packages and updates
Remove packages
To remove a package with all his dependencies:
pkg remove PKGNAME pkg autoremove
Update base OS
To update the baseOS with security updates:
freebsd-update fetch freebsd-update install
To update a minor release
freebsd-update fetch freebsd-update install freebsd-update upgrade -r 12.1-RELEASE freebsd-update install reboot freebsd-update install freebsd-update install reboot
Packages update
To show with packages need to be updated:
pkg version -U -R -L \=
pkg update pkg version -vIL= pkg audit -F pkg upgrade
Tools
Network
Show all open ports and there processes:
sockstat -4 -l
Firewall
Show rules:
pfctl -sr