Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| freebsd [2014/07/18 22:18] – created - external edit 127.0.0.1 | freebsd [2025/07/21 08:15] (current) – steve | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== FreeBSD ====== | ====== FreeBSD ====== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| === Installation === | === Installation === | ||
| - | * [[FreeBSD | + | * [[FreeBSD |
| - | * [[FreeBSD | + | * [[FreeBSD |
| * [[FreeBSD Install]] | * [[FreeBSD Install]] | ||
| - | * [[FreeBSD | + | * [[FreeBSD |
| + | * [[FreeBSD Ports]] - source code installs | ||
| * [[UFS]] | * [[UFS]] | ||
| - | === Production === | + | |
| - | + | ||
| - | | + | |
| - | * [[FreeBSD Encrypted Drive]] - Using UFS | + | |
| - | * [[OS Install Base]] | + | |
| * [[zfs]] | * [[zfs]] | ||
| === Software === | === Software === | ||
| - | |||
| - | * [[FreeBSD Packages]] - binary installs | ||
| - | * [[FreeBSD Ports]] - source code installs | ||
| - | * [[FreeBSD Release Upgrade]] | ||
| - | |||
| These are used by or need tweaking when using FreeBSD: | These are used by or need tweaking when using FreeBSD: | ||
| - | * [[cmdwatch]] | ||
| * [[cron]] | * [[cron]] | ||
| * [[csh]] | * [[csh]] | ||
| - | * [[dropbear]] | ||
| * [[fetch]] | * [[fetch]] | ||
| * [[ftp]] | * [[ftp]] | ||
| - | * [[geli]] | ||
| * [[htop]] | * [[htop]] | ||
| - | * [[mod_security]] | ||
| * [[monit]] | * [[monit]] | ||
| - | * [[newsyslog]] - similar to logrotate | ||
| - | * [[nikto]] | ||
| * [[postfix]] | * [[postfix]] | ||
| * [[pw]] - manage users and groups | * [[pw]] - manage users and groups | ||
| * [[tcsh]] | * [[tcsh]] | ||
| - | * [[tshark]] - command line wireshark | ||
| * [[webmin]] | * [[webmin]] | ||
| * [[zfs]] | * [[zfs]] | ||
| - | === FreeBSD System Software | + | === Alternative Shells |
| - | * [[pkg]] - default package manager | + | < |
| + | pkg install bash fish | ||
| + | </ | ||
| + | |||
| + | Switch shell to a new one: | ||
| + | |||
| + | < | ||
| + | chsh -s / | ||
| + | </ | ||
| + | |||
| + | Then run the binary, or log out and back in. | ||
| == Native Apps == | == Native Apps == | ||
| * [[freebsd-update]] | * [[freebsd-update]] | ||
| - | * [[pkg_add]] | ||
| - | * [[pkg_delete]] | ||
| - | * [[pkg_info]] | ||
| - | * [[portsnap]] - sync ports tree | ||
| == Ports Management == | == Ports Management == | ||
| - | * [[pkgng]] | ||
| - | * [[pkg_deinstall]] | ||
| - | * [[pkg_upgrade]] | ||
| - | * [[portaudit]] - security notices | ||
| * [[portconf]] | * [[portconf]] | ||
| - | * [[portmanager]] | ||
| * [[portmaster]] - upgrade all ports | * [[portmaster]] - upgrade all ports | ||
| - | * [[portsclean]] | ||
| - | * [[portsopt]] | ||
| * [[psearch]] | * [[psearch]] | ||
| Line 83: | Line 70: | ||
| </ | </ | ||
| - | == upgrade source code installs == | ||
| - | [[http:// | ||
| - | |||
| - | You can with portupgrade to get latest PHP version and PHP modules from Ports and then rebuild them with the following command: | ||
| - | |||
| - | portupgrade -fpb php5\* | ||
| - | |||
| - | If you do not have portupgrade then you must first install it from ports: | ||
| - | |||
| - | cd / | ||
| - | make install clean; rehash | ||
| - | | ||
| - | == count apache connections == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == monitor traffic in realtime == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == benchmark webserver with siege == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == look for vulns in ports == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == update freebsd ports == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == clear states in pf firewall == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == apache22 ssl == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == network troubleshooting for lan == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == coming to freebsd from linux == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == secure your server == | ||
| - | |||
| - | http:// | ||
| - | |||
| - | == Stop logging 'arp moved' messages == | ||
| - | |||
| - | < | ||
| - | echo net.link.ether.inet.log_arp_movements=0 >> / | ||
| - | sysctl -w net.link.ether.inet.log_arp_movements=0 | ||
| - | </ | ||
| - | === Links === | ||
| - | * [[http:// | ||
| - | * [[ftp:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[https:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||