Installing Oracle 10g RAC with Oracle Linux 4.8 requires a lot of dependency packages to be installed, one of which is more cumbersome. Building a local source is simpler than the previous Oracle Linux 5 and 6.
1. Download and install the Createrepo software
: http://rpm.pbone.net/index.php3/stat/4/idpl/3259698/dir/redhat_el_4/com/createrepo-0.4.6-1.el4.rf.noarch.rpm.html
[Email protected] ~]# RPM-IVH createrepo-0.4.6-1.el4.rf.noarch.rpm
[Email protected] ~]# mkdir/mnt/cdrom/
[Email protected] ~]# mount/dev/hdc/mnt/cdrom/
Mount:block DEVICE/DEV/HDC is write-protected, mounting read-only
[Email protected] ~]# cd/mnt/
[Email protected] mnt]# Createrepo.
[email protected] mnt]# LL
Total 12
Dr-xr-xr-x 6 root root 4096 may cdrom
Drwxr-xr-x 2 root root 4096 Nov 18:32 Hgfs
Drwxr-xr-x 2 root root 4096 Nov 18:18 Repodata
[Email protected] mnt]#
2. Configure the Yum source file
[Email protected] ~]# Vim/etc/yum.repos.d/tong.repo
[Tong]
Name=tong
Baseurl=file:///mnt
Gpgkey=file:///mnt/cdrom/rpm-gpg-key-oracle
Gpgcheck=0
Enabled=1
[Email protected] ~]#
3. Check and install the software
[email protected] ~]# Yum list
[email protected] ~]# Yum install gcc-y
This article is from the "Days Together" blog, please be sure to keep this source http://tongcheng.blog.51cto.com/6214144/1872117
Oracle Linux 4.8 builds local source