例:oracle原缺省目录为/home/oralce ,现改为/u01/app/oracle
步骤:
1,拷贝.bash_profile
$ cp /home/oracle/.bash_profile /u01/app/oracle/.bash_profile
2,拷贝.bashrc
$ cp /home/oracle/.bashrc /u01/app/oracle/.bashrc
3,usermod
# usermod -d /u01/app/oracle oracle
微信扫一扫
例:oracle原缺省目录为/home/oralce ,现改为/u01/app/oracle
步骤:
1,拷贝.bash_profile
$ cp /home/oracle/.bash_profile /u01/app/oracle/.bash_profile
2,拷贝.bashrc
$ cp /home/oracle/.bashrc /u01/app/oracle/.bashrc
3,usermod
# usermod -d /u01/app/oracle oracle
相关推荐