linux 下 oracle 11g r2 的卸载
1.停止oracle服务
[oracle@OracleTest oracle]$ sqlplus /nolog
SQL> connect / as sysdba
SQL> shutdown [immediate]
SQL> exit
2.停止监听Listener 和EM
[oracle@OracleTest oracle]$ lsnrctl stop
[oracle@OracleTest oracle]$ emctl stop dbconsole
3.停止HTTP服务
[root@OracleTest /root]# service httpd stop
4.删除安装目录
rm-rf $ORACLE_BASE/*
5.将/usr/bin下的文件删除
[root@cloud oracle]# cd /usr/local/bin
[root@cloud bin]#
ls
coraenv dbhome oraenv
[root@cloud bin]# rm -rf
6.将oracle用户和用户组删除 (重新安装则不用)
[root@cloud etc]# userdel -r
oracle
[root@cloud etc]# groupdel oinstall
[root@cloud etc]# groupdel dba