Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The process of uninstalling oracle 11g in linux environment

2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Stop the library

[oracle@testdb ~] $sqlplus / as sysdbaSQL > shutdown immediateDatabase closed.Database dismounted.ORACLE instance shut down.SQL > exit

two。 Stop monitoring

[oracle@testdb] $lsnrctl stopLSNRCTL for Linux: Version 11.2.0.4.0-Production on 23-DEC-2016 14:44:52Copyright (c) 1991, 2013, Oracle. All rights reserved.Connecting to (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=testdb) (PORT=1521)) The command completed successfully

3. Stop HTTP service

[root@testdb ~] # service httpd stopStopping httpd: [OK]

4. Use su or log back in to root (you can retain the oracle user if you reinstall)

5. Delete the installation directory

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

6. Delete files under / usr/bin

[root@testdb ~] # rm-rf / usr/local/bin/dbhome [root@testdb ~] # rm-rf / usr/local/bin/oraenv [root@testdb ~] # rm-rf / usr/local/bin/coraenv

7. Delete / etc/oratab

[root@testdb ~] # rm / etc/oratab

8. Delete / etc/oraInst.loc

[root@testdb ~] # rm / etc/oraInst.loc

9. Delete oracle users (do not delete if you want to reinstall)

[root@testdb] # userdel-r oracle

10. Delete user groups (do not delete them if you want to reinstall)

[root@testdb ~] # groupdel oinstall [root@testdb ~] # groupdel dba

11. Delete Startup Service

[root@testdb ~] # chkconfig

After restarting at this point, the Oracle database under the Linux system has been completely deleted.

Summary

The above is the method of uninstalling oracle 11g under the linux environment introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to the website!

If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report