Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| freebsd [2025/07/21 07:55] – steve | freebsd [2025/07/21 08:15] (current) – steve | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== FreeBSD ====== | ====== FreeBSD ====== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| === Installation === | === Installation === | ||
| Line 10: | Line 13: | ||
| * [[UFS]] | * [[UFS]] | ||
| + | * [[pkg]] | ||
| * [[zfs]] | * [[zfs]] | ||
| Line 18: | Line 22: | ||
| * [[cron]] | * [[cron]] | ||
| * [[csh]] | * [[csh]] | ||
| - | * [[dropbear]] | ||
| * [[fetch]] | * [[fetch]] | ||
| * [[ftp]] | * [[ftp]] | ||
| * [[htop]] | * [[htop]] | ||
| * [[monit]] | * [[monit]] | ||
| - | * [[nikto]] | ||
| * [[postfix]] | * [[postfix]] | ||
| * [[pw]] - manage users and groups | * [[pw]] - manage users and groups | ||
| Line 43: | Line 45: | ||
| Then run the binary, or log out and back in. | Then run the binary, or log out and back in. | ||
| - | |||
| - | === FreeBSD System Software === | ||
| - | |||
| - | * [[pkg]] - default package manager in FreeBSD 10.0 | ||
| == 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:// | ||