Oracle 软件删除安装

1
2
3
su - oracle
$ORACLE_HOME/deinstall/deinstall

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
su - oracle
ps -ef | grep lgwr
. oraenv
echo $ORACLE_HOME
env | grep ORA

sqlplus / as sysdba
shutdown immediate;
lsnrctl stop
emctl stop dbconsole
rm -rf $ORACLE_HOME
su - root
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.loc
rm -rf /opt/ORCLfmap