====================================================
   From: GCG
TSC pSeries <ibm800p@cn.ibm.com>
     To:
15101010385 <15101010385@139.com>
Subject: java installation
update
   Date: 2011/5/18
16:42:11
====================================================

http://www.ibm.com/developerworks/systems/library/es-JavaOnAix_install.html

AIX系统中安装Java6全过程(带文本截图)
一,安装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

AIX系统中安装Java6全过程(全部)的更多相关文章

  1. 在 Linux 系统中安装Load Generator ,并在windows 调用方法

    在 Linux 系统中安装Load Generator ,并在windows 调用 由于公司需要测试系统的最大用户承受能力,所以需要学习使用loadrunner.在安装的时候碰到了不少问题,所以写下此 ...

  2. 在linux系统中安装VSCode(Visual Studio Code)

    在linux系统中安装VSCode(Visual Studio Code) 1.从官网下载压缩包(话说下载下来解压就直接可以运行了咧,都不需要make) 访问Visual Studio Code官网  ...

  3. 如何在win7系统中安装redis

    转载于:http://www.itxuexiwang.com/a/shujukujishu/redis/2016/0216/92.html?1455871954 如何在win7系统中安装redis​ ...

  4. 在RedHat.Enterprise.Linux_v6.3系统中安装Oracle_11gR2教程

    在RedHat.Enterprise.Linux_v6.3系统中安装Oracle_11gR2教程 本教程提供PDF格式下载: 在RedHat.Enterprise.Linux_v6.3系统中安装Ora ...

  5. AIX 系统中 PVID 的含义与作用

    网址: http://www.eygle.com/digest/2008/06/aix_pvid.html Pvid是aix系统中的ODM LVM用于识别PV的序列号,操作系统通过pvid来识别pv, ...

  6. 在Windows系统中安装集成的PHP开发环境

    原文:在Windows系统中安装集成的PHP开发环境 刚想学php的,又不会配置复杂php的环境,可以使用集成的,目前网上提供常用的PHP集成环境主要有AppServ.phpStudy.WAMP和XA ...

  7. 在Ubuntu 12.04系统中安装配置OpenCV 2.4.3的方法

    在Ubuntu 12.04系统中安装配置OpenCV 2.4.3的方法   对于,在Linux系统下做图像识别,不像在windows下面我们可以利用Matlab中的图像工具箱来实现,我们必须借助Ope ...

  8. 在Debian/Ubuntu系统中安装*.sh与*.bin文件

    在Debian/Ubuntu系统中安装*.sh与*.bin文件的基本方法.一,安装*.sh文件运行命令行至文件目录下,执行:sudo sh *.sh直接运行在命令行中执行:sudo chmod +x ...

  9. 在Windows、Mac和 Linux系统中安装Python与 PyCharm

    “工欲善其事,必先利其器”,本文介绍 Python环境的安装和 Python的集成开发环境(IDE) PyCharn的安装.   一.Python安装( Windows.Mac和 Linux) 当前主 ...

随机推荐

  1. web.xml配置解释

    web.xml中配置的加载优先级:首先可以肯定的是,加载顺序与它们在 web.xml 文件中的先后顺序无关.即不会因为 filter 写在 listener 的前面而会先加载 filter.最终得出的 ...

  2. 笔记之Python网络数据采集

    笔记之Python网络数据采集 非原创即采集 一念清净, 烈焰成池, 一念觉醒, 方登彼岸 网络数据采集, 无非就是写一个自动化程序向网络服务器请求数据, 再对数据进行解析, 提取需要的信息 通常, ...

  3. python的re正则表达式模块学习

    python中re模块的用法   Python 的 re 模块(Regular Expression 正则表达式)提供各种正则表达式的匹配操作,在文本解析.复杂字符串分析和信息提取时是一个非常有用的工 ...

  4. asp.net—缓存

    1.页面缓存 要实现页面输出缓存,只要将一条 OutputCache 指令添加到页面即可. <%@ OutputCache CacheProfile=" " NoStore= ...

  5. 【C语言入门教程】1.1 基本程序结构

    基本程序结构就是从上至下顺序执行的程序,C语言程序必须有且只有一个主函数,程序从主函数开始执行,直到主函数结束.下例是根据半径求圆形面积的程序源代码. #include <stdio.h> ...

  6. Apache常用2种工作模式prefork和worker比较

    Apache两种常用工作模式:prefork和worker. prefork MPM prefork是一个非线程型的.预派生的MPM,使用多个进程,每个进程在某个确定的时间只单独处理一个连接,效率高, ...

  7. JS对于数据常见操作

    var _mozi=['墨家','墨子','墨翟','兼爱非攻','尚同尚贤']; $.each(_mozi,function(key,val){//先key 后值 循环 console.log(ke ...

  8. [codevs1022]覆盖

    [codevs1022]覆盖 试题描述 有一个N×M的单位方格中,其中有些方格是水塘,其他方格是陆地.如果要用1×2的矩阵区覆盖(覆盖过程不容许有任何部分重叠)这个陆地,那么最多可以覆盖多少陆地面积. ...

  9. git 教程(1)--安装git

    在Linux上安装Git 首先,你可以试着输入git,看看系统有没有安装Git: gi 如果你碰巧用Debian或Ubuntu Linux,通过一条sudo apt-get install git就可 ...

  10. The Adapter of ListView: Just adapt data to view, don’t do anything else

    The design of SimpleAdapter is not good in my opinion. An adapter should just adapter the data to vi ...