FreeBSD
Resources
Section titled “Resources”- A FreeBSD 11 Desktop How-to
- Documentation
- FreeBSD Foundation
- FreeBSD on AWS EC2
- GhostBSD
GhostBSD provides a simple desktop-oriented operating system based on FreeBSD with MATE and OS packages for simplicity. In addition, GhostBSD has a selection of commonly used software preinstalled to make it easy on your computing journey.
- Pf Firewall Tutorial
- iocage
A FreeBSD jail manager written in Python 3
- NomadBSD
NomadBSD is a persistent live system for USB flash drives, based on FreeBSD®. Together with automatic hardware detection and setup, it is configured to be used as a desktop system that works out of the box, but can also be used for data recovery, for educational purposes, or to test FreeBSD®’s hardware compatibility.
- Everything you want to know about Installing FreeBSD on a USB stick
- PC-BSD was a desktop operating system based on FreeBSD.
- The popular TrueNAS storage software was based on FreeBSD.
Recursive ACLs commands
Section titled “Recursive ACLs commands”I was just wondering if I can set or lists acls recursively on specific directories ?
I couldn’t find the usual ‘-R’ option for setfacl
Is there another way to do this?
Terminal window find . -type f -exec setfacl -m xxx {} \;or
Terminal window find . -type d -exec setfacl -d -m u::,g::,o::,g:rrr:rwx {} \;I hope you have got idea
- Source: Igor Robul
List open Internet or UNIX domain sockets
Section titled “List open Internet or UNIX domain sockets”See sockstat
Update procedure (host and jail)
Section titled “Update procedure (host and jail)”su -freebsd-update fetch installpkg update # IF THAT FAILS, FOLLOW INSTRUCTIONS HERE: https://wiki.freebsd.org/pkgngpkg upgrade -ypkg audit -Fportsnap fetchportsnap update # OR IF THAT FAILS: # portsnap extract/usr/local/sbin/portmaster -L --index-only | egrep '(ew|ort) version|total install'/usr/local/sbin/portmaster -a --no-confirm -b -d # OR IF THAT FAILS, run /usr/local/sbin/portmaster for each package listed in the previous commands outputezjail-admin update -uezjail-admin update -PNew jails - only once
Section titled “New jails - only once”In each jail, ONCE:
rm /usr/local/etc/pkg.confmkdir -p /usr/local/etc/pkg/reposnano /usr/local/etc/pkg/repos/FreeBSD.confContents of above file:
FreeBSD: {url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",mirror_type: "srv",enabled: yes}In each jail, ONCE:
echo 'WITH_PKGNG=yes' >> /etc/make.confpkg update && pkg upgradepkg2ngpkg upgradepkg install -y portmasterIn each jail:
pkg update && pkg upgrade -y && pkg audit -F/usr/local/sbin/portmaster -L --index-only | egrep '(ew|ort) version|total install'/usr/local/sbin/portmaster -a --no-confirm -b -d# OR IF THAT FAILS, run /usr/local/sbin/portmaster PACKAGE_NAME for each package listed in the previous commands outputpkg audit -FConsole mode scrolling
Section titled “Console mode scrolling”Is there a way to scroll the screen in console mode? Something like I do in Linux with Ctrl + Page Up?
FreeBSD offers a better solution than Linux: It uses the key on the keyboard that is intended to do this.
Have a look at the ScrL (Scroll Lock) key. Have you ever asked yourself what this key will do? Try it, press it! :-)
- Source: Fernando Apesteguía
See also
Section titled “See also”- ZFS