Linux上卸載Oracle資料庫,linuxoracle資料庫

來源:互聯網
上載者:User

Linux上卸載Oracle資料庫,linuxoracle資料庫

        可參看“Red Hat5安裝Oracle 11gR2”(http://blog.csdn.net/johnnysun2015/article/details/45022119 )這篇文章。

1. 停止Oracle資料庫

        SQL> showdown immediate

 

2. 停止監聽和EM

        [oracle@localhost ~]$  lsnrctl stop
        [oracle@localhost ~]$  emctl stop dbconsole

3.  停止http服務

        [root@localhost ~]#  service httpd stop


4. 刪除安裝目錄

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


5. 將/usr/local/bin下的檔案刪除

        [root@localhost bin]# ls

        [root@localhost bin]# rm -rf


6. 將/etc/oraInst.loc刪除

        [root@localhost etc]#  rm oraInst.loc


7. 刪除oracle使用者和使用者組

        [root@localhost ~]# userdel -r oracle

        [root@localhost ~]#  groupdel oinstall

        [root@localhost ~]#  groupdel dba

相關文章

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.