Differences
This shows you the differences between two versions of the page.
freebsd [2014/07/18 16:18] |
freebsd [2014/07/18 16:18] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== FreeBSD ====== | ||
+ | === Installation === | ||
+ | |||
+ | * [[FreeBSD Deployment]] | ||
+ | * [[FreeBSD Goals]] | ||
+ | * [[FreeBSD Install]] | ||
+ | * [[FreeBSD VMWare]] | ||
+ | * [[UFS]] | ||
+ | |||
+ | === Production === | ||
+ | |||
+ | * [[BAMP Stack]] | ||
+ | * [[FreeBSD Encrypted Drive]] - Using UFS | ||
+ | * [[OS Install Base]] | ||
+ | * [[zfs]] | ||
+ | |||
+ | === Software === | ||
+ | |||
+ | * [[FreeBSD Packages]] - binary installs | ||
+ | * [[FreeBSD Ports]] - source code installs | ||
+ | * [[FreeBSD Release Upgrade]] | ||
+ | |||
+ | |||
+ | These are used by or need tweaking when using FreeBSD: | ||
+ | |||
+ | * [[cmdwatch]] | ||
+ | * [[cron]] | ||
+ | * [[csh]] | ||
+ | * [[dropbear]] | ||
+ | * [[fetch]] | ||
+ | * [[ftp]] | ||
+ | * [[geli]] | ||
+ | * [[htop]] | ||
+ | * [[mod_security]] | ||
+ | * [[monit]] | ||
+ | * [[newsyslog]] - similar to logrotate | ||
+ | * [[nikto]] | ||
+ | * [[postfix]] | ||
+ | * [[pw]] - manage users and groups | ||
+ | * [[tcsh]] | ||
+ | * [[tshark]] - command line wireshark | ||
+ | * [[webmin]] | ||
+ | * [[zfs]] | ||
+ | |||
+ | === FreeBSD System Software === | ||
+ | |||
+ | * [[pkg]] - default package manager in FreeBSD 10.0 | ||
+ | |||
+ | == Native Apps == | ||
+ | |||
+ | * [[freebsd-update]] | ||
+ | * [[pkg_add]] | ||
+ | * [[pkg_delete]] | ||
+ | * [[pkg_info]] | ||
+ | * [[portsnap]] - sync ports tree | ||
+ | |||
+ | == Ports Management == | ||
+ | |||
+ | * [[pkgng]] | ||
+ | * [[pkg_deinstall]] | ||
+ | * [[pkg_upgrade]] | ||
+ | * [[portaudit]] - security notices | ||
+ | * [[portconf]] | ||
+ | * [[portmanager]] | ||
+ | * [[portmaster]] - upgrade all ports | ||
+ | * [[portsclean]] | ||
+ | * [[portsopt]] | ||
+ | * [[psearch]] | ||
+ | |||
+ | === make.conf === | ||
+ | |||
+ | <code> | ||
+ | WITHOUT_X11=yes | ||
+ | </code> | ||
+ | |||
+ | === Misc. === | ||
+ | |||
+ | == Use BATCH mode == | ||
+ | |||
+ | <code> | ||
+ | make -DBATCH install | ||
+ | </code> | ||
+ | |||
+ | == upgrade source code installs == | ||
+ | |||
+ | [[http://www.freebsdonline.com/content/blogsection/14/524/]] | ||
+ | |||
+ | 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 /usr/ports/ports-mgmt/portupgrade | ||
+ | make install clean; rehash | ||
+ | | ||
+ | == count apache connections == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/753/524/ | ||
+ | |||
+ | == monitor traffic in realtime == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/739/524/ | ||
+ | |||
+ | == benchmark webserver with siege == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/727/524/ | ||
+ | |||
+ | == look for vulns in ports == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/676/524/ | ||
+ | |||
+ | == update freebsd ports == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/675/524/ | ||
+ | |||
+ | == clear states in pf firewall == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/611/524/ | ||
+ | |||
+ | == apache22 ssl == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/606/506/ | ||
+ | |||
+ | == network troubleshooting for lan == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/576/506/ | ||
+ | |||
+ | == coming to freebsd from linux == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/516/506/ | ||
+ | |||
+ | == secure your server == | ||
+ | |||
+ | http://www.freebsdonline.com/content/view/34/50/ | ||
+ | |||
+ | == Stop logging 'arp moved' messages == | ||
+ | |||
+ | <code> | ||
+ | echo net.link.ether.inet.log_arp_movements=0 >> /etc/sysctl.conf | ||
+ | sysctl -w net.link.ether.inet.log_arp_movements=0 | ||
+ | </code> | ||
+ | |||
+ | === Links === | ||
+ | |||
+ | * [[http://www.freebsd.org/ports/|FreeBSD Ports]] | ||
+ | * [[ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/|Download FreeBSD 9.0]] | ||
+ | * [[http://www.freebsd.org/doc/handbook/users-groups.html|FreeBSD Users and Groups]] | ||
+ | * [[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/|Handbook]] | ||
+ | * [[http://wiki.gentoo.org/wiki/Gentoo_FreeBSD|Gentoo Wiki: Gentoo FreeBSD]] | ||
+ | * [[http://www.hackepedia.org/?title=FreeBSD|Hackepedia FreeBSD]] | ||
+ | * http://www.freebsdwiki.net/index.php/Main_Page | ||
+ | * [[http://www.freebsdmadeeasy.com/tutorials/freebsd/performing-a-make-world-in-freebsd.php]] | ||
+ | * [[http://www.freebsdmadeeasy.com/|FreeBSD Made Easy]] | ||
+ | * [[http://www.freebsdonline.com/content/view/730/531/|pf firewall quick guide]] | ||
+ | * [[http://www.freebsdonline.com/content/view/700/531/|admin commands and tools]] | ||
+ | * [[http://www.denis.lemire.name/wiki/index.php/FreeBSD]] | ||
+ | * [[https://github.com/samaelszafran/PortManager|PortManager helper bash script]] | ||
+ | * [[http://www.freebsddiary.org/prompt.php|Changing your bash prompt]] | ||
+ | * [[http://www.bsdtips.org/index.php/Main_Page|BSD Tips wiki]] | ||
+ | * [[http://icesquare.com/wordpress/freebsd-updateinstalling-updates-install-usrsrcliblibcgenlibc_dlopen-c-no-such-file-or-directory/|[FreeBSD-update]Installing updates…install: ///usr/src/lib/libc/gen/libc_dlopen.c: No such file or directory]] | ||
+ | * [[http://www.a1poweruser.com/Install_Guide_Frame_w-Counter.php|FreeBSD 9.1 Install Guide]] - excellent doc |