¿ìËÙÒµÎñͨµÀ

redhatÏÂÍêȫжÔØOracle10g

×÷Õß ØýÃû¼¼Êõ À´Ô´ Linuxϵͳ ä¯ÀÀ ·¢²¼Ê±¼ä 2012-03-26

1. Óà oracle Óû§µÇ¼
¡¾Èç¹ûÒªÖØ×°, ×îºÃÏÈ×öһЩ±¸·Ý¹¤×÷. ±ÈÈçÓû§µÄµÇ¼½Å±¾,Êý¾Ý¿â×Ô¶¯Æô¶¯¹Ø±ÕµÄ½Å±¾,ºÍ Listener ×Ô¶¯Æô¶¯µÄ½Å±¾.ÒªÊÇÓпÉÄÜÁ¬´´½¨Êý¾Ý¿âµÄ½Å±¾Ò²±£´æÏÂÀ´ ¡¿
2. ʹÓà SQL*PLUS Í£Ö¹Êý¾Ý¿â
[oracle@redhat oracle]$ sqlplus / as sysdba

SQL> shutdown immediate
SQL> exit

3. ֹͣ Listener
[oracle@redhat oracle]$ lsnrctl stop

4. Í£Ö¹ HTTP ·þÎñ
[oracle@redhat oracle]$ $ORACLE_HOME/Apache/Apache/bin/apachectl stop

5. ÓÃrootµÇ½

6. ½«°²×°Ä¿Â¼É¾³ý
[root@redhat /root]# rm -rf /oracle/*

7. ½« /usr/bin ϵÄÎļþɾ³ý
[root@redhat /root]# rm /usr/bin/dbhome
[root@redhat /root]# rm /usr/bin/oraenv
[root@redhat /root]# rm /usr/bin/coraenv

10gÔÚÏÂÃæµÄĿ¼£º

1. rm -f /etc/oraInst.loc /etc/oratab
2. rm -rf /etc/oracle
3. rm -f /usr/local/bin/coraenv /usr/local/bin/dbhome /usr/local/bin/oraenv

8.

½« /etc/oratab ɾ³ý
[root@redhat /root]# rm /etc/oratab

9. ½« /etc/oraInst.loc ɾ³ý
[root@redhat /root]# rm /etc/oraInst.loc

10. ½« oracle Óû§É¾³ý ( ÈôÒªÖØа²×° , ¿ÉÒÔ²»É¾³ý )
[root@redhat /root]# userdel –r oracle

11. ½«Óû§×éɾ³ý ( ÈôÒªÖØа²×° , ¿ÉÒÔ²»É¾³ý )
[root@redhat /root]# groupdel oinstall
[root@redhat /root]# groupdel dba

12. ½«Æô¶¯·þÎñɾ³ý
[root@redhat /root]# chkconfig --del dbstart (·þÎñÃû,¸ù¾Ý×Ô¼ºÇé¿ö)

°²×°Ê§°Üɾ³ýOracle 10gÈí¼þµÄ·½·¨
./runInstall-->deinstall-->ËùÓÐOracle 10gÈí¼þ-->remove
rm -rf /oracle/app/* /opt/oracle/ocfs2/* /usr/local/bin/dbhome /usr/local/bin/oraenv
rm -rf /etc/ora* /oracle/oraInventory/ /oracle/admin /oracle/crs /tmp/* /etc/init.d/init*
delete ASM´ÅÅÌ
ÔÚÒ»¸ö½ÚµãÉÏÖ´ÐÐ
/etc/init.d/oracleasm deletedisk VOL1
/etc/init.d/oracleasm deletedisk VOL2
/etc/init.d/oracleasm deletedisk VOL3
ÖØд´½¨ASM´ÅÅÌ
ÔÚÒ»¸ö½ÚµãÉÏÖ´ÐÐ
/etc/init.d/oracleasm createdisk VOL1 /dev/sda2
/etc/init.d/oracleasm createdisk VOL2 /dev/sda3
/etc/init.d/oracleasm createdisk VOL3 /dev/sda4
/etc/init.d/oracleasm listdisks
È»ºóÔÚÁíÍâ½ÚµãÉÏÖ´ÐÐ
/etc/init.d/oracleasm scandisks
/etc/init.d/oracleasm listdisks
ÖØиñʽ»¯OCFS2 ·ÖÇø
mkfs.ocfs2 -b 4k -C 32k -N 2 -L ocfs2 /dev/sda1
reboot

±¾Îijö×Ô ¡°ÀÏ´ó²»Ð¡¡± ²©¿Í,ÇëÎñ±Ø±£Áô´Ë³ö´¦http://lubcdc.blog.51cto.com/3785870/723162

ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»!

·ÖÏíµ½£º ¸ü¶à

Copyright ©1999-2011 ÏÃÃÅÁèÖڿƼ¼ÓÐÏÞ¹«Ë¾ ÏÃÃÅÓÅͨ»¥Áª¿Æ¼¼¿ª·¢ÓÐÏÞ¹«Ë¾ All rights reserved

µØÖ·(ADD)£ºÏÃÃÅÈí¼þÔ°¶þÆÚÍûº£Â·63ºÅ701E£¨¶«ÄÏÈÚͨÅÔ£© Óʱà(ZIP)£º361008

µç»°£º0592-5908028 ´«Õ棺0592-5908039 ×ÉѯÐÅÏ䣺web@lingzhong.cn ×ÉѯOICQ£º173723134

¡¶ÖлªÈËÃñ¹²ºÍ¹úÔöÖµµçÐÅÒµÎñ¾­ÓªÐí¿ÉÖ¤¡·ÃöB2-20100024  ICP±¸°¸:ÃöICP±¸05037997ºÅ