RIGHT:[[Sun 関係覚え書き]]
Solaris8 にデフォルトでインストールされている Web ブラウザは
Netscape 4.7 であるが,
Netscape 7.0 をインストールして,デフォルトで利用できるよう設定する.
*Netscape 7.0(Solaris pkg 版)をインストールする [#pafca111]
**ソース入手 [#h243d396]
http://jp.sun.com/products/software/solaris/netscape/
から
-n7_sunpkgs_sparc_S5.7.zip
-n7-patches-s8-sparc.zip
-NS7_Japanese.zip
を Get する.
**1)n7_sunpkgs_sparc_S5.7.zip を展開したディレクトリで [#x6b6ab86]
# ./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
**2)n7-patches-s8-sparc.zipを展開し, [#jde3e2aa]
その中のパッチをあてる
例えば
# for patch in 1*
do
patchadd -d . $patch
done
最新の Recommended Patch があたっていれば,あてる必要はないはず.
**3)NS7_Japanese.zip を展開し, [#vf425c92]
# pkgadd -d . SUNWjans
**4)CDE 再起動 [#h6a3f230]
# /usr/dt/bin/dtconfig -reset
起動は,
/opt/SUNWns/netscape
か
/usr/dt/bin/sunnetscape
*検索パスの問題 [#bb5f4d25]
検索パスの一番先頭が /opt/SUNWns になってれば
問題ないんだけど...
*/etc/dt/appconfig/types/ja/sdtweb.dt を作成,変更する. [#wd75c357]
次のうち,どちらかを行う.
**1)URL を入力しても,エラーメッセージが表示されるだけになる. [#x2196c71]
#
# /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 との整合性がよくありません。
}
**2)Netscape7 が起動するようにする [#wdec38aa]
/usr/dt/appconfig/types/ja/sdtweb.dt を
/etc/dt/appconfig/types/ja/sdtweb.dt にコピーし,
ACTION SDtWebClient
{
}
でくくられている中の
sdtwebclient
を
sdtwebclient -b sun_netscape
と置き換える.
*/usr/dt/bin/sdtwebclient を置き換える [#t1ad03de]
こういう方法もあり.
http://www.par.univie.ac.at/solaris/cde-www/