Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Oracle 11g °²×°


¶ÔÓÚOracle£¬±ÊÕßÒ²ÊÇÒ»¸ö³õѧÕߣ¬ÈçÎÄÕÂÖеIJ»×ãÖ®´¦»¹Çë¸÷λÍøÓÑÖ¸Õý
     ÏÂÃæÎÒÃÇ¿ªÊ¼°²×°Oracle£¬ÔÚ°²×°Ö®Ç°£¬ÎÒÃÇÏÈÀ´ÁгöһЩÔÚ°²×°OracleÊý¾Ý¿âʱÐèҪעÒâµÄÊÂÏOracle°²×°³ÌÐò£¨OUI£©²»Ö§³Ö×Ö·û½çÃæ°²×°£¬Òò´Ë°²×°·þÎñÆ÷±ØÐëÓÐX windowsÖ§³Ö ÏÂÃæÊÇÎÒ°²×°OracleÊý¾Ý¿âµÄϵͳÐÅÏ¢
²Ù×÷ϵͳ£ºCentOS 5.2
Oracle°æ±¾£ºOracle database 11g R1 for Linux x86
±¾´Î°²×°·ÖΪÎå¸ö²½Öè
1¡¢ ²å¼þ°üµÄ°²×°£¬Oracle°²×°µÄʱºòÐèÒªºÜ¶à²å¼þÖ§³Ö£¬±ÈÈçgccµÈ
2¡¢ Óû§×éµÄ´´½¨£¬Óû§°²×°ºÍά»¤OracleÊý¾Ý¿â
3¡¢ ϵͳ²ÎÊýÐ޸ģ¬ÓÅ»¯OracleÐÔÄÜ£¬Ê¹°²×°Oracleʱ¸ü¼Ó˳³©
4¡¢ Oracle°²×°
5¡¢ OracleÍøÂçÁ¬½ÓÉèÖÃ
6¡¢ ´´½¨Êý¾Ý¿â
¹ØÓÚһЩ°²×°Ï¸½Ú£¬ºóÃæ±ß²Ù×÷±ß½²½â
 
 
Ò»¡¢²å¼þ°²×°
ËùÐè°²×°²å¼þÈçÏ£¬ÎÒÃÇ¿ÉÒÔʹÓÃrpm –qa À´²éѯϵͳÖÐÏÂÃæµÄÄÄЩ²å¼þ°üûÓа²×°£¬¶ÔÓÚϵͳÖÐûÓа²×°µÄ²å¼þÎÒÃÇ¿ÉÒÔʹÓùâÅÌÖеÄrpm°ü½øÐа²×°£¬Ò²¿ÉÒÔʹÓÃyum½øÐа²×°£¬°²×°²½ÖèÔÚ´ËÊ¡ÂÔ¡£
binutils-2.17.50.0.6-6.el5
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125-3.el5
glibc-2.5-24
glibc-common-2.5-24
glibc-devel-2.5-24
gcc-4.1.2-42.el5
gcc-c++-4.1.2-42.el5
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.2-42.el5
libstdc++-4.1.2-42.el5
libstdc++-devel-4.1.2-42.el5
make-3.81-3.el5
sysstat-7.0.2-1.el5
unixODBC-2.2.11
unixODBC-devel-2.2.11
 
 
 
¶þ¡¢´´½¨Óû§ºÍ×é
´´½¨Óû§ºÍ×éÊÇΪÁ˺ÏÀí·ÖÅä°²×°ºÍά»¤OracleʱÓû§ºÍ×éËùʹÓõÄȨÏÞ£¬Ê×ÏÈÎÒÃÇÀ´´´½¨Ò»¸öĿ¼/u01£¬Õâ¸öĿ¼ÓÃÓÚ°²×°Oracle¡£È»ºó´´½¨oracleÓû§ºÍoinstall¡¢dba×飬Óû§OracleºÍdba×éÓÃÓÚά»¤ºÍ¹ÜÀíOracleÊý¾Ý¿â£¬oinstall×éÓÃÓÚ°²×°Oracle
#mkdir /u01 //´ËĿ¼ΪOracleµÄ°²×°¸úĿ¼
#groupadd oinstall
#groupadd dba
#useradd -g oinstall -G dba -d /u01/oracle oracle //½«/u01/oracle×÷ΪÓû§oracleµÄÓû§Ä¿Â¼
#passwd oracle
#mv /opt/database /u01/oracle/ //°Ñ½âѹÍêµÄOracle°²×°°üdatabaseÎļþ¼ÐÒƶ¯µ½OracleÓû§µÄ¸ùĿ¼
#chown -R oracle:oinstall /u01 //ÐÞ¸Ä/u01 Ŀ¼µÄËùÓÐÕߣ¬ÒÔ±ãOracleÓû§ÔÚ°²×°OracleʱÓÐ×ã¹»µÄȨÏÞ
 
 
Èý¡¢ ϵͳ²ÎÊýÐÞ¸Ä
1¡¢ÐÞ¸ÄÄں˲ÎÊý£¨¿ØÖÆÄÚ´æºÍÎļþ¾ä±úÊý£©
#vi /etc/s


