赞
踩
1)百度搜索Oracle官网,选中有“官网”标签网站:
2)在新打开页面点击页面顶部的“Products”:
在新打开页面点击“Oracle Database”:
4)在新打开页面点击“Download Oracle Database 19c”:
5)在新打开页面点击“Download Oracle Database Free for Linux(RPM)”
6)待下载完“oracle-database-free-23c-1.0-1.el8.x86_64.rpm”后再点击“Oracle Database Free Installation Guide for Linux”
7)在新打开网页左侧选中“Installing Oracle Database Free”
8)再“Red Hat Enterprise Linux 8”分组下找到“oracle-database-preinstall-23c-1.0-1.el8.x86_64.rpm”下载网址,粘贴到地址栏打开改网址:
9)找到“oracle-database-preinstall-23c-1.0-1.el8.x86_64.rpm”点击下载:
10)必应搜索“compat-openssl10”,点击“Compat-openssl10 Download (RPM) - pkgs.org”
11)再新打开网页里面点击“Enterprise Linux 9 (CentOS 9, RHEL 9, Rocky Linux 9, AlmaLinux 9)”下“compat-openssl10-1.0.2u-1.el9.x86_64.rpm”
12)在新打开网页Download分组找到 “Binary Package https://pkgs.dyn.su/el9/base/x86_64/compat-openssl10-1.0.2u-1.el9.x86_64.rpm”,在地址栏输入该网址下载“compat-openssl10-1.0.2u-1.el9.x86_64.rpm”
13)将下载的“compat-openssl10-1.0.2u-1.el9.x86_64.rpm”、“oracle-database-free-23c-1.0-1.el8.x86_64.rpm”、“oracle-database-preinstall-23c-1.0-1.el8.x86_64.rpm”放在一个文件夹里面,打开一个终端,切换root用户:
14)dnf -y localinstall compat-openssl10-1.0.2u-1.el9.x86_64.rpm
15)dnf -y localinstall oracle-database-preinstall-23c-1.0-1.el8.x86_64.rpm
16)dnf -y localinstall oracle-database-free-23c-1.0-1.el8.x86_64.rpm
17)/etc/init.d/oracle-free-23c configure
18)切换至Oracle用户:su – oracle
19)~/.bash_profile追加内容:vim ~/.bash_profile
export ORACLE_SID=FREE
export ORAENV_ASK=NO
export ORACLE_HOME=/opt/oracle/product/23c/dbhomeFree
export PATH=
O
R
A
C
L
E
H
O
M
E
/
b
i
n
:
ORACLE_HOME/bin:
ORACLEHOME/bin:PATH
20) 刷新环境变量:source ~/.bash_profile
21)启动监听:lsnrctl start
22)查看监听状态:lsnrctl status
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。