Permanently delete oracle in linux

Source: Internet
Author: User
1. & lt ;! -- [Endif] -- & gt; stop the Oracle database service shutdownimmediate; & lt ;! -- [If! SupportLists] -- & gt; 2. & lt ;! -- [Endif] -- & gt; stop listening service lsnrctlstop 3. run the dbca command to uninstall the database instance & lt ;! -- [Endif] -- & gt

I, Stop Oracle database service

Shutdown immediate;

II, Stop listening service

Lsnrctl stop

3. run the dbca command to detach a database instance.

IV, Delete three files under/usr/local/bin

Rm? Rf coraenv

Rm? Rf dbhome

Rm? Rf oraenv

5. delete two files under/etc

Ls? Lt | grep ora

Rm? F oraInst. loc

Rm? Rf oratab

6. delete a directory under/opt

Rm? Rf ORCLfmap

7. delete all files in the oracle installation folder

Cd/home/oracle/

Rm? Rf *

8. delete a user

Userdel? R oracle

9. delete a group

Groupdel oinstall

Groupdel dba

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.