可参看“Red
Hat5安装Oracle 11gR2”(http://blog.csdn.net/johnnysun2015/article/details/45022119 )这篇文章。
1. 停止Oracle数据库
SQL> showdown immediate
2. 停止监听和EM
[[email protected] ~]$ lsnrctl stop
[[email protected] ~]$ emctl stop dbconsole
3. 停止http服务
[[email protected] ~]# service httpd stop
4. 删除安装目录
[[email protected] ~]# rm -rf /u01/app/oracle
5. 将/usr/local/bin下的文件删除
[[email protected] bin]# ls
[[email protected] bin]# rm -rf
6. 将/etc/oraInst.loc删除
[[email protected] etc]# rm oraInst.loc
7. 删除oracle用户和用户组
[[email protected] ~]# userdel -r oracle
[[email protected] ~]# groupdel oinstall
[[email protected] ~]# groupdel dba
时间: 2024-11-13 08:12:14