User Tools

Site Tools


project:kernellab:bsd:introductiontobsd
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


project:kernellab:bsd:introductiontobsd [2019/07/16 10:24] (current) – created introduction to freebsd os maxfx
Line 1: Line 1:
 +====== For FreeBSD Noobs ======
 +
 +====== Derivates ======
 +
 +^  Derivate FreeBSD  ^  Use  ^  Link  ^   |
 +|FreeBSD      |Easy use  |[[https://www.freebsd.org/|https://www.freebsd.org/]]  |   |
 +|TrueOS       |Easy use  |[[https://www.trueos.org/|https://www.trueos.org/]]  |   |
 +|GhostBSD     |Easy use  |[[http://www.ghostbsd.org/|http://www.ghostbsd.org/]]  |   |
 +|DesktopBSD   |Easy use  |[[http://www.desktopbsd.net/|http://www.desktopbsd.net/]]  |   |
 +|HardenedBSD  |Easy use  |[[https://hardenedbsd.org/|https://hardenedbsd.org/]]  |   |
 +|MidnightBSD  |Easy use  |[[http://www.midnightbsd.org/|http://www.midnightbsd.org/]]  |   |
 +|TrustedBSD   |Easy use  |[[http://www.trustedbsd.org/|http://www.trustedbsd.org/]]  |   |
 +|Frenzy       |Easy use  |[[http://frenzy.org.ua/eng/|http://frenzy.org.ua/eng/]]  |   |
 +|Raspbsd      |Easy use  |[[http://www.raspbsd.org/|http://www.raspbsd.org/]]  |   |
 +|Freesbie     |Easy use  |[[http://www.freesbie.org/|http://www.freesbie.org/]]  |   |
 +|MfsBSD                |[[http://mfsbsd.vx.sk/|http://mfsbsd.vx.sk/]]  |   |
 +
 +====== Firewall ======
 +
 +^  Firewall  ^  Use  ^  Link  ^   |
 +|BSD Router Project|   |[[https://bsdrp.net/|https://bsdrp.net/]]  |   |
 +|PfSense  |   |[[https://www.pfsense.org/|https://www.pfsense.org/]]  |   |
 +|OpenSense  |   |[[https://opnsense.org/|https://opnsense.org/]]  |   |
 +
 +
 +==== FreeBSD is not Windows ====
 +
 +[[http://vtbsd.net/notwindows.html|http://vtbsd.net/notwindows.html]]
 +
 +==== FreeBSD Myth (For linux users) ====
 +
 +[[https://wiki.freebsd.org/Myths|https://wiki.freebsd.org/Myths]]
 +
 +[[https://www.freebsd.org/advocacy/myths.html#closed-model|https://www.freebsd.org/advocacy/myths.html#closed-model]]
 +
 +
 +==== Comparing BSD and Linux ====
 +
 +[[https://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html|Explaining BSD]]
 +
 +[[https://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/comparing-bsd-and-linux.html|Comparing BSD and linux]]
 +
 +
 +==== Tips ====
 +[[https://www.youtube.com/watch?v=YncqBz0bZcQ|How To Get a GUI In FreeBSD - Beginner Class]]
 +
 +[[https://www.youtube.com/watch?v=MZaZjK-cOYc|FreeBSD 11.1 Installation + GNOME Desktop + Apps + Guest Additions on Oracle VirtualBox [2017] ]]
 +
 +[[https://www.youtube.com/watch?v=qKQFIPent8o|FreeBSD 11.1 Installation + XFCE Desktop + Apps + Guest Additions on Oracle VirtualBox [2017] ]]
 +
 +[[https://websetnet.com/how-to-install-freebsd-10-2-with-mate-desktop/|FreeBSD Installation + MATE Desktop + UFS]]
 +
 +
 +
 +====== Avoiding Linuxisms ======
 +
 +[[https://wiki.freebsd.org/AvoidingLinuxisms|https://wiki.freebsd.org/AvoidingLinuxisms]]
 +
 +==== Quick start for Linux users ====
 +
 +[[https://www.freebsd.org/doc/en/articles/linux-users/article.html|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 ====
 +
 +{{:project:freebsd:book.pdf|FreeBSD handbook}}
 +
 +[[https://wiki.freebsd.org/ZFSTuningGuide|ZFS Tuninig guide]]
 +
 +==== Support Laptops ====
 +
 +[[https://wiki.freebsd.org/Laptops|https://wiki.freebsd.org/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.
 +
 +<code>
 +freebsd-update fetch install
 +shutdown -r now
 +</code>
 +
 +Next step is to update ports collection for the operating system.
 +
 +for updating information for FreeBSD ports developers is /usr/ports/CHANGES
 +
 +<code>
 +portsnap auto
 +
 +or
 +
 +portsnap fetch
 +portsnap extract
 +</code>
 +
 +Update ports is east command
 +
 +<code>
 +portsnap fetch update
 +</code>
 +
 +Security audit for package and FreeBSD
 +
 +<code>
 +pkg audit -F
 +</code>
 +
 +====== Apply security patches FreeBSD update, upgrade ======
 +
 +==== Apply security patches ====
 +
 +<code>
 +freebsd-update fetch
 +freebsd-update install
 +</code>
 +
 +==== Upgrade FreeBSD ====
 +
 +<code>
 +freebsd-update fetch
 +freebsd-update upgrade -r 11.2-RELEASE or other version
 +freebsd-update install
 +</code>
 +
 +====== Desktop Environments ======
 +
 +FreeBSD has several desktop environments - Xfce4, Mate, Gnome3, Cinnamon, KDE, Lumina
 +
 +==== How install Mate desktop ====
 +
 +<code>
 +pkg install mate-desktop mate xorg slim
 +</code>
 +
 +Enable components for kernel in etc/rc.conf
 +
 +You need enable this component:
 +
 +<code>
 +zfs_enable="YES"  - if you use ZFS file system
 +hald_enable="YES"
 +dbus_enable="YES"
 +slim_enable="YES"
 +</code>
 +
 +if you want to enable crash dump, if don't you write "NO"
 +
 +<code>
 +dumpdev="AUTO"
 +</code>
 +
 +Next step is create file .xinitrc in /root/ and /home/user/ with command
 +
 +<code>
 +exec mate-session
 +</code>
 +
 +<code>
 +and reboot.
 +</code>
 +
 +==== How install Xfce desktop ====
 +
 +<code>
 +pkg install xfce4-desktop xfce xorg slim
 +</code>
 +
 +Enable components for kernel in etc/rc.conf
 +
 +You need to run desktop
 +
 +<code>
 +zfs_enable="YES"  - if you use ZFS file system
 +hald_enable="YES"
 +dbus_enable="YES"
 +slim_enable="YES"
 +</code>
 +
 +if you want to enable crash dump, if don't you write "NO"
 +
 +<code>
 +dumpdev="AUTO"
 +</code>
 +
 +Next step is create file .xinitrc in /root/ and /home/user/ with command
 +
 +<code>
 +exec startxfce4
 +</code>
 +
 +<code>
 +and reboot.
 +</code>
 +
 +==== How to set slim theme ====
 +
 +<code>
 +# 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
 +</code>
 +
 +
 +
  
project/kernellab/bsd/introductiontobsd.txt · Last modified: 2019/07/16 10:24 by maxfx