Ïà¹ØÎĵµ£º

¹ØÓÚ·Ö×éºó×Ö¶ÎÆ´½ÓµÄÎÊÌâ (Oracle)

£­£­£­£­£­¹ØÓÚ·Ö×éºó×Ö¶ÎÆ´½ÓµÄÎÊÌâ
À´×Ô:www.itpub.net 
×î½üÔÚÂÛ̳ÉÏ£¬¾­³£»á¿´µ½¹ØÓÚ·Ö×éºó×Ö¶ÎÆ´½ÓµÄÎÊÌ⣬
´ó¸ÅÊÇÀàËÆÏÂÁеÄÇéÐΣº
SQL> select no,q from test
2 /
NO Q
---------- ------------------------------
001 n1
001 n2
001 n3
001 n4
001 n5
002 m1
003 t1
003 t2
003 t3
003 ......

¿ªÊ¼Ê¹ÓÃoracle ³ÂţѧIT

1£¬oracle tools£ºOUI¡¢DBCA¡¢OEM¡¢SQL*PLUS¡¢NETCA¡¢µÚÈý·½¹¤¾ß£¨toad¡¢PL\SQL developer£©
2£¬¿ÉʹÓÃresponsefile¿ìËÙȥͼÐΰ²×°oracle£¬ÔÚÔ´°²×°Îļþ/responseÀïÃæÓÐһЩģ°åÅäÖÃrpsÎļþ
3£¬Ô¤ÖÃÓû§ÊÇsysÓû§ÓësystemÓû§£ºsysÊÇoracleÊý¾Ý¿â
ÖÐȨÏÞ×î¸ßµÄÕʺţ¬¾ßÓÐcreate
databaseµÄȨÏÞ£¬¶øsystemûÓÐÕâ¸öȨÏÞ£ ......

ÓÃsqlplusΪoracle´´½¨Óû§ºÍ±í¿Õ¼ä


 ÓÃOracle9i×Ô´øµÄÆóÒµ¹ÜÀíÆ÷»òPL/SQLͼÐλ¯µÄ·½·¨´´½¨±í¿Õ¼äºÍÓû§ÒÔ¼°·ÖÅäȨÏÞÊÇÏà¶Ô±È½Ï¼òµ¥µÄ£¬±¾ÎÄÒª½éÉܵÄÊÇÁíÒ»ÖÖ·½·¨£¬Ê¹ÓÃOracle 9iËù´øµÄÃüÁîÐй¤¾ß£ºSQLPLUSÀ´´´½¨±í¿Õ¼ä£¬Õâ¸ö·½·¨ÓÃÆðÀ´¸ü¼Ó¼òÃ÷¿ì½Ý¡£
       
        ¼ÙÉè ......

Oracle Application Express µÄ°²×°

°²×°Ç°µÄ×¼±¸£º
      µÇ¼ϵͳ£ºsqlplus system/0621
1.   ´ÓÊý¾Ý×Öµäv$instanceÖлñÈ¡Êý¾Ý¿âµÄʵÀýÃûºÍ°æ±¾ºÅ£ºselect instance_name,version from v$instance;
2.   ´ÓÊý¾Ý×Öµäv$versionÖлñÈ¡°æ±¾µÄÏêϸÐÅÏ¢£ºselect * from v$version;
3.È·ÈÏoracleËùʹÓõIJÎÊýÎļþ ......

ÈçºÎ½â¾ö¾ÖÓòÍøÖÐWindows·À»ðǽ²»ÄÜ·ÃÎÊOracleÎÊÌâ!


Èç¹ûÄãÊÇWINXP»òWIN2003µÄϵͳÖÐ×Ô´øµÄ·À»ðǽ,¿ÉÒÔÊÔÒ»ÏÂÒÔÏ·½·¨:
1.ÔÚ·À»ðǽµÄÀýÍâÖÐ,Ìí¼ÓORACLE.EXEÔËÐгÌÐò.(ÔÚoracle°²×°Ä¿Â¼ÕÒµ½binÎļþ¼ÐÖÐ)
2.ÔÙÔÚ·À»ðǽÀýÍâÖУ¬Ìí¼Ó¶Ë¿Ú1521¶Ë¿Ú¾ÍÑù¾ÖÓòÍøÄÚµÄÆäËû»úÆ÷¾Í¿ÉÒÔ·ÃÎÊÄãµÄORACLEÁË.
»òÕßÔڸ߼¶ÖÐ,Ñ¡Öе±Ç°Ê¹ÓõÄÍø¿¨,Ìí¼ÓIP,¶Ë¿ÚºÅ(1521),ÕâÑù,ÆäËû»úÆ÷Ò²¿ÉÒÔ·ÃÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