欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

linux oracle數(shù)據(jù)庫刪除操作指南

 更新時間:2012年11月15日 11:29:51   作者:  
本文將詳細(xì)介紹Linux操作系統(tǒng)下完全刪除Oracle數(shù)據(jù)庫的操作方法,需要的朋友可以參考下
Linux操作系統(tǒng)下完全刪除Oracle數(shù)據(jù)庫詳述:

1.關(guān)掉oracle server 和 background processes
ps -ef | grep ora
關(guān)掉數(shù)據(jù)庫
shutdown immediate

2.關(guān)掉監(jiān)聽
lsnrctl status
如果開啟的話就執(zhí)行l(wèi)snrctl stop 關(guān)掉

3.把$ORACLE_HOME下面的文件刪掉
用dbca圖形界面把數(shù)據(jù)庫刪掉

4.把/usr/local/bin 下的三個文件夾 dbhome oraenv coraenv刪掉
rm -f dbhome
rm -f oraenv
rm -f coraenv

5.把/etc 下面的 oratab 和orainst.loc刪掉
rm -f oratab
rm -f orainst.loc

6.把/opt 下面ORCLfmap刪掉
rm -fR ORCLfmap

7.[oracle@RedHat ~]$ env | grep ORA
ORACLE_SID=ora10g
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oralce/product/10.2.0/db_1
把上面的目錄下的文件全部刪掉
rm -fR /u01

8.把oracle用戶和oinstall 和 dba 刪掉
必須先刪oracle用戶
userdel -r oracle
groupdel oinstall
groupdel dba

相關(guān)文章

最新評論