|
tar sdk 와 license 파일을 다운
아래 처럼 /usr/sys/inst.images 에 압축 풀고 권한 주고 copy
다운받은 파일을 AIX 서버의 적절한 위치에 업로드한 뒤 아래 과정을 수행한다.
installp의 ‘-Y’ 옵션은 라이센스에 동의(Yes)한다는 의미이다.
설치된 JDK를 지울 때는 ‘-a’ 대신 ‘-u’ 를 사용하면 된다. (installp -Y -uX -d/usr/sys/inst.images Java14.sdk)
설치는 기본적으로 /usr/java6_64 경로에 진행된다.
[clickv1:root] /ofm/kybang/jdk > cp Java14.sdk /usr/sys/inst.images
[clickv1:root] /ofm/kybang/jdk > cd /usr/sys/inst.images
[clickv1:root] /ofm/kybang/jdk > ls
.toc Java14.license Java14.license.tar Java14.sdk Java14.sdk.1.4.2.485.tar
[clickv1:root] /ofm/kybang/jdk > cp Java14.license /usr/sys/inst.images
[clickv1:root] /ofm/kybang/jdk > cd /usr/sys/inst.images
[clickv1:root] /usr/sys/inst.images > ls
Java14.license Java14.sdk
[clickv1:root] /usr/sys/inst.images > installp -Y -aX -d/usr/sys/inst.images Java14.sdk
+-----------------------------------------------------------------------------+
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
-----------------
Java14.sdk 1.4.2.485 # Java SDK 32-bit
<< End of Success Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
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:
Java14.sdk 1.4.2.485
. . . . . << Copyright notice for Java14.sdk >> . . . . . . .
Licensed Materials - Property of IBM
5648C9802
Copyright International Business Machines Corp. 1996, 2012.
This product is based in part on the work of the Independent JPEG group.
JAVA(tm) and HOTJAVA(tm) web development products are owned and licensed
exclusively by Sun Microsystems, Inc. Copyright 1992-97 Sun Microsystems,
Inc. All rights reserved. JAVA, HOTJAVA, the JAVA/HOTJAVA Logos, Sun,
Sun Microsystems, and the Sun Logo are trademarks or registered trademarks
of Sun Microsystems, Inc. in the U.S. and other countries.
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 Java14.sdk >>. . . .
Finished processing all filesets. (Total time: 28 secs).
Finished processing all filesets. (Total time: 29 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
Java14.sdk 1.4.2.485 USR APPLY SUCCESS
Java14.sdk 1.4.2.485 ROOT APPLY SUCCESS
[clickv1:root] /usr/sys/inst.images >
[clickv1:root] /usr/sys/inst.images >
[clickv1:root] /usr/sys/inst.images >
[clickv1:root] /usr/sys/inst.images > ls
.toc Java14.license Java14.sdk
[clickv1:root] /usr/sys/inst.images > cd /ofm
[clickv1:root] /ofm > ls
.profile hschoi jmlee jslee kimso612 kybang lost+found meadow oracle sbha weblogic
ghjung jhjang jnkim khlee ktkim ljh maveriq ofmroot rootsnet sckol ysyun
[clickv1:root] /ofm > cd jdk
ksh: jdk: not found.
[clickv1:root] /ofm > ls
.profile hschoi jmlee jslee kimso612 kybang lost+found meadow oracle sbha weblogic
ghjung jhjang jnkim khlee ktkim ljh maveriq ofmroot rootsnet sckol ysyun
[clickv1:root] /ofm > cd /usr
[clickv1:root] /usr > ls
HTTPServer artic960 ecc icu4c java6 lost+found netscape perfagent sbin swlag usg
TT_DB bin emgrdata idebug java6_64 lpd openssh pmapi share sys vac
X11R6 ccs es include lbin lpp openssl pub sni sysv vacpp
X11R7 dict esa java14 lib man opt radius spool tivoli websm
adm doc etc java5 linux ml options sadm src tmp xlmass
aix dt ibm java5_64 local mozilla pegasus samples suma ucb
[clickv1:root] /usr > cd java14
[clickv1:root] /usr/java14 > ls
.private142 bin fixes.html jre sdkguide.aix32.htm
COPYRIGHT docs include lib sh
[clickv1:root] /usr/java14 > cd bin
[clickv1:root] /usr/java14/bin > ls
HtmlConverter jar javac javaw jvmtcf rmic tnameserv
appletviewer jarsigner javadoc jdb keytool rmid
extcheck java javah jextract native2ascii rmiregistry
idlj java-rmi.cgi javap jformat policytool serialver
[clickv1:root] /usr/java14/bin > ./java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142ifx-20120724 (SR13 FP13) (JIT enabled: jitc))
[clickv1:root] /usr/java14/bin >