FreeBSD: Difference between revisions
No edit summary |
rearrange sections a little bit, add current version of FreeBSD |
||
Line 1: | Line 1: | ||
FreeBSD is an operating system based on 4.4BSD lite2. | |||
== FreeBSD 6.0-RELEASE == | |||
---- | |||
The release page for FreeBSD 6.0-RELEASE is [http://www.freebsd.org/releases/6.0R/relnotes-i386.html here]. | |||
[[FreeBSD:Upgrade|Upgrade your version of FreeBSD]] | |||
[[FreeBSD:Sparc]] | |||
[[sysctl]] | |||
---- | |||
[http://www.freebsd.org The FreeBSD Project] | |||
The current version of FreeBSD is 7.2-RELEASE | |||
[http://www.freebsd.org/releases/ FreeBSD Release page] | |||
== rc.conf recommendations == | |||
/etc/rc.conf recommendations: | /etc/rc.conf recommendations: | ||
Line 4: | Line 27: | ||
syslogd_flags="-ss" | syslogd_flags="-ss" | ||
== ports == | |||
Line 20: | Line 44: | ||
[[FreeBSD:php]] Help with installing php from ports on FreeBSD. | [[FreeBSD:php]] Help with installing php from ports on FreeBSD. | ||
[[FreeBSD:apache22:ssl]] Getting SSL working with [[apache]]22. | [[FreeBSD:apache22:ssl]] Getting SSL working with [[apache]]22. | ||
== Hints == | == Hints == |
Revision as of 08:21, 9 August 2009
FreeBSD is an operating system based on 4.4BSD lite2.
FreeBSD 6.0-RELEASE
The release page for FreeBSD 6.0-RELEASE is here.
Upgrade your version of FreeBSD
The current version of FreeBSD is 7.2-RELEASE
rc.conf recommendations
/etc/rc.conf recommendations:
This will stop syslog from opening a socket. This is highly recommended unless you do remote sysloging. If you're unsure, you can safely make this change.
syslogd_flags="-ss"
ports
Cleanup hints if you're using ports. Once in a while look for:
# ls /usr/ports/distfiles/
which is leftover packages you've downloaded to install. You can remove these if the install is complete
# find /usr/ports/ -name work -type d -print
this is old work directories left around from an install you've done. When you install from ports if you do:
# make install distclean
the distclean will clean this work directory as well as the distfiles.
Also make sure you have a regular patching process.
FreeBSD:php Help with installing php from ports on FreeBSD. FreeBSD:apache22:ssl Getting SSL working with apache22.
Hints
Unlike cat(1) on most OS', the cat on FreeBSD can't handle cat'ing directories:
$ cat elcheapo/ Ê .
and then the terminal will appear to lock up. If you type "reset" (even though you will not see your typing) when this happens you will rescue your session so you don't have to quit it and start over.
Patching
# cat /bin/update portsnap fetch && portsnap update && pkg_version -v -l "<"
# cat /bin/upgrade portaudit -Fda /usr/local/sbin/portupgrade -a
Once you have these two scripts, run each at your convenience.