site: | 日本Sambaユーザ会 |
archive: | samba-2.0.10-ja-1.0.tar.gz |
os release: | Solaris 8 UPDATE 4 (IA-32) |
install-dir: | /usr/local/samba |
展開後に configure --with-i18n-swat を実行し、make します。
% pwd |
super-user でインストールします。
# make install |
/etc/services にエントリを追加します。
swat 901/tcp # swat |
/etc/inet.d.conf にエントリを追加します。
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat |
inetd を再起動します。
# ps -ef | grep inetd | grep -v grep |
GLOBALS, SHARES, PASSWORD の設定を行います。
自動起動用スクリプトのサンプルが付属しているのでこれを使います。
# pwd |
cp した /etc/init.d/samba.server の path を編集します。
# Edit these lines to suit your installation (paths, workgroup, host) |
付属の README では rc2.d/S99samba.server へのリンクが例に挙がっていますが、資源の export は実行レベル3で行う policy から、/etc/rc3.d/S16samba.server で起動させることにします。
以下のようにシンボリックリンクを作成します。
# ln -s /etc/init.d/samba.server /etc/rc0.d/K27samba.server |