|
Size: 782
Comment:
|
Size: 951
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 7: | Line 7: |
| == Diske ncryption == | == Diske encryption == |
| Line 12: | Line 12: |
= Configuration = |
|
| Line 40: | Line 43: |
| == Packages update == {{{ pkg update pkg version -vIL= pkg audit -F pkg upgrade }}} |
|
| Line 46: | Line 57: |
== Firewall == Show rules: {{{ pfctl -sr }}} |
Contents
Install
Diske encryption
Thanks c0ffee.net for his description!
Configuration
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
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