linux 安装oracle 11g

本文档详细记录了在CentOS上安装Oracle 11g的完整过程,包括下载安装包,设置环境,修改系统参数,安装依赖,创建用户和组,配置目录权限,设置环境变量,编辑静默安装响应文件,以及最后的监听器和数据库实例的配置。

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

                                                              linux 安装oracle 11g

1、下载oracle 11g相关安装包

链接:https://pan.baidu.com/s/1TI8BNXk3IbKz2DbTwpDvcQ 
提取码:rau5 

2、上传安装文件至服务器的oracle用户目录下进行解压

3、关闭selinux

    vim /etc/selinux/config

setenforce 0

4、关闭防火墙

 systemctl disable firewalld.service

5、安装oracle 11g依赖包

中间因为centos镜像原因第一次安装失败,更换镜像源后成功

6、添加安装用户和用户组

[root@orcuser yum.repos.d]# groupadd oinstall
[root@orcuser yum.repos.d]# groupadd dba

[root@orcuser ~]#  useradd -g oinstall -G dba oracle
[root@orcuser ~]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
[root@orcuser ~]# id oracle
uid=1000(oracle) gid=1000(oinstall) groups=1000(oinstall),1001(dba)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值