CentOS8-Oracle19c 安装详解-创建OCCI测试表 + Navicate远程连接配置

本文详细介绍了在Linux-CentOS8系统上安装和配置Oracle19c数据库的步骤。包括安装虚拟机、下载镜像、预安装、修改密码、配置环境变量等,还涉及创建和配置数据库、添加用户、创建表空间、赋予权限等操作,最后测试了Navicat远程连接。

Linux-CentOS8-Oracle19c安装图解

预备

1. Oracle19c 安装手册:

https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/installing-the-oracle-preinstallation-rpm-with-uln-support.html#GUID-AF94713E-97AF-4F20-8DBC-36BC383D0301

2. 安装虚拟机:4G内存,2*2核心,30G

过程略

3. 下载CentOS8镜像。

专门用于CentOS安装Oracle的镜像,地址在指导手册里。 很多Linux版本可能会不兼容,所以最好还是按照说明文档来。

在这里插入图片描述在这里插入图片描述
在这里插入图片描述

4. 开始准备预安装

sudo yum install oracle-database-preinstall-19c

在这里插入图片描述在这里插入图片描述

预安装之后,系统会自动创建一个oracle用户。安装手册有写

When installed, the Oracle Database Preinstallation RPM does the following:
•	Automatically downloads and installs any additional RPM packages needed for installing Oracle Grid Infrastructure and Oracle Database, and resolves any dependencies
•	Creates an oracle user, and creates the oraInventory (oinstall) and OSDBA (dba) groups for that user
•	As needed, sets sysctl.conf settings, system startup parameters, and driver parameters to values based on recommendations from the Oracle Database Preinstallation RPM program
•	Sets hard and soft resource limits
•	Sets other recommended parameters, depending on your kernel version
•	Sets numa=off in the kernel for Linux x86_64 and Linux aarch64 machines.

在这里插入图片描述

5. 修改Oracle账户密码

sudo passwd oracle
我的oracle账户密码是:oracle

在这里插入图片描述

查看oracle用户相关信息

[root@localhost ~]# id oracle

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)

注意这里oracle的属组是oinstall,用些系统需要把oracle加入到dba组中,那么在此可以手动加入:

sudo usermod -a -G dba

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

大大枫

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值