freeBSD のサーバ構築log

http://airknights.fumimi.com/freebsd/setting/colorls.php

bashの切り替え
chsh -s /usr/local/bin/bash
gnulsでカラー表示
> cd /usr/ports/misc/gnuls
# su
# make install clean

# rehash

.bashrc に付け加え
alias ls='gnuls --color=auto --show-control-char'

http://blog.servered.net/2008/10/freebsd-70-ports.html
FreeBSDwget をインストールしてみた
# cd /usr/ports/ftp/wget
# make
# make install


tokyocabinet
http://blog.plastik.jp/archives/432
FreeBSDTokyoTyrant+TokyoCabinet

juliusインストール
#/uar/port/audio/julius/
#make config-recursive
#make install

NTPd インストール


http://freebsd.server-manual.com/freebsd9_ntpd.html

NTP時刻あわせ
[root@freebsd ~]# mv /etc/ntp.conf /etc/ntp.conf.org
[root@freebsd ~]# vi /etc/ntp.conf
↓下記を記入
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
[root@freebsd ~]# ntpdate -u ntp1.jst.mfeed.ad.jp
6 Mar 00:03:01 ntpdate[96781]: adjust time server 210.173.160.27 offset 0.000019 sec
[root@freebsd ~]# vi /etc/rc.conf
ntpd_enable="YES" ←追加(ntpd起動)
[root@freebsd ~]# /etc/rc.d/ntpd start
Starting ntpd.
[root@freebsd ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================