赞
踩
2.1 安装 database-preinstall
dnf -y install oracle-database-preinstall-23ai-1.0-2.el8.x86_64.rpm
2.2 安装 oracle-database-free
dnf install -y oracle-database-free-23ai-1.0-1.el8.x86_64.rpm
/etc/init.d/oracle-free-23ai configure
切换到oracle用户
$ vi .bash_profile
- # .bash_profile
-
- # Get the aliases and functions
- if [ -f ~/.bashrc ]; then
- . ~/.bashrc
- fi
-
- # User specific environment and startup programs
- export ORACLE_SID=FREE
- export ORAENV_ASK=NO
- . /opt/oracle/product/23ai/dbhomeFree/bin/oraenv
- export ORACLE_BASE=/opt/oracle/
- export ORACLE_HOME=/opt/oracle/product/23ai/dbhomeFree
- export PATH=$ORACLE_HOME/bin:$PATH
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。