LINUX下完全卸载ORACLE 10G的方法

33 篇文章 0 订阅
1. 运行 $ORACLE_HOME/bin/localconfig delete
2. rm -rf $ORACLE_BASE/*
3. rm -f /etc/oraInst.loc /etc/oratab
4. rm -rf /etc/oracle
5. rm -f /etc/inittab.cssd
6. rm -f /usr/local/bin/coraenv /usr/local/bin/dbhome /usr/local/bin/oraenv
7. 删除oracle用户和组。
 
此方法同样适用与AIX系统,已经测试,其他平台没有验证过。


oracle官方网


5 Removing Oracle SoftwareThis chapter describes how to completely remove all software from an Oracle home directory.

See Also:

If you want to remove an individual product, refer to the product-specific documentation for requirements and restrictions.
5.1 Removing Oracle Software
The following steps describe how to use Oracle Universal Installer to remove Oracle software from an Oracle home:

Note:

Always use Oracle Universal Installer to remove Oracle software. Do not delete any Oracle home directories without first using Oracle Universal Installer to remove the software.
If necessary, log in as the oracle user:

$ su - oracle

Set the ORACLE_HOME environment variable to specify the path of the Oracle home directory that you want to remove:

Bourne, Bash, or Korn shell:

$ ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
$ export ORACLE_HOME

C shell:

$ setenv ORACLE_HOME /u01/app/oracle/product/10.2.0/client_1

Start Oracle Universal Installer as follows:

$ $ORACLE_HOME/oui/bin/runInstaller

In the Welcome window, click Deinstall Products.

The Inventory screen appears, listing all of the Oracle homes on the system.

In the Inventory screen, select the Oracle home and the products that you want to remove, then click Remove.

Oracle Universal Installer displays a confirmation window asking you to confirm that you want to deinstall the products and their dependent components.

Click Yes.

Oracle Universal Installer displays a progress indicator as it removes the software.

Click Close on the Inventory screen.

When the products have been deleted, click Cancel to exit from Oracle Universal Installer, and then click Yes.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值