内容概要
介绍最新发布的Oracle Database 18c (18.3)的RPM安装方式
1
RPM简介
rpm是以一种数据库记录的方式来将所需要的套件安装在Linux主机的一套管理程序。也就是说Linux系统中存在一个关于rpm的数据库,它记录了安装的包与包之间的依赖相关性。rpm包是预先在Linux主机上编译好并打包的文件,安装起来非常快捷。
2
RPM安装包下载
https://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
选择linux版本进入,选择红框内rpm版本,大小为3.4G
3
rpm方式安装数据库
使用root登录
使用yum命令安装
运行如下脚本进行数据库配置
注意:
你可以编辑配置文件
file.
这个脚本创建一个container database () 和一个pluggable database () 以及标准的1521监听
4
官方文档
Installing Oracle Database RPM with ULN Support
Log in as .
If you are using Oracle Linux and have subscribed to Unbreakable Linux Network (ULN), you can install Oracle Database via a single command.
This command downloads and installs the Oracle Preinstallation RPM and the Oracle Database RPM packages.
The installation of Oracle Database software is now complete, continue to the "Creating and Configuring an Oracle Database" section.
Installing Oracle Database RPM Manually
Log in as .
Download and install the Oracle Preinstallation RPM:
On Oracle Linux
On Red Hat Enterprise Linux
After successful installation, you can delete the downloaded RPM file:
Access the software download page for Oracle Database RPM-based installation from:
Oracle Technology Network
http://www.oracle.com/technetwork/indexes/downloads/index.html
Oracle Software Delivery Cloud portal (edelivery)
https://edelivery.oracle.com/
Unbreakable Linux Network (ULN)
https://linux.oracle.com/
Download the file required for performing an RPM-based installation to a directory of your choice. For example, download the file to the directory.
Install the database software using the command.
Where, is the fully qualified name of the Oracle Database RPM.
The installation of Oracle Database software is now complete.
Creating and Configuring an Oracle Database
To create a sample database with the default settings, perform the following steps:
Log in as
To configure a sample Oracle Database instance, run the following service configuration script:
Note:
You can modify the configuration parameters by editing the file.
This script creates a container database () with one pluggable database () and configures the listener at the default port (1521).
Review the status information that is displayed on your screen.
领取专属 10元无门槛券
私享最新 技术干货