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
Ïà¹ØÎĵµ£º
linuxÍøÂç²ÎÊýÖ÷ҪλÓÚÏÂÃæÁ½¸öĿ¼ÏÂ:/proc/sys/net/core/ºÍ/proc/sys/net/ipv4/, ÏÂÃæ·Ö±ð¶ÔÕâÁ½¸öĿ¼Ï³£Óõļ¸¸öÍøÂç²ÎÊý×öÏÂ˵Ã÷:
1./proc/sys/net/core/
$ /proc/sys/net/core/somaxconn
listen()µÄĬÈϲÎÊý,¹ÒÆðÇëÇóµÄ×î´óÊýÁ¿.ĬÈÏÊÇ128.¶Ô·±Ã¦µÄ·þÎñÆ÷,Ôö¼Ó¸ÃÖµÓÐÖúÓÚÍøÂçÐÔÄÜ, ¿É²Î¿¼µÄÓÅ»¯Ö ......
1¡¢Linux »ù´¡
°²×°Linux²Ù×÷ϵͳ LinuxÎļþϵͳ Linux³£ÓÃÃüÁî LinuxÆô¶¯¹ý³ÌÏê½â ÊìϤLinux·þÎñÄܹ»¶ÀÁ¢°²×°Linux²Ù×÷ϵͳ Äܹ»ÊìÁ·Ê¹ÓÃLinuxϵͳµÄ»ù±¾ÃüÁî ÈÏʶLinuxϵͳµÄ³£Ó÷þÎñ°²×°Linux²Ù×÷ϵͳ Linux»ù±¾ÃüÁîʵ¼ù ÉèÖÃLinux»·¾³±äÁ¿ ¶¨ÖÆLinuxµÄ·þÎñ Shell ±à³Ì»ù´¡Ê¹ÓÃvi±à¼Îļþ ʹÓÃEmacs±à¼Îļþ ʹÓÃÆäËû±à ......
LINUX
·þÎñ½éÉÜ£¨ÇåÎú°æ£©
·þÎñÁÐ±í£¨°´×Öĸ˳ÐòÅÅÁУ©
·þÎñÃû
±ØÐ裨ÊÇ/
·ñ£©
ÓÃ;ÃèÊö
×¢½â
acon
·ñ
ÓïÑÔÖ§³Ö
ÌرðÖ§³Ö×óÊÖÊéдÓïÑÔ:
°¢À²®Óï,
²¨Ë¹ÓïºÍÏ£²®À³Óï
acpi
·ñ
µçÔ´¹ÜÀí
ÊÖÌáµçÄÔµç³ØµçÉȼà¿ØÆ÷
acpid
·ñ
¼àÌý¾«Áé½ø³Ì
´Ë½ø³Ì¼àÌý²¢·ÖÅäÄÚºËÖеÄacpi
ʼþ
adsl
·ñ
ÄÚ²¿ADSL
¿ ......
½ñÌìÔÚÔËÐÐsphinxµÄʱºò£¬Ìáʾ˵
./searchd: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
ÎÒ±àÒë°²×°µÄʱºòÃ÷Ã÷ÓÐÖ¸¶¨mysqlµÄlib¿â°¡£¬ÉÏÍø²éµ½ÊÇÒòΪmysqlµÄlib²»ÔÚϵͳµÄlib·¾¶ÖУ¬½â¾ö°ì·¨ÈçÏ£º
ÔÚ/etc/ld.so.confÏÂÃæ¼ÓÒ»ÐÐ/usr/loc ......