CentOS-6.5-x86_64静默安装Oracle11g(11.2.0.1.0)数据库

本文档详细介绍了在 CentOS 6.5 上静默安装 Oracle 11g(11.2.0.1.0)数据库的全过程,包括环境准备、安装包上传、系统补丁安装、参数修改、用户及目录创建、静默安装及监听配置等关键步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

CentOS-6.5-x86_64静默安装Oracle11g(11.2.0.1.0)

一、环境说明

1、使用VMware Workstation 12 Pro安装的CentOS-6.5-x86_64
2、配置的固定IP地址192.168.183.14
3、第一次安装Oracle11g数据库,版本11.2.0.1.0

二、Oracle11.2.0.1.0安装包

官网下载:https://www.oracle.com/database/technologies/112010-linx8664soft.html

linux.x64_11gR2_database_1of2.zip 
linux.x64_11gR2_database_2of2.zip

三、确认主机名

[oracle@oracle ~]$ hostname
oracle

四、修改主机名

[root@oracle ~] vim /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.183.14 oracle ##增加这一行

五、关闭防火墙

[root@oracle oracle]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination         
1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           
3    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
4    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination         
1    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

[root@oracle oracle]# service iptables stop
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
[root@oracle oracle]# service iptables status
iptables: Firewall is not running.
[root@oracle oracle]#

六、使用SCP工具将oracle安装包上传到/home/oracle/Downloads

[oracle@oracle ~]$ cd /home/oracle/Downloads
[oracle@oracle Downloads]$ ls
linux.x64_11gR2_database_1of2.zip  linux.x64_11gR2_database_2of2.zip
[oracle@oracle Downloads]$ 

七、Linux x86-64 有以下补丁软件包要求

具体可见官网:https://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCIFHBE
在这里插入图片描述
在这里插入图片描述

八、安装缺少的系统补丁包

这边我是采用的创建本地yum源、进行补丁的yum安装
1、下载相应版本的镜像文件iso
这边我是采用的阿里镜像站,下载的CentOS-6.5-x86_64-bin-DVD1.iso
镜像链接:https://mirrors.aliyun.com/centos-vault/6.5/isos/x86_64/
2、将iso文件通过scp工具上传到/soft/ 路径下 (创建soft文件夹 mkdir soft
3、mkdir /mnt/centos65
4、mount -o loop /soft/CentOS-6.5-x86_64-bin-DVD1.iso /mnt/centos65 (重启失效)
5、查看挂载情况 df -h

[root@oracle ~]# df -h
Filesystem                            Size  Used Avail Use% Mounted on
/dev/sda2                              18G   11G  6.6G  61% /
tmpfs                                 931M   72K  931M   1% /dev/shm
/dev/sda1  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值