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

Oracle database cleanup directory script completely

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Delete directory

Rm-rf / opt/grid

Rm-rf / opt/oracle

Rm-rf / opt/ogrid

Rm-rf / etc/ora*

Rm-rf / tmp/.oracle

Rm-rf / var/tmp/.oracle

Rm-rf / etc/init/oracle-ohasd.conf

Rm-rf / etc/init.d/ohasd

Rm-rf / etc/init.d/init.ohasd

Create a directory

Mkdir-p / opt/grid/products/11.2.0

Mkdir-p / opt/ogrid

Mkdir-p / opt/oracle/products/11.2.0

Mkdir-p / opt/grid/oraInventory

Chown-Rf grid.oinstall / opt/grid

Chown-Rf grid.oinstall / opt/ogrid

Chown-Rf oracle.oinstall / opt/oracle

Server needs to be restarted

Reboot

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

Database

Wechat

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

12
Report