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)