2    ソフトウェアのインストール

この章では,インストレーション・プロシージャについて段階ごとに説明します。Advanced Printing Software を利用して日本語プリンタに出力したい場合は,標準版のキットをシステムにインストールしたのち,日本語キットをインストールする必要があります。インストレーション・プロシージャを開始する前に,必ず第 1 章をお読みください。

2.1    インストレーション・プロシージャの開始

標準版 Advanced Printing Software を CD-ROM からインストールする場合は,2.1.1 項から始めてください。

標準版 Advanced Printing Software を RIS サーバからインストールする場合は,2.1.2 項に進んでください。

2.1.1    Associated Products CD-ROM の使用

「Associated Products CD-ROM Volume 2」からソフトウェアをインストールする場合は,次のようにインストレーション・プロシージャを開始します。

  1. 適切なディスク・ドライブにメディアをマウントします。CD-ROM メディアのマウント方法については,メディアに付属のマニュアルを参照してください。

  2. ソフトウェアをインストールするシステムに root ユーザとしてログインします。

  3. 次のコマンドを入力して,root (/) ディレクトリにいることを確実にします。

    # cd /
    

  4. ディストリビューション・ファイル・システムのマウント・ポイントとして /mnt ディレクトリを指定します。

    # mount -r  -t cdfs /dev/rz1c /mnt (Version 4.0x)
    # mount -r  /dev/disk/cdrom0c /mnt (Version 5.0x)
    

  5. -l (load) オプションを付けて setld コマンドを入力し,サブセットが置かれているマウント済みファイルのディレクトリを指定します。Tru64 UNIX システムでは, Advanced Printing Software サブセットのディレクトリ位置は /mnt/Advanced_Printing/kit です。たとえば,次のように入力します。

    # setld -l /mnt/Advanced_Printing/kit
    

2.2 節および 2.3 節を参照して,インストレーションを続行してください。

2.1.2    RIS (Remote Installation Services) の使用

RIS サーバから Advanced Printing Software をインストールする場合は,次のようにインストレーション・プロシージャを開始します。

  1. ソフトウェアをインストールするシステムに root ユーザとしてログインします。

  2. 次のコマンドを使用して,root (/) ディレクトリにいることを確実にします。

    # cd /
    

  3. -l (load) 機能を指定し,サブセットが置かれているシステムを指定して setld コマンドを入力します。たとえば,ノード bigsys 上の RIS ディストリビューション領域から Advanced Printing Software サブセットをロードする場合は,次のコマンドを入力します。

    # setld -l bigsys:
    

2.2 節および 2.3 節を参照して,インストレーションを続行してください。

2.2    Advanced Printing Software サーバ・ソフトウェアのインストール

Advanced Printing Software サーバ・ソフトウェアは,次のサブセットから構成されます。

サーバ・システムでは,最低限 APXBASE111,APXSVR111,および APXADMIN111 サブセットのみ,システムにインストールする必要があります。GUI サブセットはオプションです。次の例は,すべてのサーバ・サブセットをインストールする方法を示しています。

setld コマンドを入力すると,インストレーション・プロシージャにより,Advanced Printing Software サブセットの名前が表示されて,インストールするサブセットを選択するように指示されます。

# setld -l /mnt/Advanced_Printing/kit

The subsets listed below are optional:
 
     There may be more optional subsets than can be presented on a single
     screen. If this is the case, you can choose subsets screen by screen
     or all at once on the last screen. All of the choices you make will
     be collected for your confirmation before any subsets are installed.
 
     1) Advanced Printing Software Administrator Utilities
     2) Advanced Printing Software BASE and Client Commands
     3) Advanced Printing Software Graphical User Interface
     4) Advanced Printing Software Spooler and Supervisor
     5) Advanced Printing Software lpr/lpd Gateways
 
Or you may choose one of the following options:
 
     6) ALL of the above 
     7) CANCEL selections and redisplay menus
     8) EXIT without installing any subsets 
 
Enter your choices or press RETURN to redisplay menus.
 
Choices (for example, 1 2 4-6): 6

プロンプトに対して複数の番号を指定する場合は,各番号を空白で区切ってください。番号の範囲を指定するには,開始番号と終了番号をハイフンでつないで入力します。

次のステップでは,setld スクリプトは,インストールするサブセットが正しく選択されているかどうかを確認するように求めます。

You are installing the following optional subsets:
 
        Advanced Printing Software Administrator Utilities
        Advanced Printing Software BASE and Client Commands
        Advanced Printing Software Graphical User Interface
        Advanced Printing Software Spooler and Supervisor
        Advanced Printing Software lpr/lpd Gateways
 
Is this correct? (y/n): y

表示されたサブセットがロードしたいサブセットと異なっている場合は,n を入力します。すると,サブセット選択メニューが再表示されます。表示されたサブセットがロードしたいサブセットの場合には,y を入力します。インストレーション・プロシージャが完了するまで,これ以上ユーザの応答が要求されることはありません。

付録 A に,インストレーション・プロシージャの完全なリスト例を掲載しています。

サーバ,プリンタ,およびゲートウェイの構成方法については日本語 Advanced Printing Software の『システム管理/操作ガイド』に説明があります。

2.3    Advanced Printing Software クライアント・ソフトウェアのインストール

Advanced Printing Software クライアント・ソフトウェアは,エンド・ユーザがジョブを印刷したりモニタできるようにします。これは,次のサブセットから構成されます。

クライアント・システムには,最低限 APXBASE111 サブセットだけをシステムにインストールする必要があります。APXGUI111 サブセットはオプションです。次に示すインストレーション例では,これらのクライアント・サブセットの両方をインストールする方法を示しています。

setld コマンドを入力すると,インストレーション・プロシージャにより,Advanced Printing Software サブセットの名前が表示されて,インストールするサブセットを選択するように指示されます。

# setld -l /mnt/Advanced_Printing/kit

The subsets listed below are optional:
 
     There may be more optional subsets than can be presented on a single
     screen. If this is the case, you can choose subsets screen by screen
     or all at once on the last screen. All of the choices you make will
     be collected for your confirmation before any subsets are installed.
 
     1) Advanced Printing Software Administrator Utilities
     2) Advanced Printing Software BASE and Client Commands
     3) Advanced Printing Software Graphical User Interface
     4) Advanced Printing Software Spooler and Supervisor
     5) Advanced Printing Software lpr/lpd Gateways
 
Or you may choose one of the following options:
 
     6) ALL of the above 
     7) CANCEL selections and redisplay menus
     8) EXIT without installing any subsets 
 
Enter your choices or press RETURN to redisplay menus.
 
Choices (for example, 1 2 4-6): 2 3

プロンプトに対して複数の番号を指定する場合は,各番号を空白で区切ってください。

次のステップでは,setld スクリプトは,インストールするサブセットが正しく選択されているかどうかを確認するように求めます。

You are installing the following optional subsets
 
        Advanced Printing Software BASE and Client Commands
        Advanced Printing Software Graphical User Interface
 
Is this correct? (y/n): y

表示されたサブセットがロードしたいサブセットと異なっている場合は,n を入力します。すると,サブセット選択メニューが再表示されます。表示されたサブセットがロードしたいサブセットの場合には,y を入力します。インストレーション・プロシージャが完了するまで,これ以上ユーザの応答が要求されることはありません。

付録 A に,インストレーション・プロシージャの完全なリスト例を掲載しています。

2.4    データレス環境での Advanced Printing Software のインストール

Advanced Printing System の GUI クライアントがデータレス環境で正しく動作するためには,システム管理者は,GUI クライアントがインストールされている各データレス・クライアント・システム上で,次のコマンドを実行する必要があります。

# dtappintegrate -s /usr/pd

クライアント・システム上で Advanced Printing Software サーバ (スーパバイザまたはスプーラ) を実行する場合には,管理者は,次のコマンドも実行する必要があります。

# /sbin/init.d/apx start

2.5    データレス環境での Advanced Printing Software サブセットの削除

データレス・サーバ・システムから Advanced Printing Software サブセットを削除する前に,データレス・クライアント・システムで次の手順を実行する必要があります。

  1. 次のコマンドを使用して,CDE から Advanced Printing Software GUI の統合を解除します。

    # dtappintegrate -s /usr/pd -u
    

  2. 次のコマンドを使用して,Advanced Printing Software サーバが停止していることを確認します。

    # /sbin/init.d/apx stop
    

2.6    日本語キットのインストール

Advanced Printing Software の標準版キットのインストールが完了したら,日本語キットをインストールします。

ただし,日本語 Japanese Advanced Printing Software サブセット Japanese Advanced Printing Software BASE and Client Commands (IOSJPAPXBASE520) および Japanese Advanced Printing Software Graphical User Interface (IOSJPAPXGUI520) をインストールする場合,インストール前に touch コマンドで次のようにファイルを作成しておく必要があります。

  1. root でログインします。

  2. カレント・ディレクトリを /usr/.smdb. に設定します。

    # cd /usr/.smdb.
    

  3. touch コマンドで次のファイルを作成します。

    # touch APXBASE110.lk APXGUI110.lk
    

日本語キットのインストールは,次の例のように行います。 この例は,CD-ROM デバイスのスペシャル・ファイルが /dev/cdrom0c の場合の実行例です。

# /usr/sbin/mount -r /dev/cdrom0c /cdrom
# cd /cdrom/World_Wide_Language_Support
# setld -l kit
        :
        :
 

日本語 Advanced Printing Software のインストールが完了したら,スプーラ,スーパバイザ,論理プリンタ,物理プリンタの設定を行ないます。 これらの設定方法については,日本語 Advanced Printing Software の『システム管理/操作ガイド』を参照してください。