Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle linux 4.8 build local source

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Installing oracle 10g rac with oracle linux 4.8requires a lot of dependent packages, one of which is troublesome. Building a local source is relatively simple and more complex than previous oracle linux 5 and 6.

1. Download and install createrepo software

Download address: 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

[root@rac10g01] # rpm-ivh createrepo-0.4.6-1.el4.rf.noarch.rpm

[root@rac10g01 ~] # mkdir / mnt/cdrom/

[root@rac10g01 ~] # mount / dev/hdc / mnt/cdrom/

Mount: block device / dev/hdc is write-protected, mounting read-only

[root@rac10g01 ~] # cd / mnt/

[root@rac10g01 mnt] # createrepo. /

[root@rac10g01 mnt] # ll

Total 12

Dr-xr-xr-x 6 root root 4096 May 21 2009 cdrom

Drwxr-xr-x 2 root root 4096 Nov 12 18:32 hgfs

Drwxr-xr-x 2 root root 4096 Nov 12 18:18 repodata

[root@rac10g01 mnt] #

two。 Configure yum source files

[root@rac10g01 ~] # 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

[root@rac10g01 ~] #

3. Check and install softwar

[root@rac10g01 ~] # yum list

[root@rac10g01 ~] # yum install gcc-y

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report