FreeBSDでサーバをたてる
- 最小限のインストール
- 自ユーザをwheelグループに追加
- su 出来るように
- portsのインストール - sysinstall から
- pkg_add -r cvsup-without-gui
- rehash
- cp /usr/share/examples/cvsup/ports-supfile /usr/local/etc
- vi /usr/local/etc/ports-supfile
- *default host=cvsup3.jp.FreeBSD.org
- cvsup -g -L 2 /usr/local/etc/ports-supfile
パッケージ管理の方法
- pkg_info : インストールされているパッケージの表示
- portversion -v
- portupgrade -r hogehoge
- portinstall
- portclean
php
- portinstall -r www/apache20
- portinstall -r lang/php5
- portinstall -r lang/php5-extensions
PHPDOC構築環境の構築
- portinstall -r textproc/openjade