https://pan.gaojs.com.cn/个人工作工具/数据库/oracle19
cat /etc/hosts
192.168.120.205 oracle
执行 hostname oracle 即可,然后再去执行hostname即可看到修改成功
systemctl stop firewalld
vi /etc/selinux/config
vi /etc/yum.repos.d/local.repo
[local]
name=local
enable=1
baseurl=file:///root/base
gpgchech=0
rpm -ivh --nodeps oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
rpm -ivh -- nodeps oracle-database-ee-19c-1.0-1.x86_64.rpm
执行 /etc/init.d/oracledb_ORCLCDB-19c configure
执行su oracle
cd
vi .bashrc
将内容加入:
export ORACLE_HOME=/opt/oracle/product/19c/dbhome_1
export PATH=$PATH:/opt/oracle/product/19c/dbhome_1/bin
export ORACLE_SID=ORCLCDB
执行source .bashrc
执行 sqlplus / as sysdba
执行lsnrctl status
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有