Oracle 11g R1 for Linux(RHEL5)°²×°
1 ¡¢°²×°Ç°µÄ×¼±¸
1.1 ¼ì²éÓ²¼þ
ÎïÀíÄڴ棺 # grep MemTotal /proc/meminfo
½»»»¿Õ¼ä£º # grep SwapTotal /proc/meminfo
½»»»¿Õ¼äµÄ´óСÊǸù¾ÝÎïÀíÄÚ´æµÄ´óСÀ´ÉèÖõģ¬ÎïÀíÄÚ´æÉÙÓÚ 2G µÄÔò½»»»¿Õ¼äÉèΪÎïÀíÄÚ´æµÄÁ½±¶£¬ÎïÀíÄÚ´æ´óÓÚ 2G µÄÔò½»»»¿Õ¼äºÍÎïÀíÄÚ´æ´óСһÑù¡£Èç¹û²»·ûºÏÉÏÊö¹æ¶¨£¬ÄÇô¾ÍÐèÒªÖØÐÂÉèÖý»»»¿Õ¼äµÄ´óС¡£ÖØÐÂÉèÖý»»»¿Õ¼äµÄ´óСÓÐÁ½ÖÖ·½·¨£ºÒ»ÖÖÊÇʹÓà fdisk ɾ³ý½»»»·ÖÇøÖØл®·Ö´óС£»ÁíÒ»ÖÖÊÇ´´½¨Ò»¸öÐÂÎļþ£¬·ÖÅä´óСȻºó¸ñʽ»¯³É½»»»·ÖÇø¡£±¾ÊÖ²áʹÓõڶþÖÖ·½·¨¡£
´´½¨Îļþ£º # touch /home/swap
·ÖÅä¿Õ¼ä£º # dd if=/dev/zero of=/home/swap bs=1024 count=4100000
¸ñʽ»¯Îļþ£º # mkswap /home/swap
Í£Ö¹ swap £º # swapoff –a
ʹÓà swap £º # swapon /home/swap
×Ô¶¯¹ÒÔØ£º # ÔÚ etc/fstab ¡¡Àï¼ÓÈëÒÔÏÂÒ»ÐУº
/home/swap swap swap default 0 0
´ÅÅ̿ռ䣺 # df –ah
Oracle 11g °²×°ËùÐèµÄ´ÅÅÌ¿Õ¼äΪ 1.7G £¬Èç¹û²»¹»µÄ»°µÃÁíÍâÌí¼Ó¡£
1.2 Èí¼þ°ü¼ì²é
¼ì²éÏÂÁаüÊÇ·ñ°²×°£¬Èç¹ûδ°²×°ÔòÒªÏÈ°²×°¡£ # rpm -qa | grep make gcc glibc µÈµÈ
binutils-2.17.50.0.6-2.el5
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125
glibc-2.5-12
glibc-common-2.5-12
glibc-devel-2.5-12
gcc-4.1.1-52
gcc-c++-4.1.1-52
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.1-52
libstdc++-4.1.1
libstdc++-devel-4.1.1-52.e15
make-3.81-1.1
sysstat-7.0.0
unixODBC-2.2.11
unixODBC-devel-2.2.11
1.3 ÏÂÔØÈí¼þ
ÕâÀïÐèҪעÒâµÄÓÐÁ½µã£ºÒ»ÊÇŪÇå³þ·þÎñÆ÷ÊÇ 32 λµÄ»¹ÊÇ 64 λ£»¶þÊDz»ÒªÏÂÔØ Oracle 11gR2 £¬ R2 ²»Äܹ»ÔÚ RHEL5 ÉÏ°²×°¡£²»ÒªÐÁÐÁ¿à¿àµÄÏÂÔØÏÂÀ´£¬È´·¢ÏÖ°æ±¾²»¶Ô£¬ÄǾÍ×öÁ˺ܶàÎÞÓù¦ÁË¡£ Oracle Database Software Downloads £º
http://www.oracle.com/technology/software/products/database/index.html
2 ¡¢°²×°»·¾³ÉèÖÃ
2.1 ºËÐIJÎÊýÉèÖÃ
ÔÚ /etc/sysctl.conf ÎļþÖмÓÈëÏÂÁÐÐУº
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 650
Ïà¹ØÎĵµ£º
±¾ÎĽéÉÜÁËORACLEÖ´Ðмƻ®µÄһЩ»ù±¾¸ÅÄ¹©Ñ§Ï°Ó¦Óá£
Ò»£®Ïà¹ØµÄ¸ÅÄî
RowidµÄ¸ÅÄrowidÊÇÒ»¸öαÁУ¬¼ÈÈ»ÊÇαÁУ¬ÄÇôÕâ¸öÁоͲ»ÊÇÓû§¶¨Ò壬¶øÊÇϵͳ×Ô¼º¸ø¼ÓÉϵġ£¶Ôÿ¸ö±í¶¼ÓÐÒ»¸örowidµÄαÁУ¬µ«ÊDZíÖв¢²»ÎïÀí´æ´¢ROWIDÁеÄÖµ¡£²»¹ýÄã¿ÉÒÔÏñʹÓÃÆäËüÁÐÄÇÑùʹÓÃËü£¬µ«ÊDz»ÄÜɾ³ý¸ÄÁУ¬Ò²²»ÄܶԸÃÁеÄÖµ½øÐÐÐ޸ġ ......
1.2.1 OracleÓëAIXµÄ½ÇÉ«
OracleÔËÐÐÔÚAIXÉÏ£¬Ìṩ×ÅÊý¾ÝµÄ´æ´¢ºÍ¹ÜÀí·þÎñ¡£Êý¾Ý¼´ÐÅÏ¢£¬OracleÊý¾Ý¿â¾ÍÊÇÓ¦ÓÃϵͳÖд洢Êý¾ÝÐÅÏ¢µÄÒ»¸ö¼¯Öд洢λÖá¢Ò»ÖÖ´æÈ¡·½·¨µÄÉÌÆ·»¯ÊµÏÖ¡£AIXÊdzÐÔØOracleÔËÐеĵײãƽ̨£¬½øÐÐ×ÅCPUµ÷¶È¡¢ÄÚ´æµ÷¶È¡¢´æ´¢¹ÜÀí¡¢Îļþ¹ÜÀí¡¢ÍøÂçÇý¶¯µÈϵͳÔËÐкÍά»¤¹¤×÷¡£
×÷Ϊ¶ÔÓ¦ÓÃϵͳµÄÖ§ ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
¸ù¾Ý¹úÍâýÌ屨µÀ£¬½üÈÕ£¬³¯ÏÊ£¨
North
Korea
£©ÍƳöÒ»¿î×ÔÖ÷Æ·ÅÆ
Linux
·¢Ðа棬´Ë¾ÙÓкÎÒâÒ壿
£¨±±£©³¯ÏÊÊÇÒ»¸öºÜÌرðµÄ¹ú¶È£¬¹ú ......
IPµØÖ·ÊÇÒ»¸ö32λµÄ¶þ½øÖÆÊý£¬ËüÓɵã·ÖÊ®½øÖƼǷ¨±íʾ£¬Ã¿Ò»¸öÊ®½øÖÆÊý´ú±íÒ»¸ö8λÎÞ·ûºÅÕûÐÍÊý£¬ËùÒÔ·¶Î§ÔÚ0-255Ö®¼ä¡£
Ò»¸öIPµØÖ··ÖΪÍøÂçµØÖ·ºÍÖ÷»úµØÖ·£¬ÍøÂçµØÖ·Çø·Ö²»Í¬ÍøÂ磬Ö÷»úµØÖ·Çø·ÖÏàͬÍøÂçÖв»Í¬Ö÷»ú¡£²»Í¬µÄIPµØÖ·ÀàËûÃǵÄÖ÷»úÍøÂçµØÖ·Ò²ÊDz»¹Ì¶¨µÄ£¬A,B,CÀàµØÖ·¶¨ÒåÁËijһÖ÷»úÌض¨µÄIPµØÖ·£ ......