Oracle Linux 4.8 builds local source

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.