安装Oracle需要的软件包
[Selina@selina oracle]$ ls
compat-db-4.6.21-15.el6.x86_64.rpm
compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm
control-center-filesystem-2.28.1-37.el6.x86_64.rpm
gcc-4.4.6-4.el6.x86_64.rpm
gcc-c++-4.4.6-4.el6.x86_64.rpm
ksh-20100621-16.el6.x86_64.rpm
libstdc++-devel-4.4.6-4.el6.x86_64.rpm
libXp-1.0.0-15.1.el6.x86_64.rpm
setarch-2.0-1.1.x86_64.rpm
www.zzzyk.com
//*缺失如上文件,下载如下*//
//*安装compat-db,出师不利,错误如下*//
[root@selina oracle]# rpm -ivh compat-db-4.6.21-15.el6.x86_64.rpm
warning: compat-db-4.6.21-15.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
compat-db42(x86-64) = 4.2.52-15.el6 is needed by compat-db-4.6.21-15.el6.x86_64
compat-db43(x86-64) = 4.3.29-15.el6 is needed by compat-db-4.6.21-15.el6.x86_64
www.zzzyk.com
//*猜测需要安装前面的版本,尝试寻找下载,未能找到。书上讲接插入安装盘安装,找到刻录的安装盘,在Packages里找到compat-db-4.6.21-15.el6.x86_64.rpm,尝试安装*//
//*首先挂载光驱*//
[root@selina /]# mkdir -p /mnt/cdrom //*mkdir 新建文件夹命令mkdir [-m] [-p] 目录名*//
[root@selina /]# mount /dev/cdrom /mnt/cdrom //*mount 挂载命令mount 设备 目录名*//
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@selina /]# cd /mnt/cdrom
//*进入挂载目录,ls显示文件夹,cd Packages进入*//
[root@selina /]# cd /mnt/cdrom
[root@selina cdrom]# cd Packages
[root@selina Packages]#
//*安装*//
[root@selina Packages]# rpm -ivh compat-db-4.6.21-15.el6.x86_64.rpm
warning: compat-db-4.6.21-15.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
compat-db42(x86-64) = 4.2.52-15.el6 is needed by compat-db-4.6.21-15.el6.x86_64
compat-db43(x86-64) = 4.3.29-15.el6 is needed by compat-db-4.6.21-15.el6.x86_64
[root@selina Packages]# rpm -ivh compat-db42-4.2.52-15.el6.x86_64.rpm
warning: compat-db42-4.2.52-15.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
1:compat-db42 ########################################### [100%]
[root@selina Packages]# rpm -ivh compat-db43-4.3.29-15.el6.x86_64.rpm
warning: compat-db43-4.3.29-15.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
1:compat-db43 ########################################### [100%]
[root@selina Packages]# rpm -ivh compat-db
compat-db42-4.2.52-15.el6.i686.rpm compat-db43-4.3.29-15.el6.x86_64.rpm
compat-db42-4.2.52-15.el6.x86_64.rpm compat-db-4.6.21-15.el6.i686.rpm
compat-db43-4.3.29-15.el6.i686.rpm compat-db-4.6.21-15.el6.x86_64.rpm
[root@selina Packages]# rpm -ivh compat-db-4.6.21-15.el6.x86_64.rpm
warning: compat-db-4.6.21-15.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
1:compat-db ########################################### [100%]
//*依然提示缺失,破罐子破摔,反正包里也有那2个文件,装了试试,成功把3个都装上了...*//
//*装好大部分了,gcc,gcc-c++,libstdc++-devel,setarch,缺失好多关联软件和有错误*//
明天在继续搞了,好头大。