# make install clean //Pythonがなければ自動的にインストールされます。
# touch /etc/hosts.deniedssh //ファイルがなければ作成
# vi /usr/local/etc/denyhosts.conf
BLOCK_SERVICE = sshd //コメントアウト
# vi /etc/hosts.allow
sshd : /etc/hosts.deniedssh : deny //ALL : ALL : allowより上に書き込む
sshd : ALL : allow
# vi /etc/rc.conf
denyhosts_enable="YES" //自動起動
syslogd_flags="-c"
# /usr/local/etc/rc.d/denyhosts start //手動起動
参考
FreeBSDでDenyHostsのインストール (Bloom World)
# wget "http://www.hi-ho.ne.jp/cgi-bin/user/yoshihiro_e/download.cgi?p=diced019"
# tar zxvf diced01913.tar.gz
# mv DiCE/ /usr/local/
# cd /usr/local/Dice
# brandelf -t Linux diced
# file diced
# diced
設定完了後バックグランドでdiceを動かす
# /usr/local/DiCE/diced -d -l
参考
FreeBSDでDice Linux版を動かす
# make install clean
# rehash
# vi /usr/local/gofish/etc/gofish.conf
# The hostname
;host = example.com
# Address to listen on
;listen-address = 192.168.1.2
# vi /usr/local/etc/gofish-www.conf
# The hostname
;host = example.com
# mkdir -p /usr/local/var/run/
# /usr/local/gopher //ここにファイルを置く
# mkcache -r
# gofish &
linux_enable="YES"
または
# kldload linux
Linux_baseがない場合
# /usr/ports/emulators/linux_base-fc4
# make install clean
linprocfs.koがない場合
# cd /sys/modules/linprocfs/
# make ;make install ;make clean
# ls /boot/kernel/
# kldload linprocfs
htopをPortsインストール
# vi /etc/fstab
linproc /compat/linux/proc linprocfs rw 0 0
# mount linproc
# cd /usr/ports/sysutils/htop
# make install clean
*なんか無駄な作業があるような…。とりあえず動いたからいいや(笑)
# wget ftp://ftp.sra.co.jp/pub/misc/freepwing/freepwing-1.4.4.tar.gz
# wget http://ikazuhiro.s206.xrea.com/filemgmt/visit.php/82
# wget http://download.wikimedia.org/jawiki/latest/jawiki-latest-pages-articles.xml.bz2
# wget http://green.ribbon.to/~ikazuhiro/dic/files/freepwing-1.4.4+20070216.patch.gz
# tar zxvf wikipedia-fpw-20071202-src.tar.gz
FreePWINGをインストール
# tar zxvf freepwing-1.4.4.tar.gz
# cd freepwing-1.4.4
# gzip -dc ../freepwing-1.4.4+20070216.patch.gz | patch -p0
# ./configure
# make ;make check ;make install
# cd ../wikipedia-fpw-20071202
# bunzip2 ../jawiki-latest-pages-articles.xml.bz2
# mv ../jawiki-latest-pages-articles.xml wikipedia.xml
EPWING形式に変換
# fpwmake // ML115(CentOS x86_64)で3時間ほど掛かった。
# fpwmake catalogs
# fpwmake package
*こちらのページを見て一部修正・追記をしました。
ご指摘ありがとうございます。
参考
Kazuhiro's blog - wikipedia-fpw
wikipedia-fpw
Copyright (C) 2007-2010 大塚味噌醸造所 All Rights Reserved.