[root@localhostE~]#vi /etc/profile

export ORACLE_BASE=/DBSoftware/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1

export ORACLE_SID=orcl

export PATH=$PATH:$ORACLE_HOME/bin

保存退出

[root@localhostE~]#source /etc/profile

测试

[root@localhostE~]#sqlplus sys/test1234@orcl as sysdba

相关文章:

  • 2022-01-03
  • 2021-11-19
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
猜你喜欢
  • 2021-05-01
  • 2021-11-30
  • 2021-08-19
  • 2021-11-28
  • 2021-04-03
相关资源
相似解决方案