Linux uninstall ORCLE operation steps

Table of contents

1. Stop the database

2. Stop listening

3. Stop httpd service

4. Uninstall

5. Delete the oracle directory

6. Delete the following files


1. Stop the database

# sqlplus / as sysdba
>shutdown immediate

2. Stop listening

# lsrnctl sto

3. Stop httpd service

# service httpd stop

4. Uninstall

$ORACLE_HOME/deinstall/deinstall

5. Delete the oracle directory

rm /u01 -rf

6. Delete the following files

rm -rf /usr/local/bin/dbhome
rm -rf /usr/local/bin/oraenv
rm -rf /usr/local/bin/coraenv
rm -rf /etc/oratab
rm -rf /etc/oraInst.locs

So far all oracle has been deleted!

Guess you like

Origin blog.csdn.net/weixin_46156489/article/details/130042848