<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-193  評論-715  文章-1  trackbacks-0

    一,安裝JAVA6

    1,用root用戶登錄到AIX系統中。
    2,使用如下命令確定操作系統位數:
      bootinfo -k
      如果結果為:3,則表示AIX系統為32位,請勿安裝64位的JVM。
    3,用mkdir /tmp/jvm命令建立一個目錄,并將Java6.sdk(如果是64位的AIX,推薦選用Java6_64.sdk)用FTP上傳至/tmp/jvm目錄中。
    4,鍵入smit命令,進入如下畫面:
                                             System Management

    Move cursor to desired item and press Enter.

      Software Installation and Maintenance
      Software License Management
      Devices
      System Storage Management (Physical & Logical Storage)
      Security & Users
      Communications Applications and Services
      Print Spooling
      Advanced Accounting
      Problem Determination
      Performance & Resource Scheduling
      System Environments
      Processes & Subsystems
      Applications
      Installation Assistant
      Cluster Systems Management
      Using SMIT (information only)

                        
    F1=Help                  F2=Refresh               F3=Cancel                Esc+8=Image
    Esc+9=Shell              Esc+0=Exit               Enter=Do                   
    4,選擇Software Installation and Maintenance,并按回車(ENTER)鍵,進入如下畫面:
                                   Software Installation and Maintenance

    Move cursor to desired item and press Enter.

      Install and Update Software
      List Software and Related Information
      Software Maintenance and Utilities
      Software Service Management
      Network Installation Management
      EZ NIM (Easy NIM Tool)
      System Backup Manager
      Alternate Disk Installation
      EFIX Management
      Thin Server Maintenance
     
                           
    F1=Help                  F2=Refresh               F3=Cancel                Esc+8=Image
    Esc+9=Shell              Esc+0=Exit               Enter=Do                  

    5,選擇Install and Update Software,并按回車(ENTER)鍵,進入如下畫面:
                                        Install and Update Software

    Move cursor to desired item and press Enter.

      Install Software
      Update Installed Software to Latest Level (Update All)
      Install Software Bundle
      Update Software by Fix (APAR)
      Install and Update from ALL Available Software
     
     
                         
    F1=Help                  F2=Refresh               F3=Cancel                Esc+8=Image
    Esc+9=Shell              Esc+0=Exit               Enter=Do

    6,選擇Install Software,并按回車(ENTER)鍵,進入如下畫面:
                                              Install Software

    Type or select a value for the entry field.
    Press Enter AFTER making all desired changes.
     
                                                            [Entry Fields]
    * INPUT device / directory for software              []                                 +
     
     

    F1=Help                  F2=Refresh               F3=Cancel                F4=List
    Esc+5=Reset              Esc+6=Command            Esc+7=Edit               Esc+8=Image
    Esc+9=Shell              Esc+0=Exit               Enter=Do   

    7,在INPUT device / directory for software欄中輸入/tmp/jvm/,并按回車(ENTER)鍵,進入如下畫面:
                                              Install Software

    Type or select values in entry fields.
    Press Enter AFTER making all desired changes.
     
                                                            [Entry Fields]
    * INPUT device / directory for software               /tmp/jvm/
    * SOFTWARE to install                                [_all_latest]                               +
      PREVIEW only? (install operation will NOT occur)    no                                         +
      COMMIT software updates?                            yes                                        +
      SAVE replaced files?                                no                                         +
      AUTOMATICALLY install requisite software?           yes                                        +
      EXTEND file systems if space needed?                yes                                        +
      OVERWRITE same or newer versions?                   no                                         +
      VERIFY install and check file sizes?                no                                         +
      Include corresponding LANGUAGE filesets?            yes                                        +
      DETAILED output?                                    no                                         +
      Process multiple volumes?                           yes                                        +
      ACCEPT new license agreements?                      no                                         +
      Preview new LICENSE agreements?                     no                                         +

     

    F1=Help                  F2=Refresh               F3=Cancel                F4=List
    Esc+5=Reset              Esc+6=Command            Esc+7=Edit               Esc+8=Image
    Esc+9=Shell              Esc+0=Exit               Enter=Do      

    8,將ACCEPT new license agreements?的值改為yes。(可按F4,在彈出菜單中選擇)。畫面如下:
                                       Install Software

    Type or select values in entry fields.
    Press Enter AFTER making all desired changes.
     
                                                            [Entry Fields]
    * INPUT device / directory for software               /tmp/jvm
    * SOFTWARE to install                                [_all_latest]                +
      PREVIEW only? (install operation will NOT occur)    no                          +
      COMMIT software updates?                            yes                         +
      SAVE replaced files?                                no                          +
      AUTOMATICALLY install requisite software?           yes                         +
      EXTEND file systems if space needed?                yes                         +
      OVERWRITE same or newer versions?                   no                          +
      VERIFY install and check file sizes?                no                          +
      Include corresponding LANGUAGE filesets?            yes                         +
      DETAILED output?                                    no                          +
      Process multiple volumes?                           yes                         +
      ACCEPT new license agreements?                      yes                         +
      Preview new LICENSE agreements?                     no                          +
        
        
        
    F1=Help              F2=Refresh            F3=Cancel             F4=List        
    Esc+5=Reset          Esc+6=Command         Esc+7=Edit            Esc+8=Image    
    Esc+9=Shell          Esc+0=Exit            Enter=Do     

    9,確認無誤后,按回車(ENTER)鍵,進入如下畫面:
                                       Install Software

    Type or select values in entry fields.
    Press Enter AFTER making all desired changes.
     
                                                            [Entry Fields]
    * INPUT device / directory for software               /tmp/jvm
    * SOFTWARE to install                                [_all_latest]                +
      PREVIEW only? (install operation will NOT occur)    no                          +
      COMMIT software updates?                            yes                         +
      SAVE replaced files?                                no                          +
      AUTOMATICALLY install requisite software?           yes                         +
      EXTEND file systems if space needed?                yes                         +
      OVERWRITE same or newer versions?                   no                          +
      VER+--------------------------------------------------------------------------+ +
      Inc|                              ARE YOU SURE?                               | +
      DET|                                                                          | +
      Pro| Continuing may delete information you may want                           | +
      ACC| to keep.  This is your last chance to stop                               | +
      Pre| before continuing.                                                       | +
         |     Press Enter to continue.                                             |
         |     Press Cancel to return to the application.                           |
         |                                                                          |
    F1=He| F1=Help                 F2=Refresh              F3=Cancel                |
    Esc+5| Esc+8=Image             Esc+0=Exit              Enter=Do                 |
    Esc+9+--------------------------------------------------------------------------+

    10,直接按回車(ENTER)鍵,等待安裝結束。畫面如下:
                                              COMMAND STATUS

    Command: running       stdout: yes           stderr: no

    Before command completion, additional instructions may appear below.

    [MORE...6]
    +-----------------------------------------------------------------------------+
                        Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...

    SUCCESSES
    ---------
      Filesets listed in this section passed pre-installation verification
      and will be installed.
     
      Selected Filesets
      -----------------
      Java6.sdk 6.0.0.110                         # Java SDK 32-bit
     
      << End of Success Section >>               
     
    FILESET STATISTICS
    ------------------
        1  Selected to be installed, of which:
            1  Passed pre-installation verification
      ----
        1  Total to be installed
     
    +-----------------------------------------------------------------------------+
                             Installing Software...
    +-----------------------------------------------------------------------------+
                            
    installp:  APPLYING software for:
            Java6.sdk 6.0.0.110

           
    . . . . . << Copyright notice for Java6.sdk >> . . . . . . .
     Licensed Materials - Property of IBM

     620700106
       Copyright International Business Machines Corp. 2007, 2009.
       Copyright The Apache Software Foundation, 1999.
       Copyright Sun Microsystems, Inc. 1992, 1997.
      
     All rights reserved.
     US Government Users Restricted Rights - Use, duplication or disclosure
     restricted by GSA ADP Schedule Contract with IBM Corp.
    . . . . . << End of copyright notice for Java6.sdk >>. . . .
     

    [BOTTOM]

    11,安裝結束后出現如下畫面:
                                              COMMAND STATUS

    Command: OK            stdout: yes           stderr: no

    Before command completion, additional instructions may appear below.

    [MORE...27]
            1  Passed pre-installation verification
      ---- 
        1  Total to be installed
       
    +-----------------------------------------------------------------------------+
                             Installing Software...
    +-----------------------------------------------------------------------------+

    installp:  APPLYING software for:
            Java6.sdk 6.0.0.110
           
           
    . . . . . << Copyright notice for Java6.sdk >> . . . . . . .
     Licensed Materials - Property of IBM
     
     620700106
       Copyright International Business Machines Corp. 2007, 2009.
       Copyright The Apache Software Foundation, 1999.
       Copyright Sun Microsystems, Inc. 1992, 1997.
      
     All rights reserved.
     US Government Users Restricted Rights - Use, duplication or disclosure
     restricted by GSA ADP Schedule Contract with IBM Corp.
    . . . . . << End of copyright notice for Java6.sdk >>. . . .

    Restoring files, please wait.
    997 files restored.
    1361 files restored.
    2127 files restored.
    2431 files restored.
    2725 files restored.
    Finished processing all filesets.  (Total time:  3 mins 24 secs).

    +-----------------------------------------------------------------------------+
                                    Summaries:
    +-----------------------------------------------------------------------------+

    Installation Summary
    --------------------
    Name                        Level           Part        Event       Result
    -------------------------------------------------------------------------------
    Java6.sdk                   6.0.0.110       USR         APPLY       SUCCESS
    Java6.sdk                   6.0.0.110       ROOT        APPLY       SUCCESS

    [BOTTOM]

    F1=Help                                     F2=Refresh                                  F3=Cancel                                   Esc+6=Command
    Esc+8=Image                                 Esc+9=Shell                                 Esc+0=Exit                                  /=Find
    n=Find Next    

    12,安裝驗證,使用如下命令:
     /usr/java6/bin/java -version

    得到如下結果,說明安裝正確完成。
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap3260sr4ifix-20090417_02(SR4+IZ48590))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr4ifx-20090409_33254 (JIT enabled, AOT enabled)
    J9VM - 20090409_033254_bHdSMr
    JIT  - r9_20090213_2028
    GC   - 20090213_AA)
    JCL  - 20090228_01

     

    二,環境變量配置:
    1,由于AIX在安裝的過程中,會默認安裝JAVA1.4,所以需要先刪除/etc/environment文件中,PATH環境變量中的/usr/java14/jre/bin:/usr/java14/bin。
    2,編輯/etc/profile文件,在PATH變量中,加入/usr/java6/jre/bin:/usr/java6/bin兩項,并在文件未尾加上如下一行:
     export JAVA_HOME=/usr/java6
    3,重新用root用戶登錄,以使環境變量生效。
    4,驗證,使用java -version命令,得到如下結果:
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap3260sr4ifix-20090417_02(SR4+IZ48590))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr4ifx-20090409_33254 (JIT enabled, AOT enabled)
    J9VM - 20090409_033254_bHdSMr
    JIT  - r9_20090213_2028
    GC   - 20090213_AA)
    JCL  - 20090228_01

    posted on 2009-06-04 11:26 Robin's Programming World 閱讀(4719) 評論(3)  編輯  收藏 所屬分類: JavaOS

    評論:
    # re: AIX系統中安裝Java6全過程(帶文本截圖) 2009-06-04 18:09 | 樂蜂
    不錯,我也在aix里裝java6  回復  更多評論
      
    # re: AIX系統中安裝Java6全過程(帶文本截圖)[未登錄] 2009-06-04 18:58 | Sean
    噢!我熟悉的J9 JVM  回復  更多評論
      
    # re: AIX系統中安裝Java6全過程(帶文本截圖) 2009-06-05 00:37 | burun esteti?i
    thanks
      回復  更多評論
      
    主站蜘蛛池模板: 午夜免费1000部| 国产精品九九久久免费视频| 免费无码中文字幕A级毛片| 亚洲成a人片在线观看老师| 亚洲色精品VR一区区三区 | 亚洲大香人伊一本线| 免费网站看av片| 亚洲综合成人网在线观看| 亚洲免费人成在线视频观看| 亚洲成AV人片在线观看ww| 香港a毛片免费观看 | 黄色三级三级免费看| 日本19禁啪啪无遮挡免费动图| 亚洲精华液一二三产区| 免费看小12萝裸体视频国产| 亚洲国产成人精品无码区二本| 国产极品美女高潮抽搐免费网站| 香蕉97碰碰视频免费| 狠狠亚洲婷婷综合色香五月排名| 99久久精品毛片免费播放| 亚洲一区免费观看| 中文字幕无码视频手机免费看 | 日韩不卡免费视频| 亚洲精品无码av片| 亚洲AV中文无码乱人伦| a级精品九九九大片免费看| 亚洲系列中文字幕| 最近最新中文字幕完整版免费高清| 国产亚洲人成在线播放| 亚洲综合激情另类专区| 一级毛片在线免费看| 久久亚洲国产最新网站| 亚洲免费日韩无码系列| 91人人区免费区人人| 亚洲av成人无码网站…| 国产亚洲精品成人AA片新蒲金| 美丽的姑娘免费观看在线播放| 亚洲人成人伊人成综合网无码| 中文字幕亚洲乱码熟女一区二区 | 日韩在线视精品在亚洲| 亚洲av午夜福利精品一区人妖|