Solaris8 にデフォルトでインストールされている Web ブラウザは Netscape 4.7 であるが, Netscape 7.0 をインストールして,デフォルトで利用できるよう設定する.
http://jp.sun.com/products/software/solaris/netscape/ から
を Get する.
# ./nsinstall Please enter the full path to the directory in which you would like to install Netscape [/opt]: Checking for previously installed packages: system SUNWj3cfg SUNWj3rt post configuration system SUNWj3rt JDK 1.3 run time environment system SUNWj3rt.2 J2SDK 1.4 runtime environment *** Previously installed packages will be removed. *** Checking for recommended patches 108652-62 108921-16 112003-03 108773-15 111293-04 111310-01 109147-21 108714-07 111111-03 112396-02 108940-46 108987-09 108528-17 108989-02 108827-35 112472-01... The following patches are not installed on this system: 108827-35 or higher 112003-03 or higher You may need to install the missing patch(es) on this system. Please refer to the Netscape installation documentation for more information. The document can be located at http://www.sun.com/software/solaris/netscape/7b_install.html. Do you want to continue with the install? [y] This script will install the default Netscape files and libraries. You may choose to install optional packages at this time. Would you like to install the optional source packages? [n] Installing the following packages in /opt: SUNWj3rt SUNWgcmn SUNWGlib SUNWGtkr SUNWGtku SUNWnsxp SUNWnsm SUNWnsb SUNWnspsm Continue? [y] ... Installation of <SUNWnspsm> was successful. Netscape installation complete
その中のパッチをあてる
例えば
# for patch in 1* do patchadd -d . $patch done
最新の Recommended Patch があたっていれば,あてる必要はないはず.
# pkgadd -d . SUNWjans
# /usr/dt/bin/dtconfig -reset
起動は,
/opt/SUNWns/netscape
か
/usr/dt/bin/sunnetscape
検索パスの一番先頭が /opt/SUNWns になってれば 問題ないんだけど...
次のうち,どちらかを行う.
# # /etc/dt/appconfig/types/ja/sdtweb.dt # # # set webclient_error=dterror.ds "この方法では Netscape を起動できません。\\n" "Netscape: 起動エラー" "閉じる" ACTION SDtWebClient { LABEL Web クライアント ICON SDtwebbr ARG_COUNT 0 TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING sh -c '\ \{ \ $webclient_error ; \ \}' DESCRIPTION [Web クライアント] Netscape7 は CDE との整合性がよくありません。 } ACTION SDtWebClient { LABEL Web クライアント ICON SDtwebbr ARG_TYPE WEB_URL,FILE_URL,MAILTO_URL,RLOGIN_URL,HTML ARG_COUNT 1 TYPE COMMAND WINDOW_TYPE NO_STDIO EXEC_STRING sh -c '\ \{ \ $webclient_error ; \ \}' DESCRIPTION [Web クライアント] Netscape7 は CDE との整合性がよくありません。 }
/usr/dt/appconfig/types/ja/sdtweb.dt を /etc/dt/appconfig/types/ja/sdtweb.dt にコピーし,
ACTION SDtWebClient { }
でくくられている中の
sdtwebclient
を
sdtwebclient -b sun_netscape
と置き換える.
こういう方法もあり. http://www.par.univie.ac.at/solaris/cde-www/