使root用户可以使用crsctl命令

cp /root/.bash_profile /root/.bash_profile.bak
vi /root/.bash_profile

PATH=$PATH:$HOME/bin:/opt/grid/products/11.2.0/bin
改为
PATH=$PATH:$HOME/bin:/u01/app/11.2.0/grid/bin
保存退出

source /root/.bash_profile

猜你喜欢

转载自www.cnblogs.com/cnhyk/p/12125199.html
今日推荐