Linux(Centos5.4)Éϰ²×°oracle10gR2(10.2.1)
ÎÒÓõÄÊÇCentos5.4 DVD¹âÅ̰²×°µÄlinux²Ù×÷ϵͳ£¬°²×°linuxµÄʱºòÑ¡ÉÏ¿ª·¢¹¤¾ß£¬Xmanager,ÓëÊý¾Ý¿âÏà¹ØµÄ°ü¡£
²Ù×÷ϵͳ°²×°Íê³ÉÖ®ºóÐèÒª½øÐÐһϵÁеÄÅäÖòÅÄܰ²×°oracle10g£¬ÏÂÃæ°ÑÖ÷Òª²½Öè¼Ç¼ÏÂÀ´¡£
1.°²×°Íê²Ù×÷ϵͳ֮ºó»¹ÊÇÓÐЩ°üûÓа²×°£¬È»¶ø°²×°oracle10gµÄʱºòÐèÒªÓõ½£¬Ã»Óа²×°µÄ°üÓÐ:
libXp-1.0.0-8.i386.rpm
openmotif-2.3.0-0.3.el5.i386.rpm
compat-db-4.2.52-5.1.i386.rpm
2.Ìí¼Ó×éºÍÓû§
groupadd dba --´´½¨dba×é
groupadd oinstall --´´½¨oinstall×é
useradd -g oinstall -G dba -m oracle
-g±íʾoracleÓû§ÊôÓÚoinstall×飬Ҳ¾ÍÊÇÇ°Ãæ´´½¨µÄoinstall×é
-G±íʾoracleµÄ¸½¼Ó×éΪdba,Ò²¾ÍÊÇÇ°Ãæ´´½¨µÄdba×é
-m±íʾ×Ô¶¯´´½¨oracleÓû§µÄµÇÈëĿ¼
passwd oracle --¸øoracle´´½¨ÃÜÂë ÐèÒªÁ¬ÐøÊäÈëÁ½´Î
3.´´½¨°²×°Ä¿Â¼ºÍÊÚÓèȨÏÞ
mkdir -p /u01/app/oracle --´´½¨ORACLE_BASEĿ¼,ÎÒÊǽ«/u01/app/oracleµ¥¶À¹ÒÔÚµ½Ò»¸ö´ÅÅÌ
chown -R oracle.oinstall /u01 --ÈÃoracleÓû§³ÉΪ/u01µÄÓµÓÐÕß
4.ÔÚ/etc/sysctl.confÖÐÌí¼ÓÈçÏÂÄÚÈÝ
kernel.shmall = 2097152£¨ÒѾ¶¨ÒåÁË£¬Ö±½ÓÔÚÉÏÃæÐ޸ģ©
kernel.shmmax = 2147483648£¨ÒѾ¶¨ÒåÁË£¬Ö±½ÓÐ޸ģ©
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
ÎÒÊÇÌí¼Óµ½×îĩβµÄ£¬×¢Òâ¶ÔÆë
5.ÔËÐÐÈçÏÂÃüÁîʹ¸Õ²ÅÐ޸ĵIJÎÊýÉúЧ
/sbin/sysctl -p
6.ÔÚ/etc/security/limits.conf ÎļþÖÐÔö¼ÓÈçÏÂÄÚÈÝ
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
×¢ÒâÎÒÊÇÔÚ END FILE ֮ǰÌí¼ÓµÄ£¬×¢Òâ¶ÔÆë
7.ÔÚ/etc/pam.d/login ÖÐÌí¼ÓÈçÏÂÄÚÈÝ
session required /lib/security/pam_limits.so
8.ÒòΪSELINUX¶ÔoracleÓÐÓ°Ï죬ËùÒÔ°Ñsecure linuxÉè³ÉÎÞЧ£¬±à¼Îļþ /etc/selinux/config :SELINUX=di
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
http://blog.tianya.cn/blogger/post_show.asp?BlogID=2243487&PostID=21072119&idWriter=0&Key=0
Linuxϲ鿴cpuÀàÐÍ¡¢ÄÚ´æ´óС¡¢Ó²ÅÌ´óСÀàÐ͵È
CPU²é¿´£º
1¡¢¡¡¡¡# dmesg | grep CPU
¡¡¡¡Initializing CPU#0
¡¡¡¡CPU: Trace cache: 12K uops
¡¡¡¡CPU: L1 I-cache: 0K, L1 D-cache: 16K
¡¡¡¡CP ......
ÓëWindows½«Ó²ÅÌ¿´×ö“CÅÌ”¡¢“DÅÌ”¼¸¸ö¶ÀÁ¢µÄ·ÖÇø²»Í¬£¬Linux½«Õû¸öÎļþϵͳ¿´×öÒ»¿ÃÊ÷£¬Õâ¿ÃÊ÷µÄÊ÷¸ù½Ð×ö¸ùÎļþϵͳ£¬ÓÃ/±íʾ¡£¸÷¸ö·ÖÇøÍ¨¹ý“¹ÒÔØ”£¨mount£©ÒÔÎļþ¼ÐµÄÐÎʽ·ÃÎÊ¡£
ÔÚ/ÖеÄÎļþ¼ÐºÜ¶à£¬±¾ÎĽéÉܳ£¼ûÎļþ¼ÐµÄÒâÒå¡£LinuxµÄĿ¼½á¹¹È·Êµ±È½Ï¸´ÔÓ£¬µ«ÉèÖÃºÏ ......
Linux Socket ѧϰ£¨Ê®£©
ÔÚÌ×½Ó¿ÚÉÏʹÓñê×¼I/O
ÔÚÇ°ÃæÕ½ڵÄÀý×Ó´úÂëÖÐÎÒÃÇÒѾʹÓÃÁËread(2)»òÊÇwrite(2)ϵͳµ÷ÓÃÔÚÌ×½Ó¿ÚÉÏÖ´ÐжÁÈ¡ºÍдÈë²Ù×÷¡£Õâ¸ö¹æÔòµÄÒ»¸öÀýÍâ¾ÍÊÇrecvfrom(2)ºÍsendto(2)º¯Êý£¬ÕâÁ½¸öº¯ÊýÓÃÀ´¶ÁдÊý¾Ý±¨¡£È»¶ø£¬Ê¹ÓÃreadºÍwritteº¯Êýµ÷ÓÃÈ´ÓÐһЩ³ÌÐòÉϵÄȱµã¡£
ÕâÒ»ÕÂÎÒÃǽ«»áÌÖÂÛÒÔÏÂÄÚÈÝ ......