使用yum安裝oracle的包
在rhel上安裝oracle需要一些必備的包,如binutils compat-db compat-libstdc++-33 control-center gcc gcc-c++ glibc glibc-common等等。如果一個一個的裝,真的很麻煩,幸好有了yum 和oracle-validated:
1 配置yum public-yum-el5.repo:
[root@db56 yum.repos.d]# cat public-yum-el5.repo
[el5_ga_base]
name=Enterprise Linux $releasever GA - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/0/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u1_base]
name=Enterprise Linux $releasever U1 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/1/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u2_base]
name=Enterprise Linux $releasever U2 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/2/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u3_base]
name=Enterprise Linux $releasever U3 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/3/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u4_base]
name=Enterprise Linux $releasever U4 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/4/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u5_base]
name=Enterprise Linux $releasever U5 - $basearch - base
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/5/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
[el5_addons]
name=Enterprise Linux $releasever - $basearch - addons
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
[el5_oracle_addons]
name=Enterprise Linux $releasever - $basearch - oracle_addons
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
2 yum install oracle-validated:
[root@db56 yum.repos.d]# yum install oracle-validated
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-validated.x86_64 0:1.0.0-22.el5 set to be updated
el5_addons/filelists | 32 kB 00:00
el5_oracle_addons/filelists | 3.1 kB 00:00
el5_u5_base/filelists | 3.0 MB 01:12
--> Processing Dependency: libXp.so.6 for package: oracle-validated
--> Processing Dependency: /usr/lib/libodbccr.so for package: oracle-validated
--> Processing Dependency: unixODBC-devel for package: oracle-validated
--> Processing Dependency: /usr/lib/libaio.so for package: oracle-validated
--> Processing Dependency: libaio-devel for package: oracle-validated
--> Processing Dependency: libdb-4.2.so()(64bit) for package: oracle-validated
--> Running transaction check
---> Package compat-db.x86_64 0:4.2.52-5.1 set to be updated
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package unixODBC-devel.i386 0:2.2.11-7.1 set to be updated
--> Finished Dependency Resolution
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/758322/viewspace-700213/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 使用yum快速安裝oracle11g依賴包Oracle
- 使用yum 安裝依賴關係較多的包
- 配置本地yum源及安裝必要的包
- oracle linux使用安裝盤製作本地yumOracleLinux
- yum安裝及使用全集
- yum更換國內源、yum下載rpm包、 原始碼包安裝原始碼
- 四、yum獲取安裝的軟體包及依賴包
- yum如何解除安裝已安裝的rpm並安裝本地rpm包
- (轉)CentOS 下 rpm包與 yum 安裝與解除安裝CentOS
- redhat配置yum環境安裝rpm包Redhat
- yum install 安裝linux系統包Linux
- Linux安裝MySQL(使用yum)LinuxMySql
- MySQL 原始碼安裝及yum的使用MySql原始碼
- yum安裝
- yum安裝軟體之後如何儲存rpm安裝包
- Centos7使用yum安裝程式軟體時提示未找到安裝包解決方法CentOS
- AIX的yum安裝AI
- mysql安裝 (yum 安裝)MySql
- Centos 用yum安裝軟體包命令總結CentOS
- CentOS 7.0下使用yum安裝MySQLCentOSMySql
- 使用Yum安裝MongoDB Linux版MongoDBLinux
- 使用yum 命令安裝 dotnet 6
- centos7中使用yum安裝NGINX安裝CentOSNginx
- Yum命令之僅下載rpm安裝包且不安裝
- yum 安裝 PHPPHP
- mysql yum 安裝MySql
- yum安裝nginxNginx
- yum安裝lampLAMP
- yum安裝mysqlMySql
- YUM安裝最新的MYSQLMySql
- yum的安裝與配置
- redhat linux 5 之配置YUM源並安裝包RedhatLinux
- yum方式安裝MongoDB所需要的資料包列表介紹MongoDB
- linux 安裝yum 安裝phpLinuxPHP
- Centos 安裝yum,安裝ansibleCentOS
- 修改yum安裝的php的啟動使用者PHP
- yum工具對軟體包安裝,刪除,更新介紹
- 搭建本地yum源,使用安裝光碟的rpm作為yum源的檔案