Oracle安装后进行卸载
两种方式
方式一:使用oracle自带的runInstaller 卸载
切换到oracle的安装目录
[oracle@dbserver deinstall]$ cd $ORACLE_HOME
[oracle@dbserver 11.2.0]$ cd deinstall/
[oracle@dbserver deinstall]$ ./deinstall
执行成功后,会出现一些列的提示。
[oracle@dbserver deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2021-01-27_03-10-21PM/logs/
############ ORACLE DECONFIG TOOL START ############
######################### DECONFIG CHECK OPERATION START#########################
[START] Install check configuration
Checking for existence of the Oracle home location /data/oracle/app/oracle/product/11.2.0/dbhome_1
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /data/oracle/app
Checking for existence of central inventory location /data/oracle/oraInventory
[END] Install check configuration
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2021-01-27_03-10-21PM/logs/netdc_check2021-01-27_03-10-52-PM.log
Invalid listener list [y]. You can only specify a subset of the configured listeners.
Specify all Single Instance listeners that are to be de-configured. Enter .(dot) to deselect all. [LISTENER