Oracle11gR2 for Linux ¾²Ä¬°²×°±Ê¼Ç
±¾ÎĵµÊÇOracle
Database 11.2.0.1 for RHEL5 Server(°üÀ¨x86ºÍx86_64ƽ̨)µÄ¾²Ä¬°²×°Ö¸ÄÏ. ËùÓвÙ×÷ÎÞÐèʹÓÃͼÐνçÃæ. ¾²Ä¬°²×°ÄܼõÉÙ°²×°³ö´íµÄ¿ÉÄÜÐÔ, Ò²ÄÜ´ó´ó¼Ó¿ì°²×°ËÙ¶È.
# ºó¸úÃüÁî±íʾÒÔ²Ù×÷ϵͳÏÂrootÓû§²Ù×÷; ºó¸úÃüÁî±íʾÒÔ²Ù×÷ϵͳÏÂoracleÓû§²Ù×÷;
1.1 ÉÏ´«Èí¼þ
¼ÙÈç·ÅÔÚ/wangnc/oracle/11g/Ŀ¼ÏÂ.
# mkdir -p /wangnc/oracle/11g/
# cd /wangnc/oracle/11g/
¿Éͨ¹ýSecureFX¹¤¾ßsftpÉÏ´«Êý¾Ý¿â°²×°Îļþ.
1.2 Package°²×°¼ì²é
# rpm -q \
binutils \
compat-libstdc++-33 \
elfutils-libelf \
elfutils-libelf-devel \
expat \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
libaio \
libaio-devel \
libgcc \
libstdc++ \
libstdc++-devel \
make \
pdksh \
sysstat \
unixODBC \
unixODBC-devel | grep "not
installed"
1.3 Ôö¼ÓÊý¾Ý¿â×éºÍÓû§
# id oracle (È·ÈÏoracleÓû§ÊÇ·ñ´æÔÚ)
# /usr/sbin/groupadd oinstall (½¨Á¢²úÆ·Çåµ¥¹ÜÀí×é)
# /usr/sbin/groupadd dba (½¨Á¢Êý¾Ý¿â°²×°×é)
# /usr/sbin/groupadd asmadmin (½¨Á¢ASM¹ÜÀí×é)
# /usr/sbin/groupadd asmdba (½¨Á¢Grid¹ÜÀí×é)
# /usr/sbin/useradd -g oinstall -G
dba,asmdba oracle -d /home/oracle (oinstallΪÖ÷Òª×é,È·±£/home/oracleÔ²»´æÔÚ)
# id oracle (¼ÇסoracleÓû§µÄuidºÍgid)
uid=501(oracle) gid=501(oinstall)
groups=501(oinstall),502(dba),504(asmdba)
# passwd oracle
1.4 µ÷ÕûOSÄں˲ÎÊý
ÉèÖÃÔÔò:
kernel.shmmax Ϊ 4GB-1byte»òÒ»°ëµÄÎïÀíÄÚ´æ, ÄĸöÖµ¸üµÍÓÃÄĸö;
fs.file-max Ϊ512 * PROCESSES.
# vi /etc/sysctl.conf (Ôö¼Ó»òÐÞ¸ÄÒÔϲÎÊý, ²Î¿¼ÖµÎª×îСÐèÇó, kernel.shmmaxĬÈϼ´¿ÉÎÞÐèÉèÖà )
#------------------------------------------
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
#kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
#------------------------------------------
# /sbin/sysctl -p (ÉèÖòÎÊýÁ¢¼´ÉúЧ)
1.5 Ôö¼ÓshellÏÞÖÆ
ΪÁËÌáÉýÐÔÄÜÔö¼ÓoracleÓû§µÄshellÏÞÖÆ.
# vi /etc/securit
Ïà¹ØÎĵµ£º
°²×°Kmplayer²¥·ÅÆ÷
£¨×÷Õß/l4nneret£©ÎªÁËÄÜÔÚ Linux ÏÂÒ²Äܲ¥·Å¶àýÌåÎļþ£¬ÓÚÊÇ°²×°¾Ý³ÆºÜÇ¿º·µÄ Kmplayer ²¥·ÅÆ÷¡£¹ý³ÌÈçÏ£ºÔÚ http://www.mplayerhq.hu/MPlayer/ ÕâÀï¿´µ½ Kmplayer µÄÖ÷³ÌÐòÒѾ¸üе½ÁË 1.0rc2 °æ¡£
ÏÂÔØÖ÷³ÌÐò£ºMPlayer-1.0rc2.tar.bz2
Á½¸ö½âÂë°ü£ºall-20071007.tar.bz2 ºÍ windows-all-2007 ......
Ç°ÑÔ£ºÄ¿Ç°ÕýÔÚæÓÚARMƽ̨µÄLinuxÓ¦ÓóÌÐòµÄ¿ª·¢£¨ÆäʵÊǸոÕÆð²½Ñ§Ï°À²£©¡£µ×²ãµÄ¶«Î÷²»Óÿ¼ÂÇÁË£¬¿ª·¢°å×ÓÌṩÁËNAND Bootloader£¬ºÍLinux 2.6µÄÔ´Â룬¶øÇÒ¶¼±àÒëºÃÁË¡£×Ô¼º±àÒëµÄbootloader¿ÉÒÔÓ㬵«ÊÇLinux±àÒëºó£¬ÎļþºÜ´ó£¬ÔÝÇÒ¾ÍÓÃÈ˼ұàÒëµÄϵͳ£¬ÏÈרÐÄдӦÓóÌÐò °É¡£¡£
ÕýÎÄ£ºÒª×öµÄÈÎÎñÊÇ£¬°ÑÒ»¿é°å×ÓÉ쵀 ......
ÓÅÏÈȨֻÊǵ÷¶ÈËã·¨¿¼ÂǵÄÒ»¸ö·½Ãæ
½ø³Ìµ÷¶ÈÒÀ¾Ý
µ÷¶È³ÌÐòÔËÐÐʱ£¬ÒªÔÚËùÓпÉÔËÐÐ״̬µÄ½ø³ÌÖÐÑ¡Ôñ×îÖµµÃÔËÐеĽø³ÌͶÈëÔËÐС£Ñ¡Ôñ½ø³ÌµÄÒÀ¾ÝÊÇʲôÄØ£¿ÔÚÿ¸ö½ø³ÌµÄtask_struct½á¹¹ÖÐÓÐÒÔÏÂËÄÏpolicy¡¢priority¡¢counter¡¢rt_priority¡£ÕâËÄÏîÊÇÑ¡Ôñ½ø³ÌµÄÒÀ¾Ý¡£ÆäÖУ¬policyÊǽø³ÌµÄµ÷¶È²ßÂÔ£¬ÓÃÀ´Çø·Öʵʱ½ø³ÌºÍÆ ......
Ò»¡¢ ldconfig£º
¡¡¡¡LinuxϵͳÖУ¬ÎªÁËÈö¯Ì¬Á´½Ó¿âΪϵͳËù¹²Ïí£¬»¹ÐèÔËÐж¯Ì¬Á´½Ó¿âµÄ¹ÜÀíÃüÁî——ldconfig.
¡¡¡¡1. ldconfigÃüÁîµÄÓÃ;£ºÖ÷ÒªÊÇÔÚĬÈÏËÑѰĿ¼£¨/libºÍ/usr/lib£©ÒÔ¼°¶¯Ì¬¿âÅäÖÃÎļþ/etc/ld.so.confÄÚËùÁеÄĿ¼Ï£¬ËÑË÷³ö¿É¹²ÏíµÄ¶¯Ì¬Á´½Ó¿â£¨¸ñʽÈçÇ°½éÉÜ£¬lib*.so*£©£¬½ø¶ø´´½¨³ö¶¯Ì¬×°È ......