作者 | 徐sir 11g ocm、Oracle ACE-A、PGCM
中国OCMU成员、中国ACDU成员、墨天轮2023年十大优秀作者、青学会著名成员
如需转载请私信联系我,除了墨天轮、CSDN、PGFANS和微信公众号以外都不是我的号
如果觉得我写的对你有帮助,麻烦动动小手,点下:转发、关注、在看,帮我多增加点人气
个人水平有限,有意见或者发现文章有误请留言、私信我,喷子轻喷
Oracle刚刚发布了最新的Oracle database 23ai版本测试安装包,有兴趣的小伙伴可以安装体验一下。
关于安装的介质可以去如下地址下载:
Oracle linux 8.9系统安装ISO
https://yum.oracle.com/oracle-linux-isos.html
Oracle database 23ai RPM安装包
https://www.oracle.com/database/free/get-started/
整个安装过程非常丝滑,大家跟着我来安装一下
1、安装最低要求
Requirement | Value |
---|---|
Operating system | See Oracle Database Installation Guide for Linux for the list of supported Linux distributions and the minimum operating system requirements for each x86-64 Linux platform. |
Network protocol | The following protocols are supported:IPCUDPTCP/IPTCP/IP with SSL |
RAM | 1 GB RAM minimum. 2 GB RAM recommended. |
Disk space | 10 GB minimum. |
2、Linux8.0系统要求
这里引用一下官方文档,基本上你最小化安装系统就行。
Item | Requirements |
---|---|
SSH Requirement | Ensure that OpenSSH is installed on your servers. OpenSSH is the required SSH software. |
Oracle Linux 8 | Minimum supported versions:Oracle Linux 8.6 with the Unbreakable Enterprise Kernel 6: 5.4.17-2136.312.3.4.el8uek.x86_64 or laterOracle Linux 8.6 with the Red Hat Compatible Kernel: 4.18.0-372.26.1.0.1.el8_6.x86_64 or laterNote: Oracle recommends that you update Oracle Linux to the latest available version and release level. |
Packages for Oracle Linux 8 | Subscribe to the Oracle Linux 8 channel on the Unbreakable Linux Network, or configure a yum repository from the Oracle Linux yum server website, and then install the Oracle Database Preinstallation RPM, oracle-database-preinstall-23ai . The Oracle Database Preinstallation RPM, oracle-database-preinstall-23ai , automatically installs all required packages listed in the table below, their dependencies for Oracle Grid Infrastructure and Oracle Database installations, and also performs other system configuration. If you install the Oracle Database Preinstallation RPM, oracle-database-preinstall-23ai , then you do not have to install these packages, as the Oracle Database Preinstallation RPM automatically installs them. bc binutils compat-openssl10 elfutils-libelf fontconfig glibc glibc-devel ksh libaio libXrender libX11 libXau libXi libXtst libgcc libnsl libstdc++ libxcb libibverbs libasan liblsan librdmacm make policycoreutils policycoreutils-python-utils smartmontools sysstat |
Optional Packages for Oracle Linux 8 | Based on your requirement, install the latest released versions of the following packages: ipmiutil (for Intelligent Platform Management Interface) libnsl2 (for Oracle Database Client only) libnsl2-devel (for Oracle Database Client only) net-tools (for Oracle RAC and Oracle Clusterware) nfs-utils (for Oracle ACFS) |
3、准备基础环境
第1步,到Oracle的yum地址,下载preinstall安装包,下载地址如下:
https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/
下载安装包oracle-database-preinstall-23ai-1.0-2.el8.x86_64.rpm
第2点,配置好YUM源
mount /dev/cdrom /mnt
rm -rf /etc/yum.repos.d/*.repo
cat >/etc/yum.repos.d/local.repo
5、启动&停止数据库
启动数据库
[root@OEL8 ~]# /etc/init.d/oracle-free-23ai start
Starting Oracle Net Listener.
Oracle Net Listener started.
Starting Oracle Database instance FREE.
Oracle Database instance FREE started.
停止数据库
[root@OEL8 ~]# /etc/init.d/oracle-free-23ai stop
Shutting down Oracle Database instance FREE.
Oracle Database instance FREE shut down.
Stopping Oracle Net Listener.
Oracle Net Listener stopped.
剩下的大家就慢慢玩吧!