ORACLE19c引入了一个非常方便的安装方法,使用RPM的方式安装!今天我给大家讲一下如何使用RPM来快捷的安装19c 首先我们得要知道的第一个不同点就是:19c官方支持的系统版本: 简单地来说,19c需要运行在linux7.5以上的系统,7.5以下可能会存在bug 服务器的运行内存需要达到1G以上,/tmp目录需要预留出1GB的空间,数据库软件大概要占用空间10g,但是oracle建议至少要预留100G的空间,避免日后软件目录不断扩大导致的空间不足。 好了,当这些硬性条件满足后,我们就可以开始安装19c数据库! 我们需要先从以下地址,也就是官网上下载一个oracle19c的rpm安装包 https://www.oracle.com/technetwork/indexes/downloads/index.html Oracle:19.3.0.0.0 关闭防火墙 大部分依赖包已经集成在之前我们下载的rpm包里面,但一下依赖包仍然需要我们安装 从oracle源下载原装包到本地 安装预安装包 将介质传输到/tmp下 进行安装 命令执行完毕后,软件安装成功 配置脚本 等待100%complete 安装成功!Oracle Linux 8.1 with the Unbreakable Enterprise Kernel 6: 5.4.17-2011.0.7.el8uek.x86_64 or later Oracle Linux 8 with the Red Hat Compatible kernel: 4.18.0-80.el8.x86_64 or later Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 4: 4.1.12-124.19.2.el7uek.x86_64 or later Oracle Linux 7.4 with the Unbreakable Enterprise Kernel 5: 4.14.35-1818.1.6.el7uek.x86_64 or later Oracle Linux 7.5 with the Red Hat Compatible kernel: 3.10.0-862.11.6.el7.x86_64 or later Red Hat Enterprise Linux 8: 4.18.0-80.el8.x86_64 or later Red Hat Enterprise Linux 7.5: 3.10.0-862.11.6.el7.x86_64 or later SUSE Linux Enterprise Server 12 SP3: 4.4.162-94.72-default or later SUSE Linux Enterprise Server 15: 4.12.14-23-default or later
一:介质需求
oracle-database-ee-19c-1.0-1.x86_64.rpm二:关闭防火墙以及selinux
首先防火墙是一定要一定要关闭的哦 #systemctl stop firewalld.service 关闭操作系统自启动 #systemctl disable firewalld.service 检查关闭情况 systemctl status firewalld.service 如下,dead表示未开启开机启动;inactive表示现在的状态是关闭 [root@DBServer1 ~]# vi /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
三:安装依赖包
yum install libstdc++-devel compat-libstdc++-33 ksh glibc-devel libaio-devel compat-libcap1
四:下载并安装预安装包
curl -o oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
yum -y localinstall oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
五:配置环境变量
su – oracle vi ~/.bash_profile export ORACLE_BASE=/opt/oracle export ORACLE_HOME=/opt/oracle/product/19c/dbhome_1 export PATH=$ORACLE_HOME/bin:$PATH export ORACLE_SID=ORCLCDB
六:安装oracle软件
cd /tmp yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm
七;安装oracle数据库
su – root cd /etc/init.d/ vi oracledb_ORCLCDB-19c
八:执行脚本,开始安装
./oracledb_ORCLCDB-19c configure
九:修改sys密码
alter user sys identified by oracle; alter uer system identified by oracle;
本网页所有视频内容由 imoviebox边看边下-网页视频下载, iurlBox网页地址收藏管理器 下载并得到。
ImovieBox网页视频下载器 下载地址: ImovieBox网页视频下载器-最新版本下载
本文章由: imapbox邮箱云存储,邮箱网盘,ImageBox 图片批量下载器,网页图片批量下载专家,网页图片批量下载器,获取到文章图片,imoviebox网页视频批量下载器,下载视频内容,为您提供.
阅读和此文章类似的: 全球云计算