接下来是检测所需要的包
参照官方文档
Asianux 3.0, Oracle Enterprise Linux 5.0, and Red Hat Enterprise Linux 5.0
The following packages (or later versions) must be installed:
binutils-2.17.50.0.6-2.el5
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125
gcc-4.1.1-52
gcc-c++-4.1.1-52
glibc-2.5-12
glibc-common-2.5-12
glibc-devel-2.5-12
glibc-headers-2.5-12
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.1-52
libstdc++-4.1.1
libstdc++-devel-4.1.1-52.e15
make-3.81-1.1
sysstat-7.0.0
所以我们要一个一个检测看有没缺 使用命令 rpm -qa | grep (rpm -q也可以)
我把找出来的标为蓝色
[root@localhost ~]# rpm -qa | grep binutils
binutils-2.17.50.0.6-9.el5
[root@localhost ~]# rpm -qa | grep compat
compat-gcc-34-3.4.6-4
compat-libstdc++-296-2.96-138
compat-gcc-34-c++-3.4.6-4
avahi-compat-libdns_sd-0.6.16-1.el5
compat-gcc-34-g77-3.4.6-4
compat-glibc-2.3.4-2.26
compat-glibc-headers-2.3.4-2.26
compat-libf2c-34-3.4.6-4
compat-libstdc++-33-3.2.3-61
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
[root@localhost ~]# rpm -qa | grep elfutils
elfutils-0.137-3.el5
elfutils-libelf-devel-0.137-3.el5
elfutils-libelf-devel-static-0.137-3.el5
elfutils-libelf-0.137-3.el5
elfutils-libs-0.137-3.el5
[root@localhost ~]# rpm -qa | grep gcc
compat-gcc-34-3.4.6-4
libgcc-4.1.2-44.el5
gcc-c++-4.1.2-44.el5
compat-gcc-34-c++-3.4.6-4
compat-gcc-34-g77-3.4.6-4
gcc-gfortran-4.1.2-44.el5
gcc-4.1.2-44.el5
[root@localhost ~]# rpm -qa | grep glibc
glibc-devel-2.5-34
glibc-2.5-34
glibc-headers-2.5-34
glibc-common-2.5-34
compat-glibc-2.3.4-2.26
compat-glibc-headers-2.3.4-2.26
[root@localhost ~]# rpm -qa | grep libaio
libaio-0.3.106-3.2
[root@localhost ~]# rpm -qa | grep libgcc
libgcc-4.1.2-44.el5
[root@localhost ~]# rpm -qa | grep libstdc
compat-libstdc++-296-2.96-138
libstdc++-4.1.2-44.el5
libstdc++-devel-4.1.2-44.el5
compat-libstdc++-33-3.2.3-61
[root@localhost ~]# rpm -qa | grep make
automake14-1.4p6-13
imake-1.0.2-3
automake-1.9.6-2.1
automake17-1.7.9-7
make-3.81-3.el5
automake16-1.6.3-8
automake15-1.5-16
[root@localhost ~]# rpm -qa | grep sysstat
[root@localhost ~]#
所以总共还缺了2个
binutils-2.17.50.0.6-2.el5
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125
gcc-4.1.1-52
gcc-c++-4.1.1-52
glibc-2.5-12
glibc-common-2.5-12
glibc-devel-2.5-12
glibc-headers-2.5-12
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.1-52
libstdc++-4.1.1
libstdc++-devel-4.1.1-52.e15
make-3.81-1.1
sysstat-7.0.0
我们使用FileZilla来传输文件 它支持SSH
记得以前和虚拟机VM之间传文件的时候,第一种就是建立个FTP,这样挺麻烦的,又要建个服务器,配个目录。第二种是利用VM的功能,装虚拟工具,然后可以直接拖文件,但这样也比较局限,只适用于VM。而用filezilla这种方式既不用配置又可以用在真实的主机上,所以这种方式才是最佳选择
把缺的2个rpm和oracle11g传上去 直接拖进去就可以了 我放在了/home里了
传完后,进入home 把rpm装上
[root@localhost ~]# cd /home
[root@localhost home]# ls
libaio-devel-0.3.106-3.2.i386.rpm sysstat-7.0.2-3.el5.i386.rpm
linux_11gR1_database_1013.zip
[root@localhost home]# rpm -ivh *.rpm
warning: libaio-devel-0.3.106-3.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing... ########################################### [100%]
1:libaio-devel ########################################### [ 50%]
2:sysstat ########################################### [100%]
[root@localhost home]#
现在是一切准备就绪,可以正式开始了