Differences between revisions 2 and 9 (spanning 7 versions)
Revision 2 as of 2019-12-10 09:06:10
Size: 130
Editor: Sciuro
Comment:
Revision 9 as of 2020-02-27 12:29:22
Size: 858
Editor: Sciuro
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
= Item 1 = = Install =
== Diske encryption ==
Thanks [[https://www.c0ffee.net/blog/freebsd-full-disk-encryption-uefi/|c0ffee.net]] for his description!
{{{
Line 8: Line 11:
== Subitem 1.1 ==
Text
}}}

= Configuration =


= Packages and updates =
== Remove packages ==
To remove a package with all his dependencies:
Line 11: Line 20:
for i in `ls`; do echo $i; done pkg remove PKGNAME
pkg autoremove
Line 13: Line 23:

== 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
}}}

= Tools =
== Network ==
Show all open ports and there processes:
{{{
sockstat -4 -l
}}}

== Firewall ==
Show rules:
{{{
pfctl -sr
}}}

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

Tools

Network

Show all open ports and there processes:

sockstat -4 -l

Firewall

Show rules:

pfctl -sr

Howto/FreeBSD (last edited 2020-04-28 10:48:53 by Sciuro)