FreeBSDに係わる構築や維持など

Archive for 12月, 2006

tDiaryインストールメモ

# cd /usr/ports/japanese/tdiary
# make WITH_TDIARY_UCONV=yes WITH_TDIARY_NORA=yes install
There is a script to install tDiary in a user directory.
This script should be run manually.

  # ruby /usr/local/share/examples/tdiary/tdiaryinst.rb --user=User
   or
  % ruby /usr/local/share/examples/tdiary/tdiaryinst.rb

 * Option: --suexec Use suExec for CGI execution
           --help   Display Help information

---
There is a document by English in the following directories.
  See ...
  /usr/local/share/examples/tdiary/doc/
  /usr/local/share/examples/tdiary/misc/i18n/
   and
  Explanation by English of a tDiary system can refer to the following page :

http://tdiary-users.sourceforge.jp/cgi-bin/wiki.cgi?FrontPage_en

Read more »

SmokePing

# cd /usr/ports/net/smokeping
# make install ; make clean
または
# portinstall net/smokeping

Read more »

PukiWiki 1.4.7を入れる

$ tar xzvf pukiwiki-1.4.7_notb_utf8.tar.gz

$ mv pukiwiki-1.4.7_notb_utf8 pukiwiki
# mv pukiwiki /usr/local/www/

Read more »

pkgtools.conf

portinstallやportupgradeなどを使ってインストールする際、あらかじめMAKEのオプションを設定することができます。

# chmod 644 /usr/local/etc/pkgtools.conf

# vi /usr/local/etc/pkgtools.conf

  MAKE_ARGS = {
        'databases/mysql*' => [ 'WITH_CHARSET=utf8']
        'www/apache*' => [ 'WITH_PROXY_MODULES=yes']
	'*' => ['WITHOUT_X11=yes']
  }