Delete Oracle 11g R2 in Linux 6.4

Source: Internet
Author: User

Delete Oracle 11g R2 in Linux 6.4

Close Database
SQL> shutdown [immediate]


Stop Listener
[Oracle @ ora920 oracle] $ lsnrctl stop

If an application service exists, stop the application service first.
[Oracle @ ora920 oracle] $ ORACLE_HOME/Apache/bin/apachectl stop

Delete the installation directory
[Root @ ora920/root] # rm-rf/opt/oracle/

Delete files under/usr/local/bin
[Root @ OracleTest/root] # rm/usr/local/bin/dbhome
[Root @ OracleTest/root] # rm/usr/local/bin/oraenv
[Root @ OracleTest/root] # rm/usr/local/bin/coraenv

Delete/etc/orata
[Root @ OracleTest/root] # rm/etc/oratab

Delete/etc/oraInst. loc
[Root @ OracleTest/root] # rm/etc/oraInst. loc

Delete an oracle user (if you want to reinstall it, Do not delete it)
[Root @ OracleTest/root] # userdel-r oracle

Delete a user group (to reinstall it, Do not delete it)
[Root @ OracleTest/root] # groupdel oinstall
[Root @ OracleTest/root] # groupdel dba

12. Delete the startup Service
[Root @ OracleTest/root] # chkconfig -- del dbora

Recommended reading:

How to install Oracle 11g on Linux

Detailed description of the installation process of Oracle 11g Database in Linux

How to install Oracle 11g R2 single-instance database on CentOS 5.6

To install Oracle Clusterware on an Oracle vmvm

Install Oracle 11 GB single-instance database on Linux under vmvm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.