Solaris7 インストール ---------------------------------------------------------------------- ■インストール対象  Netra-T1(memory : 1 GB)  クライアントは TeraTerm ---------------------------------------------------------------------- ■セッティング ・ノート PC と Netra-T1 をシリアルケーブルで接続  >シリアルケーブルは Cisco についてくるフラットケーブル ---------------------------------------------------------------------- ■リース初期状態について ・SunOS Release 5.7 がインストされている。  root のパスワードはなし。  電源投入後何もしないとこいつが起動するので、  root でログインして以下のコマンドを実行。 # shutdown -g0 -i0 Shutdown started. Tue Oct 2 14:21:05 JST 2001 Do you want to continue? (y or n): y Changing to init state 0 - please wait Broadcast Message from root (console) on netra1 Tue Oct 2 14:21:07... THE SYSTEM netra1 IS BEING SHUT DOWN NOW ! ! ! ---------------------------------------------------------------------- ■Solaris7 Server 日本語版のインストール ・あらかじめ CD-ROM ドライブに ・OK プロンプトが出ている状態で下記コマンドを実行 ok boot cdrom ・What type of terminal are you using? 3) DEC VT100 ※次のページに移るには ESC+2 を押す。 Host name: irecs Networked: Yes Primary network interface: hme0 IP address: 10.21.2.50 Name service: DNS Domain name: local.alma.jp Server address(es): 10.21.0.2 10.21.0.3 Search domain(s): local.alma.jp System part of a subnet: Yes Netmask: 255.255.248.0 Time zone: Japan  (asia eastrn -> japan で選択) Date and time: 2001-10-02 14:35:00 F4_Initial Esc-4_Initial Esc-2_Continue Esc-2_Continue [X]Japanese EUC (ja) [ ]Japanese PC Kanji (ja_JP.PCK) [X]Japanese UTF-8 (ja_JP.UTF-8) [X] Select To Include Solaris 64-bit Support [X]Entire Distribution plus OEM support 64-bit 1420.00 MB (F4 to Customize [X]c0t0d0 (17269 MB) boot disk 17269 MB (F4 to edit) Esc-2_Continue Esc-2_Continue Esc-4_Manual Layout Esc-4_Customize File system/Mount pointDisk/SliceSize ============================================================= / c0t0d0s0 14193 MB /var c0t0d0s1 1026 MB swap c0t0d0s2 2049 MB Installation Option: Initial Boot Device: c0t0d0s0 Client Services: None Languages: Japanese EUC (ja) Japanese UTF-8 (ja_JP.UTF-8) Software: Solaris 2.7, Entire Distribution plus OEM s File System and Disk Layout: / c0t0d0s0 14193 MB /varc 0t0d0s1 1026 MB swapc 0t0d0s2 2049 MB [X]Auto Reboot Do you want this automatic power-saving shutdown? (If this system is used as a server, answer n) [y,n,?] n Autoshutdown has been disabled. Do you want the system to ask about this again, when you next reboot? (This gives you the chance to try it before deciding whether to keep it.) [y,n,?] n ---------------------------------------------------------------------- ■グループの追加 # groupadd -g 1001 ini ---------------------------------------------------------------------- ■ユーザーの追加 # useradd -g 1001 -u 12349 -c 'kentaro yagami' kenta # passwd kenta ---------------------------------------------------------------------- ■ホームディレクトリの作成 # cd /export # mkdir home # cd home # mkdir kenta /etc/auto_masuter に /home auto_home -nobrowse が入っていることを確認 # vi /etc/auto_home # Home directory map for automounter # +auto_home * localhost:/export/home/& と編集 ---------------------------------------------------------------------- ■ネットワークの設定変更 インストール後に接続しているネットワークが変更されたので修正。 ・ネットマスクの変更 # vi /etc/netmasks 10.0.128.0 255.255.254 に変更 ・DNS 関連の変更 # more /etc/nsswitch.conf hosts: files dns という記述がある事を確認。 # vi /etc/resolv.conf domain mitaka.alma.jp nameserver 133.140.144.25 nameserver 133.140.145.19 search mitaka.alma.jp ・IP アドレスの変更 # vi /etc/hosts 10.21.2.50 irecs loghost を 10.0.128.45 irecs loghost に変更する。 ※hostname.hme0 にホスト名ではなく IP アドレスを記述する方法もあり。 ・デフォルトルーターの設定 # vi /etc/defaultrouter 10.0.128.1 ・リブート ---------------------------------------------------------------------- ■パッチの適用 ・solaris7 の推奨パッチをあてる。 ftp://sunsite.sut.ac.jp/pub/sun-info/sunsolve-patches/ # unzip 7_Recommended.zip # cd 7_Recommended # ./install_cluster he following patches were not able to be installed: 106960-01 106934-03 107544-03 107587-01 107456-01 108219-01 108221-01 107794-01 >パッチをあてるべきソフトが入っていない為 >>なおこれだけで WAS , Java の要求するパッチは全て入る。 ---------------------------------------------------------------------- ■nas で NFS ・nas の登録 # vi /etc/hosts 10.0.128.46 irecs-nas を追加 ・マウントポイントの作成 # cd / # mkdir ALMA ・起動時にマウントするように設定 # vi /etc/vfstab irecs-nas:/ALMA - /ALMA nfs - yes rw を追加して再起動