FreeBSD

From The Incoherency.Net Wiki
Revision as of 21:03, 15 February 2008 by Denis (talk | contribs) (Technical Notes)
Jump to navigation Jump to search

Servers

Inferno

Maintenance

Technical Notes

SMART (Self-Monitoring, Analysis and Reporting Technology)

http://smartmontools.sourceforge.net/ http://www.linuxjournal.com/article/6983

  • smartctl -l selftest /dev/ad0
  • smartctl -t long /dev/ad0
  • smartctl -Hc /dev/ad0

Disk image via dd

dd bs=512 if=/dev/rXX# of=/some_dir/foo.dmg conv=noerror,sync

tar over netcat

  • nc -v -v -w 40 -l -p 8888 > foo.tar
  • tar cjvf * | nc remotehost 8888

Updating root DNS

dig @a.root-servers.net . ns > /etc/namedb/named.root

Portupgrade

Rebuild Package and all dependent packages

portupgrade -rfx openssl openssl


Disable Vulnerability Checking

DISABLE_VULNERABILITIES=yes

Qmail log Timestamps

Can be converted to human readable using the tai64nlocal command.