linuxÏ°²×°oracle11g²½ÖèÓëÌå»á
ÔÚlinuxÉÏ°²×°oracleÊÇÒ»¼þ¸´ÔÓµÄÊÂÇ飬ÓÈÆä¶ÔÓÚÒ»¸öÉúÊÖÀ´Ëµ£¬ËüµÄ¸´Ôӳ̶ÈÔ¶³¬¹ýÁËlinux²Ù×÷ϵͳµÄ°²×°£¬ÒòΪ²»ÏñwindowsÄÇÑù¿ÉÒÔÖ±½Óµã»÷sertup.exe¾ÍokÁË£¬ÔÚ°²×°Ö®Ç°ÄãÒªÅäÖû·¾³±äÁ¿£¬ÐÞ¸ÄÈô¸É¸öϵͳÎļþ£¬²¢ÇÒÕâЩ²ÎÊý¿ÉÄܸù¾ÝÄãlinux°æ±¾µÄ²»Í¬¶øÓÐËù²»Í¬£¬Èç¹ûÅäÖò»ÕýÈ·£¬¿ÉÄܵ¼ÖÂ×îÖյݲװʧ°Ü£¬ÆäËü»¹ÓÐÄãµÄĿ¼ÉèÖò»¶Ô£¬ËùÐèÒÀÀµ°ü°²×°´íÎó»ò²»ÍêÕû£¨ÕâÊÇ×îÍ·ÌÛµÄÒ»µã¶ù£©£¬¶øÒ»µ©°²×°Ê§°Ü£¬Ð¶ÔØÓÖжÔز»¸É¾»£¬ÄÇôÒÀÈ»»áµ¼ÖÂÖظ´°²×°Ê§°Ü£¬ÉõÖÁÒªÖØ×°²Ù×÷ϵͳ¡£
ÎÒ×ʼÊÇÔÚÐéÄâ»úÉÏ£¨centos5.2£©³¢ÊÔ°²×°oracle10g,Êý¾Ý¿â£¬·´¸´°²×°ÁËn»Ø£¬²Ù×÷ϵͳÖØ×°ÁË3»ØÒÔÉÏ£¬Ç°ºó»¨ÁËÁ½ÈýÌìµÄʱ¼ä£¬ÉõÖÁÍíÉÏÏ°àºóÎÒ»¹ÒªÈ¥Êéµê¶ùÕÒÒ»ÏÂoracleµÄÊé¼®£¬¿´¿´ÓÐûÓÐÏà¹ØµÄÃèÊö¡£
²»¹ý£¬µ±ÎÒ¾«Æ£Á¦½ßÖÕÓÚ°²×°³É¹¦µÄʱºò£¬·¢ÏÖÊÕ»ñ»¹ÊÇÂù´óµÄ£¬×îÆðÂëlinuxϵͳ³£ÓÃÃüÁîҲѧµÄ²î²»¶àÁË£¬²¢ÇÒ¼ÇÒäÉî¿Ì¡£
ÒÔÏÂÊÇÎÒÓëͬʺóÀ´Ôڲο¼ÓйØ×ÊÁÏ°²×°oracle11gºó£¬×ܽá³öÀ´µÄ°²×°²½Öè¡£
˵Ã÷£º
±¾°²×°Îĵµ½öÏÞÓÚred hat »ò centos ²Ù×÷ϵͳ£¬oracle 11g,ÆäËüµÄ¿ÉÄÜÓÐЩС±ä»¯
A ½¨Á¢Óû§ÓëÕ˺Å:
(1)½¨Á¢×é
groupadd oinstall
groupadd dba
(2) ½¨Á¢°²×°Ä¿Â¼
mkdir -p /u01/
chown -R oinstall /u01
(3)½¨Á¢Óû§:
useradd -g oinstall -G dba oracle -d /u01/oracle--ÕâÀïÒ»¶¨Òª´øÉÏoracle ·ñÔò»á±¨ ÎÞ·¨¸´ÖÆÎļþ´íÎó
¡ï×¢²áÊÂÏî:
Èç±¾´¦Ö´Ðв»¶Ô£¬ÇëÔÚÍøÉϼìË÷Ïà¹ØµÄ½¨Á¢Õ˺ÅÄ¿ºÅ£¬È·±£oracleÕ˺ŵÄÖ÷Ŀ¼Ϊ
/u01/oracle
¶ø²»ÊÇÆÕͨµÄ /home/oracle,ÕâÑù×öµÄÄ¿µÄÊǽ«oracle°²×°ÔÚ¸ùĿ¼µÄu01ÏÂÃ棬·ÀÖ¹ÓÉÓÚ homeĿ¼¿Õ¼ä²»×ã
Ôì³É²»±ã
£ÃÉèÖû·¾³±äÁ¿£º
ÓÃoracleÓû§½øÈë±à¼.bash_profile ÔÚºóÃæ¼ÓÉÏÈçÏÂÄÚÈÝ
su - oracle½øÈëºó£º¸Ä.base_profileÈçÏ£º
ORACLE_BASE=/u01
ORACLE_HOME=$ORACLE_BASE/oracle
ORACLE_SID=PRESISE
PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH
¡ï×¢²áÊÂÏî:
ÕâÀïÇë²»Òª¸²¸ÇÒÔÇ°µÄÉèÖÃ,×îºó½«ÕâЩ´úÂë·Åµ½×îºóÃ棬ÁíÍâÈç¹û¶àexportÁËÒ»ÏÂpath£¬Ò²¿ÉÒÔÏÈɾ³ýÔÀ´µÄexportÄÇÒ»ÐУ¬
ÕâÑù×öµÄÄ¿µÄÊÇΪÁ˿ɶÁÐÔºÃЩ¡£ÆäÖÐSID=xxx¾ÍÊÇÄã¼´½«°²×°oracleµÄSid,Õâ¸ö·Ç³£ÖØÒª¡£ÇëÊÖ¶¯ÐÞ¸Ä,Èç¹ûÔÚÏÈÇ°µÄĿ¼Àï
ÃæÄãû½«oracleµÄÖ÷Ŀ¼ÉèΪu01£¬Ä
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
Linuxѧϰ±Ê¼Ç
1. Ò»¸ö±äÁ¿´´½¨Ê±£¬Ëü²»»á×Ô¶¯µØΪÔÚËüÖ®ºó´´½¨µÄshell½ø³ÌËùÖª¡£¶øÃüÁîexport¿ÉÒÔÏòºóÃæµÄshell´«µÝ±äÁ¿µÄÖµ¡£µ±Ò»¸öshell½Å±¾µ÷Óò¢Ö´ÐÐʱ£¬Ëü²»»á×Ô¶¯µÃµ½ÔΪ½Å±¾£¨µ÷ÓÃÕߣ©ÀﶨÒåµÄ±äÁ¿µÄ·ÃÎÊȨ£¬³ý·ÇÕâЩ±äÁ¿ÒѾ±»ÏÔʽµØÉèÖÃΪ¿ÉÓá£exportÃüÁî¿ÉÒÔÓÃÓÚ´«µÝÒ»¸ö»ò¶à¸ö±äÁ¿µÄÖµµ½Èκκó ......
Ò».Linux¹ÒÔØUÅÌ:
1¡¢²åÈëuÅ̵½¼ÆËã»ú£¬Èç¹ûÄ¿Ç°Ö»²åÈëÁËÒ»¸öuÅ̶øÇÒÄãµÄÓ²Å̲»ÊÇscsiµÄÓ²Å̽ӿڵĻ°£¬ÄÇËüµÄÓ²¼þÃû³ÆΪ:sda1¡£
2¡¢ÔÚmntĿ¼ÏÂÏȽ¨Á¢Ò»¸öusbµÄĿ¼(Èç:[root@localhost root]# mkdir /mnt/usb)
3¡¢¹ÒÔØUÅÌ£ºmount -t vfat /dev/sda1 /mnt/usb
4¡¢Ð¶ÔØUÅÌ£ºumount /mnt ......
LVMÊÇLogical Volume Manager(Âß¼¾í¹ÜÀíÆ÷)µÄ¼òд£¬ËüΪÖ÷»úÌṩÁ˸ü¸ß²ã´ÎµÄ´ÅÅÌ´æ´¢¹ÜÀíÄÜÁ¦¡£LVM¿ÉÒÔ°ïÖúϵͳ¹ÜÀíԱΪӦÓÃÓëÓû§·½±ãµØ·ÖÅä´æ´¢¿Õ¼ä¡£ÔÚLVM¹ÜÀíϵÄÂß¼¾í¿ÉÒÔ°´Ðè¸Ä±ä´óС»òÌí¼ÓÒƳý¡£ÁíÍ⣬LVM¿ÉÒÔΪËù¹ÜÀíµÄÂß¼¾íÌṩ¶¨ÖƵÄÃüÃû±êʶ¡£Òò´Ë£¬Ê¹ÓÃLVMÖ÷ÒªÊÇ·½±ãÁ˶Դ洢ϵͳµÄ¹ÜÀí£¬Ôö¼ÓÁËϵͳµÄÀ©Õ¹Ð ......