linux下oracle 11G刪除

1: 停数据库

 

SQL*Plus: Release 11.2.0.3.0 Production on Mon Apr 9 15:22:13 2012

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Enter user-name: /as sysdba

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>

2: 停监听和EM

 

 [oracle@cloud ~]$ lsnrctl stop

 [oracle@cloud ~]$ emctl  stop  dbconsole

3: 停止http服务

 [root@cloud ~]# service httpd stop

4: 删除安装目录

 [root@cloud ~]#rm -rf  /u01/app/oracle

5: 将/usr/bin下的文件删除

 {root@cloud oracle]# cd /usr/local/bin
[root@cloud bin]# ls
coraenv  dbhome  oraenv
[root@cloud bin]# rm -rf *

 

6: 将/etc/oraInst.loc删除
[root@cloud etc]# rm /etc/oraInst.loc

 

7: 将oracle用户和用户组删除
[root@cloud etc]# userdel -r oracle
[root@cloud etc]# groupdel oinstall
[root@cloud etc]# groupdel dba

<script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh"></script> <script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></script>
阅读(346) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值