环境:
OS:AIX 5.3
今天需要解压缩oracle安装文件,发现aix下没有unzip命令,aix默认是不安装unzip的,看来需要自己安装了.
1.首先检查是否安装如下包,若没有安装的话需要从安装介质中安装
lslpp -l |grep -i rpm.rte
lslpp -l |grep -i rpm.rte
就可以像linux那样使用rpm命令来安装软件包了.
2.下载gzip和unzip软件包
下载gzip包,5.2 、5.3都可用官网下载地址:ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gzip/gzip-1.2.4a-10.aix5.2.ppc.rpm
下载unzip包,地址:ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/unzip/unzip-5.51-1.aix5.1.ppc.rpm
下载完成后将如上两个安装包上传到服务器上,这里我是存放在/soft目录下
3.分别安装gzip和unzip软件
#smitty install选择刚才下载的两个包
Install Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software /soft
* SOFTWARE to install [gzip-1.2.4a > +
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
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
Install Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software /soft
* SOFTWARE to install [unzip-5.51 > +
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
F5=Reset F6=Command F7=Edit F8=Image
F9=Shell F10=Exit Enter=Do
4.安装完成后就可以解压缩zip压缩文件了
#unzip aix.ppc64_11gR2_grid.zip -d ./grid
如上命令是将zip文件加压缩到当前目录下的grid目录下
-- The End --
阅读(36233) | 评论(4) | 转发(0) |