Home  >  Article  >  Database  >  Linux下卸载Oracle数据库

Linux下卸载Oracle数据库

WBOY
WBOYOriginal
2016-06-07 17:05:141257browse

上周,一个同事在Linux下安装Oracle的时候,出现了错误,没有安装成功。领导让我来从新安装,只有将以前的安装全部删除干净才可以

上周,一个同事在Linux下安装Oracle的时候,出现了错误,没有安装成功。领导让我来从新安装,,只有将以前的安装全部删除干净才可以保证再次成功安装,我卸载的步骤如下:

1.运行 $ORACLE_HOME/bin/localconfigdelete
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用户和组。


这个的卸载过程比在Windows下,容易多了:)

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn