技術(shù)分享 LINUX卸載oracle
此文檔適合刪除在LINUX系統(tǒng)上的Oracle 11g 12c 19c數(shù)據(jù)庫
[oracle@sztech ~]$ sqlplus / as sysdba
SQL> shutdown immediate # 關(guān)閉數(shù)據(jù)庫
SQL>exit
[oracle@sztech ~]$ lsnrctl stop # 關(guān)閉監(jiān)聽
su - root
rm -rf /u01/app/1x/grid/* #如果你安裝GRID組件的話-ASM
rm -rf /u01/app/grid/* #如果你安裝GRID組件的話-ASM
rm -rf /u01/app/oracle/* #根據(jù)安裝目錄來
rm -rf /u01/oraInventory/* #根據(jù)安裝目錄來
rm -rf /etc/ora*
rm -rf /tmp/OraInstall*
rm -rf /tmp/.oracle
rm -rf /opt/ORCLfmap
rm -rf /var/tmp/.orac*
rm -rf /usr/local/bin/coraenv
rm -rf /usr/local/bin/dbhome
rm -rf /usr/local/bin/oraenv
chkconfig --del dbora # 啟動(dòng)服務(wù)刪除

標(biāo)簽: