使用yum快速安装oracle11g依赖包
2017-03-04 16:32
435 查看
步奏:
a、确保网络畅通,即可连接到Internet。
b、已经安装了yum包管理工具。
c、切换到目录 /etc/yum.repos.d/
d、获取配置文件并进行相应修改wget http://public-yum.oracle.com/public-yum-ol6.repo(所需安装版本项下字段enabled=0更改为enabled=1)
e、使用yum安装oracle-rdbms-server-11gR2-preinstall包(oracle-rdbms-server-11gR2-preinstall)
f、校验内核修改日志及原文件备份情况
实战操作:
切换到目录 /etc/yum.repos.d/
[root@oel63 ~]# cd /etc/yum.repos.d/
获取配置文件并进行相应修改
[root@oel63 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo
--2014-05-16 14:41:51-- http://public-yum.oracle.com/public-yum-ol6.repo
Resolving public-yum.oracle.com... 184.51.198.32, 184.51.198.8, 184.51.198.65
Connecting to public-yum.oracle.com|184.51.198.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4233 (4.1K) [text/plain]
Saving to: “public-yum-ol6.repo”
100%[======================================>] 4,233 --.-K/s in 0.001s
2014-05-16 14:41:51 (5.76 MB/s) - “public-yum-ol6.repo” saved [4233/4233
[root@oel63 yum.repos.d]# ls -hltr
total 8.0K
-rw-r--r--. 1 root root 4.2K Nov 25 04:58 public-yum-ol6.repo
[root@oel63 yum.repos.d]# vi public-yum-ol6.repo
#本环境为Oracle Linux 6.3,因此修改了以下2个部分。即将需要安装的部分的enabled的值置为1
[ol6_u3_base]
name=Oracle Linux $releasever Update 3 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
使用yum安装oracle-rdbms-server-11gR2-preinstall包
[root@oel63 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall
校验结果
[root@oel63 ~]# cd
/var/log/oracle-rdbms-server-11gR2-preinstall/results/
[root@oel63 results]# ls
orakernel.log
[root@oel63 results]# more
orakernel.log
参考链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
a、确保网络畅通,即可连接到Internet。
b、已经安装了yum包管理工具。
c、切换到目录 /etc/yum.repos.d/
d、获取配置文件并进行相应修改wget http://public-yum.oracle.com/public-yum-ol6.repo(所需安装版本项下字段enabled=0更改为enabled=1)
e、使用yum安装oracle-rdbms-server-11gR2-preinstall包(oracle-rdbms-server-11gR2-preinstall)
f、校验内核修改日志及原文件备份情况
实战操作:
切换到目录 /etc/yum.repos.d/
[root@oel63 ~]# cd /etc/yum.repos.d/
获取配置文件并进行相应修改
[root@oel63 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo
--2014-05-16 14:41:51-- http://public-yum.oracle.com/public-yum-ol6.repo
Resolving public-yum.oracle.com... 184.51.198.32, 184.51.198.8, 184.51.198.65
Connecting to public-yum.oracle.com|184.51.198.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4233 (4.1K) [text/plain]
Saving to: “public-yum-ol6.repo”
100%[======================================>] 4,233 --.-K/s in 0.001s
2014-05-16 14:41:51 (5.76 MB/s) - “public-yum-ol6.repo” saved [4233/4233
[root@oel63 yum.repos.d]# ls -hltr
total 8.0K
-rw-r--r--. 1 root root 4.2K Nov 25 04:58 public-yum-ol6.repo
[root@oel63 yum.repos.d]# vi public-yum-ol6.repo
#本环境为Oracle Linux 6.3,因此修改了以下2个部分。即将需要安装的部分的enabled的值置为1
[ol6_u3_base]
name=Oracle Linux $releasever Update 3 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
使用yum安装oracle-rdbms-server-11gR2-preinstall包
[root@oel63 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall
校验结果
[root@oel63 ~]# cd
/var/log/oracle-rdbms-server-11gR2-preinstall/results/
[root@oel63 results]# ls
orakernel.log
[root@oel63 results]# more
orakernel.log
参考链接:http://www.linuxidc.com/Linux/2014-09/106127.htm
相关文章推荐
- (原创)RHEL/CentOS 5.x使用yum快速安装MySQL 5.5.x
- centos使用yum快速安装osa v1.0.3版本
- Centos6.5使用yum安装mysql——快速上手必备
- Linux学习总结(4)——Centos6.5使用yum安装mysql——快速上手必备
- Centos6.5使用yum安装mysql——快速上手必备
- Redhat 无法使用yum快速安装软件的解决方案
- CentOS下使用yum快速安装memcached
- Centos6.5使用yum安装mysql——快速上手必备(转)
- Centos6.5使用yum安装mysql——快速上手必备
- Linux学习总结(4)——Centos6.5使用yum安装mysql——快速上手必备
- CentOS 5.x使用yum快速安装MySQL 5.5.X
- Zabbix 使用yum快速安装
- Centos6.5使用yum安装mysql——快速上手必备
- 使用yum快速部署Oracle安装环境(11g)
- RHEL/CentOS 5.x使用yum快速安装MySQL 5.5.x
- CentOS 6.x使用yum快速安装Apache+PHP+Tomcat(JSP)+MySQL
- CentOS 6.x使用yum快速安装Apache+PHP+Tomcat(JSP)+MySQL
- 使用yum快速部署Oracle安装环境(11g)
- Centos6.5使用yum安装mysql——快速上手必备
- Centos6.5使用yum安装mysql——快速上手必备