FreeBSD: Difference between revisions

From DWIKI
mNo edit summary
Line 1: Line 1:
==Documentation==
=Documentation=
*[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ The handbook]
*[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ The handbook]
*[http://www.freebsdmadeeasy.com/ FreeBSD made easy]
*[http://www.freebsdmadeeasy.com/ FreeBSD made easy]
Line 10: Line 10:
*[[FreeBSD Jails]]
*[[FreeBSD Jails]]
*[http://www.in-ulm.de/~mascheck/locale/ Locales]
*[http://www.in-ulm.de/~mascheck/locale/ Locales]
==Networking==
*http://www.erudition.net/freebsd/NAT-HOWTO
*http://www.erudition.net/freebsd/NAT-HOWTO
*[http://www.mail-archive.com/freebsd-ipfw%40freebsd.org/msg00528.html natd examples]
*[http://www.mail-archive.com/freebsd-ipfw%40freebsd.org/msg00528.html natd examples]


==Tips and Tricks==
=Tips and Tricks=
*man intro
*man intro
*man tuning
*man tuning
Line 30: Line 31:




===Kernel modules===
==Kernel modules==
kldload kldstat etc
kldload kldstat etc


===Hardware info===
==Hardware info==
  kenv
  kenv
  pciconf -lv
  pciconf -lv
Line 39: Line 40:
  sysctl hw.ncpu
  sysctl hw.ncpu


===Resources===
==Resources==
  systat -pigs
  systat -pigs
  fstat
  fstat


==FAQ==
=FAQ=
===Upgrading===
==Upgrading==
http://people.freebsd.org/~rse/upgrade/
http://people.freebsd.org/~rse/upgrade/


  portupgrade -P -f -a
  portupgrade -P -f -a


===Post install messages===
==Post install messages==
  /usr/ports/*/*/pkg-message
  /usr/ports/*/*/pkg-message


===Courier-imap certificates===
==Courier-imap certificates==
check out /usr/local/share/mkimapdcert
check out /usr/local/share/mkimapdcert


===crontab: temp file must be edited in place===
==crontab: temp file must be edited in place==
Happens when you set EDITOR=vim. Fix it by setting '':set nobackup'' and '':set nowritebackup'' in .vimrc
Happens when you set EDITOR=vim. Fix it by setting '':set nobackup'' and '':set nowritebackup'' in .vimrc


===ping: sendto: Permission denied===
==ping: sendto: Permission denied==
sysctl:  
sysctl:  
  security.jail.allow_raw_sockets: 0
  security.jail.allow_raw_sockets: 0

Revision as of 18:16, 4 May 2008

Documentation

Networking

Tips and Tricks

  • man intro
  • man tuning
  • mergemaster
  • man pw
sysinstall
cd /sys/i386/conf ; make LINT
systat -vm

Rescue


Kernel modules

kldload kldstat etc

Hardware info

kenv
pciconf -lv
grep -i cpu /var/run/dmesg.boot
sysctl hw.ncpu

Resources

systat -pigs
fstat

FAQ

Upgrading

http://people.freebsd.org/~rse/upgrade/

portupgrade -P -f -a

Post install messages

/usr/ports/*/*/pkg-message

Courier-imap certificates

check out /usr/local/share/mkimapdcert

crontab: temp file must be edited in place

Happens when you set EDITOR=vim. Fix it by setting :set nobackup and :set nowritebackup in .vimrc

ping: sendto: Permission denied

sysctl:

security.jail.allow_raw_sockets: 0