hj57519153

在oracle用户修改oracle11g的环境变量,发现在/home/oracle下找不到.bash_profile文件。

建议在root用户下把.bash_profile拷到/home/oracle下

cp /root/.bash_profile /home/oracle

因为已经安装到配置环境变量,所以一般都已经建了group了,如果没有建group,请参照oracle11g的安装文档新建group;

给文件授权: 在root用户下运行该命令

#chown -R oracle:oinstall /home/oracle

现在在oracle用户下可以使用.bash_profile文件了。

分类:

技术点:

相关文章:

  • 2021-12-19
  • 2021-11-05
  • 2022-12-23
  • 2021-11-27
  • 2021-07-16
  • 2021-11-27
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2022-01-29
  • 2022-12-23
  • 2021-07-02
  • 2021-05-26
  • 2021-06-11
  • 2021-12-04
  • 2022-12-23
相关资源
相似解决方案