Differences between revisions 2 and 13 (spanning 11 versions)
Revision 2 as of 2019-12-10 09:06:10
Size: 130
Editor: Sciuro
Comment:
Revision 13 as of 2020-04-28 10:48:53
Size: 1735
Editor: Sciuro
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl All:
Line 6: Line 5:
= Item 1 = = 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.
Line 8: Line 8:
== Subitem 1.1 ==
Text
(source: [[WikiPedia:FreeBSD|WikiPedia]])

= Install =
== Disk encryption ==
Thanks [[https://www.c0ffee.net/blog/freebsd-full-disk-encryption-uefi/|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 ==
[[https://www.transip.eu/knowledgebase/entry/2866-adding-ipv4-ipv6-address-freebsd/|Adding an ip alias]]

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

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

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

Adding an ip alias

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

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