Table of Contents
For FreeBSD Noobs
Derivates
Derivate FreeBSD | Use | Link | |
---|---|---|---|
FreeBSD | Easy use | https://www.freebsd.org/ | |
TrueOS | Easy use | https://www.trueos.org/ | |
GhostBSD | Easy use | http://www.ghostbsd.org/ | |
DesktopBSD | Easy use | http://www.desktopbsd.net/ | |
HardenedBSD | Easy use | https://hardenedbsd.org/ | |
MidnightBSD | Easy use | http://www.midnightbsd.org/ | |
TrustedBSD | Easy use | http://www.trustedbsd.org/ | |
Frenzy | Easy use | http://frenzy.org.ua/eng/ | |
Raspbsd | Easy use | http://www.raspbsd.org/ | |
Freesbie | Easy use | http://www.freesbie.org/ | |
MfsBSD | http://mfsbsd.vx.sk/ |
Firewall
Firewall | Use | Link | |
---|---|---|---|
BSD Router Project | https://bsdrp.net/ | ||
PfSense | https://www.pfsense.org/ | ||
OpenSense | https://opnsense.org/ |
FreeBSD is not Windows
FreeBSD Myth (For linux users)
Comparing BSD and Linux
Tips
How To Get a GUI In FreeBSD - Beginner Class
FreeBSD 11.1 Installation + GNOME Desktop + Apps + Guest Additions on Oracle VirtualBox [2017]
FreeBSD 11.1 Installation + XFCE Desktop + Apps + Guest Additions on Oracle VirtualBox [2017]
Avoiding Linuxisms
Quick start for Linux users
https://www.freebsd.org/doc/en/articles/linux-users/article.html
Purpose | FreeBSD command | Linux® command (Red Hat) | Linux® command (Debian) |
---|---|---|---|
Install package from remote repository | pkg install package | yum install package | apt-get install package |
Install local package | pkg add package | rpm -ivh package | dpkg -i package |
List installed packages | pkg info | rpm -qa | dpkg -l |
List PCI devices | pciconf | lspci | lspci |
List loaded kernel modules | kldstat | lsmod | lsmod |
Load/Unload kernel modules | kldload / kldunload | modprobe | modprobe |
Trace system calls | truss | strace | strace |
FreeBSD handbook
Support Laptops
First step after installation FreeBSD
The first step after installation system is good download security patches for the operating system and download new files for operating system and install.
freebsd-update fetch install shutdown -r now
Next step is to update ports collection for the operating system.
for updating information for FreeBSD ports developers is /usr/ports/CHANGES
portsnap auto or portsnap fetch portsnap extract
Update ports is east command
portsnap fetch update
Security audit for package and FreeBSD
pkg audit -F
Apply security patches FreeBSD update, upgrade
Apply security patches
freebsd-update fetch freebsd-update install
Upgrade FreeBSD
freebsd-update fetch freebsd-update upgrade -r 11.2-RELEASE or other version freebsd-update install
Desktop Environments
FreeBSD has several desktop environments - Xfce4, Mate, Gnome3, Cinnamon, KDE, Lumina
How install Mate desktop
pkg install mate-desktop mate xorg slim
Enable components for kernel in etc/rc.conf
You need enable this component:
zfs_enable="YES" - if you use ZFS file system hald_enable="YES" dbus_enable="YES" slim_enable="YES"
if you want to enable crash dump, if don't you write “NO”
dumpdev="AUTO"
Next step is create file .xinitrc in /root/ and /home/user/ with command
exec mate-session
and reboot.
How install Xfce desktop
pkg install xfce4-desktop xfce xorg slim
Enable components for kernel in etc/rc.conf
You need to run desktop
zfs_enable="YES" - if you use ZFS file system hald_enable="YES" dbus_enable="YES" slim_enable="YES"
if you want to enable crash dump, if don't you write “NO”
dumpdev="AUTO"
Next step is create file .xinitrc in /root/ and /home/user/ with command
exec startxfce4
and reboot.
How to set slim theme
# pkg install slim-themes # cd /usr/local/share/slim/themes # fetch http://daemon-notes.com/downloads/assets/themes/slim-freebsd.tar.bz2 # tar jxvf slim-freebsd.tar.bz2 # rm slim-freebsd.tar.bz2 Edit and set /usr/local/etc/slim.conf #current_theme default current_theme freebsd