¼ÑÕ×ҵС»úʵʩ·½°¸
Ò». Ö÷ÒªÉ豸 1£®Ó²¼þ
IBM P55AСÐÍ»úÁ½Ì¨ IBM DS4700´æ´¢Ò»Ì¨ 2£®Èí¼þ Oracle 10g Kingdee eas Aix 5.4
¶þ. ÍØÆËͼ
Èý.AIX°²×°
1¡¢ ϵͳ¼Óµç£¬ÏµÍ³Ãæ°åÏÔʾOK£¬µçÔ´µÆÂýÉÁ¡£ 2¡¢ °´»úÆ÷×óÉÏ·½°×É«°´Å¥£¬ÏµÍ³¿ª»ú£¬µçÔ´µÆ¿ìÉÁ¡£ 3¡¢ ½«AIX 5L°²×°ÅÌ1/7 ²åÈë¹âÇý¡£
4¡¢ ´ý»úÆ÷³öÏÖpowerPC ʱ£¬°´5 ¼üÑ¡Ôñdefault boot list¡£ 5¡¢ ÔÚÈçÏÂÌáʾ£ºPlease define the System Console
Type the F1 key and press Enter to use this display as the system console. °´F1 ¼üÑ¡Ôñ¿ØÖÆ̨²¢»Ø³µ¡£
6¡¢ ³öÏÖÈçÏÂÌáʾ£º1 Type 1 and press Enter to have English during install.
Ñ¡Ôñ¼ü 1 £¬ÒÔEnglish×÷Ϊ°²×°ÓïÑÔ²¢»Ø³µ¡£ 7¡¢ ³öÏÖÈçÏÂÌáʾ
Welcome to Base Operation System Installation and Maintenance Type the number of your choice and press Enter choice is indicated by. 1 Start Install Now with Default Settings 2 Change/Show Installation Settings and Install 3 Start Maintenance Mode for System Recovery
Ñ¡Ôñ2 Change/Show Installation Settings and Install²¢»Ø³µ 8¡¢ ³öÏÖÈçÏÂÌáʾ Installation and Settings
Either type 0 and press enter to install with current settings,or type the number of the setting
you want to change and press enter. 1 system settings method
installation¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡.presservation Disk where you wang to install hdisk0
2 primaty language environment settings(after install):
cultural convention ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡..English (united states)
language¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡.. English (united states)
keyboard¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡. English (united states)
of
Keyboard
type¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡default 3 more optons (desktop,security,kernel,software,¡¡.) 0 insall with the current settings listed above. Ñ¡Ôñ1
9¡¢ ³öÏÖÈçÏÂÌáʾ
Ñ¡Ôñ1 new and complete overwrite.ȫа²×° ³öÏÖÈçÏÂÌáʾ
Ñ¡Ôñ2 hdisk0°²×°²Ù×÷ϵͳ
Ñ¡Ôñ3 more optons (desktop,security,kernel,software,??.) Ñ¡Ôñ4 enable 64-bit kernel ???????????..yes Ñ¡Ôñ5 greate JFS2 File System yes Ñ¡Ôñ9 installÄ©ÈÈsoftware Ñ¡Ôñ4 server£¨volume 2£© yes ¼ÌÐø°²×°
10¡¢»»AIX 5.2 7/2 ¹âÅÌ¡£
ËÄ.ÔÚAIXÏÂÅäÖÃHA
°²×°ÍêAIX²¢´òÉÏÏàÓ¦µÄ²¹¶¡£¬½Ó×Å°²×°HACMP°²×°¿ÉÄÜ»áÌáʾʧ°Ü£¬ÄÇÖ»ÊÇÓв¿·Ö°ü×°²»ÉϵÄÔÒò£¬µ«²¢²»Ó°ÏìHA¡£°²×°×°ÍêHA¾Í¿ÉÒÔ½øÐÐHAµÄÅäÖᣠÔÚÅäÖÃHAÇ°ÒªÏÈÉèÖúÃÁ½ÕÅÍø¿¨µÄÖ÷»úÃûºÍIP£¨Óû§×Ô¼º¶¨£© # smitty tcpip
°´Í¼Ñ¡EN0¿¨
ÔÚ´ËÅäÖÃÖпÉÒÔ¶ÔÖ÷»úÃûºÍIPµØÖ·½øÐÐÐ޸ģ¬»¹ÓÐÏàÓ¦µÄÍø¹Ø£¬¿ÉÒÔÑ¡ÉÏSTART NOWΪYES
°´Í¬ÑùµÄ²Ù×÷ÐÞ¸ÄEN3Íø¿¨¡£
½ÓÏÂÒªÐÞ¸Ä/ust/hosts±í Á½Ì¨»úÆ÷É϶¼ÒªÒ»Ñù
ÔÚ´Ë´¦Ìî¼ÓÉÏÏàÓ¦µÄÖ÷»úÃûºÍIP£¬Ö±½Ó°´×ÖĸX¾Í¶ÔÀïÃæµÄ×Ö·ûÒ»¸ö¸öɾ³ý£¬×ÖĸI£¬¾Í´ò¿ª¿É±à¼²Ù×÷£¬¾Í¿ÉÒԶԴ˱í½øÐÐÐ޸ģ¬ÐÞ¸ÄÍêºó°´ESCÍ˳ö±à¼²Ù×÷£¬È»ºóÔÚ°´:x,±£´æ
Í˳ö¡£ÔÚVI±à¼Æ÷ÖнøÐжÁд²Ù×÷¶¼ºÍ´ËÒ»Ñù£¬ÔÚ½ÓϵÄÐÞ¸Ä/.rhosts±íÒ²Ò»Ñù¡£ÔÚvi /usr/es/sbin/cluster/etc/rhosts ±íÀﶼÀàËÆ¡£/.rhostsºÍ/usr/es/sbin/cluster/etc/rhostsÐÞ¸ÄÏàͬ¡£
½ÓמͿɴ´½¨¹²ÏíVG # smitty mkvg
°´ÒªÇó×ÔÐÐÐÞ¸ÄÏàÓ¦µÄÊýÖµ£¬×¢Òâ¾ÍÊÇACTIVATE VG AUTO RESTART ÄÇÏîҪѡΪNO¡£ VGµÄ´´½¨¶¼Àà´Ë£¬¿É°´ÐèÇó´´½¨¶à¸ö¡£
´´½¨ÍêVG¾ÍÒªimportvg µ½µÚ¶þ̨»ú×ÓÉÏ£¨±¸»ú£©importvg¹ý³ÌÒªÔÚ±¸»úÉϲÙ×÷¡£ µ«ÔÚimportvg֮ǰҪÔÚµÚһ̨Ö÷»úÉÏ°Ñд´½¨µÄ¹²ÏíVGµÄACTIVATE¶¼OFFµô # varyoffvg orcalevg hdisk1
# lspv ¿´µ½VGºóÃæµÄactive¶¼Ã»Ê±¾Í˵Ã÷ÒѾOFFÁË£¬¾Í¿ÉÔÚµÚ¶þ̨»ú×ÓÉÏimportvgÁË
µ±ÔÚµÚ¶þ̨»ú×ÓÉÏÓÐͬÑùµÄVGʱ¾Í˵Ã÷ÒѾimportvgÍê³É¡£½ÓÔÚͬÑùÔÚµÚ¶þ̨»ú×ÓÉÏ°ÑÒѾimportvg¹ýÀ´µÄVG½øÐÐÐ޸ģ¬Í¬ÑùºÍµÚһ̨һÑù°ÑACTIVATE VG AUTO RESTART ÄÇÏîҪѡΪNO¡£
# smitty chvg ºóÑ¡F4Ñ¡ÒªÐ޸ĵÄVG
½Ó×Å´´½¨Æô¶¯½Å±¾¡£Á½Ì¨»úÆ÷É϶¼Òª ÔÚÁ½Ì¨Ö÷»ú´´½¨Ä¿Â¼£º # mkdir ¨Cp /usr/hacmp
#touch /usr/hacmp/start.sh #touch /usr/hacmp/stop.sh
#touch /usr/hacmp/oracle_start.sh #touch /usr/hacmp/oracle_stop.sh #chmod 700 /usr/hacmp/*.sh
²Ù×÷ÍêÒÔÉϾͿÉÒÔÅäÖÃHA # smitty hacmp
¼¯ÈºÃû×Ô¶¨
ÍË»ØÔÏȽçÃæÑ¡µÚ¶þÏî
OKºóͬÑùÍË»Ø
¼ÓSVC IP
ÍêºóF3Ñ¡ÏÂÏî
ºóÍË»ØÏÂͼ»®È¦Ä¿Â¼Ï£¬´´½¨¹²Ïí×ÊÔ´×é
Ñ¡Add a resource Group
ÏñÉÏͼѡÖÐÁ½¸ö½Úµã£¬×¢Òâ´´½¨Á½¸ö×ÊÔ´×éʱÁ½¸ö×ÊÔ´×é½ÚµãµÄ˳Ðò£¬ÔÚÇ°ÃæµÄÓÅÏȼ¶±ð½Ï¸ß
´´½¨Íê×ÊÔ´×飬¾Í½Ó×ŶԴ´½¨µÄ×ÊÔ´×éµÄһЩֵ½øÐÐÐ޸ġ£
¶ÔÏàÓ¦µÄÖµ½øÐÐÐ޸ģ¬Ìî¼ÓIP¡¢APPºÍ¹²ÏíVG
Èç¹û´´½¨ÁËÁ½¸ö×ÊÔ´×é¾Í¶ÔÁ½¸ö×ÊÔ´×鶼½øÐÐÐ޸ġ£
F10
×öÍêÒÔÉϾͲ¶àÅäÖÃÍ꣬ÔÙ½øÐÐͬ²½Ò»Ï£¬OKͨ¹ý¾Í»ù±¾Íê³ÉÁË¡£ # smitty hacmp
Ñ¡ÏÂÃæͬ²½Ñ¡Ïî
OKÍê³É£¬¾Í¿ÉÒÔÆô¶¯HA Á½Ì¨¶¼ÒªÆô¶¯ #smitty clstart
Æô¶¯ºó¿ÉÒԲ鿴Æô¶¯½ø³ÌºÍIP # lssrc ¨Cg cluster # netstat -i
ÈçÒª´´½¨LVÂß¼¾íºÍFSÎļþϵͳ¿ÉÒÔÔÚÆô¶¯HAºóÔÚHAÖд´½¨ # smitty hacmp ÏàÓ¦µÄ´´½¨Îļþϵͳ¶¼ÔÚÏÂͼѡÏîÖÐ
UNMBER OF LOGICAL PARTITION µÄÖµÒª¾¹ýºÍPPÖµ»»Ë㣬1024/PPÖµ*ËùÒªµÄ¿Õ¼ä £¨Èç3G£©
Îå.ORACLE°²×° £¨Ò»£©¡¢È·ÈÏϵͳӲ¼þ»·¾³
Oracle10g×îµÍ°²×°ÒªÇóÈ·ÈϹý³Ì£º 1¡¢È·ÈÏÄÚ´æ´óС£¨1G£©
localhost> /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 8142848 Amount of usable physical memory in Kbytes Fals¡£ 2¡¢È·ÈÏSWAP¿Õ¼äµ½2G¡£
localhost> /usr/sbin/lsps -a /usr/sbin/lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type hd6 hdisk0 rootvg 12800MB 1 yes yes lv 3¡¢È·ÈÏ/TMPºÍOracleĿ¼¿Õ¼ä£¨ÆäÖÐOracle10g·ÅÔÚ/data1Ï£©£º localhost> df -m df -m
Filesystem MB blocks Free %Used 1923 1% / /dev/hd2 4096.00 2791.53 32% 34838 6% /usr /dev/hd9var 1024.00 1015.76 1% 417 1% /var /dev/hd3 2048.00 1825.35 11% 762 1% /tmp
/dev/fwdump 128.00 127.66 1% 4 1% /var/adm/ras/platform /dev/hd1 1024.00 1023.45 1% 12 1% /home /proc - - - - - /proc /dev/hd10opt 1024.00 950.45 8% 2328 2% /opt /dev/fslv00 10240.00 4078.37 61% 19466 3% /oracle /dev/fslv01 30720.00 26988.46 13% 159 1% /oradata 4¡¢È·ÈÏϵͳ½á¹¹
localhost> /usr/bin/getconf HARDWARE_BITMODE 64
»òbootinfo -y
5¡¢ÎÒÃÇ¿ÉÒÔͨ¹ýÏÂÃæµÄÃüÁîÀ´È·ÈÏϵͳCPU¸öÊýºÍÖ÷Ƶ£º # lsdev -C |grep proc
Proc0 Available 00-00 Processor proc2 Available 00-02 Processor proc4 Available 00-04 Processor proc6 Available 00-06 Processor # lsattr -E -l proc0
frequency 1648350000 Processor Speed False smt_enabled true Processor SMT enabled False smt_threads 2 Processor SMT threads False state enable Processor state False type PowerPC_POWER5 Processor type False # lsattr -E -l proc1
6¡¢È·±£Asynchronous Input Output (AIO) ¿ÉÓã¨*£© ÓÃÈçÏÂÃüÁ # lsdev -Cc aio
Èç¹ûÊä³öÊÇ\ÔòûÎÊÌ⣬Èç¹ûÊÇ\µÄ»°£¬Í¨¹ýʹÓà # smit chaio
°Ñ\¸ü¸ÄΪ\ ½«\¸ÄΪ40
7¡¢²ÎÊýÐÞ¸Ä
A¡¢ÐÞ¸Ä/etc/security/limitsÎļþÖвÎÊý£¬½¨ÒéÈ«²¿¸Ä³ÉÎÞÏÞÖÆ£¬ËùÓÐÐÞ¸ÄÔÚÓû§ÖØеǼºóÉúЧ¡£ ÔËÐÐÃüÁî
#vi /etc/security/limits ÐÞ¸Ä default:
fsize = 2097151 ----¡·¸ÄΪ-1 fsize_hard = -1 core = 2097151 cpu = -1
data = 262144 ----¡·¸ÄΪ-1 rss = 65536
stack = 65536
nofiles = 2000 ----¡·¸ÄΪ-1 B¡¢ÔËÐÐ
#smitty chgsys
½«Maximum number of PROCESSES allowed per user ĬÈÏÖµ128µ÷´óµ½500 C¡¢OSÄں˲ÎÊýµ÷Õû(Ò»°ãÇé¿öÏÂ,°²×°OracleÐèÒªµ÷ÕûÄں˲ÎÊý,²¢ÇÒ¶ÔºóÐøÓ¦ÓÃʹÓÃÊý¾Ý¿â´æÔڽϴóÓ°Ïì)
AIX±È½ÏÌØÊ⣬ÎÞÐèÊÖ¹¤ÐÞ¸ÄÄں˲ÎÊý£¬µ«ÐèÒªÔÚ°²×°Ç°ÔËÐÐrootpre.sh,¡£Èç¹ûÒÔÇ°ÔËÐйý¸ß°æ±¾µÄrootpre.sh£¬ÔòÎÞÐèÔÙÔËÐиÃshell¡£ D¡¢Äں˲ÎÊý£º #vmo -a
minperm%:5,maxclient%:20,maxperm%:20 8¡¢²é¿´ÈÕÆÚʱ¼ä£¬¾¡¿ÉÄÜÓ뵱ǰʱ¼äÒ»Ö date
#Èç¹û²»Ò»ÖÂ,ÓÃdate MMDDHHMIYY ,±ÈÈç2007/10/27 21:34,¿ÉÒÔÈçÏÂÉèÖÃ:date 0827213407
£¨¶þ£©¡¢È·ÈÏϵͳÈí¼þ»·¾³
1¡¢ÒªÇóAIX±ØÐëÊÇ5.2 LEVEL 1ÒÔÉÏ£¨º¬LEVEL 1£©£º localhost> oslevel -r 5300-04
2¡¢ÒªÇó°²×°ÁËÕâЩFILESETS£º
localhost> lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat bos.perf.libperfstat bos.perf.proctools Fileset Level State Description
---------------------------------------------------------------------------- Path: /usr/lib/objrepos
bos.adt.base 5.2.0.11 APPLIED Base Application Development Toolkit
bos.adt.lib 5.2.0.10 APPLIED Base Application Development Libraries
bos.adt.libm 5.2.0.13 APPLIED Base Application Development Math Library
bos.perf.libperfstat 5.2.0.12 APPLIED Performance Statistics Library Interface
bos.perf.perfstat 5.2.0.12 APPLIED Performance Statistics Interface
Path: /etc/objrepos
bos.perf.perfstat 5.2.0.0 COMMITTED Performance Statistics Interface
lslpp: 0504-132 Fileset bos.perf.proctools not installed.
¿ÉÒÔ¿´µ½bos.perf.proctoolsûÓа²×°£¬ÓÃsmitty £¨smit install_latest£©°²×°Éϼ´¿É¡£ÏÖÔڲ鿴ȷÈÏ£º
localhost> lslpp -l bos.perf.proctools
Fileset Level State Description
---------------------------------------------------------------------------- Path: /usr/lib/objrepos
bos.perf.proctools 5.2.0.11 APPLIED Proc Filesystem Tools
3¡¢(¿ÉÑ¡Ïî)ÒªÇó°²×°ÁËAPARs£¨Authorized Problem Analysis Reports£©(*) localhost> /usr/sbin/instfix -i -k \ IY46214 IY46605 IY48525 IY51801\ All filesets for IY43980 were found. All filesets for IY44810 were found. All filesets for IY45462 were found. All filesets for IY45707 were found. All filesets for IY46214 were found. All filesets for IY46605 were found.
There was no data for IY48525 in the fix database. There was no data for IY51801 in the fix database.
¿ÉÒÔ¿´µ½IY48525ºÍIY51801ûÓа²×°£¬¿ÉÒÔ´ÓÍøÉÏÏÂÔØËüÃÇÈ»ºó°²×°ÉÏ£¬ÕâÀïÊÇÏÂÔصØÖ·£ºhttps://techsupport.services.ibm.com/server/aix.fdc
µ«Êµ¼ÊÉÏ£¬ÕâÁ½¸ö²¹¶¡ÊÇÕë¶ÔSDK1.4µÄ£¬ Èç¹û²»ÓÃ1.4ÍêÈ«¿ÉÒÔ²»Àí¡£
4¡¢¼ì²éÈ·ÈÏHostsÎļþÖзþÎñÃû³Æ
½¨ÒéÒªÇó£¬HostsÖÐÖ÷»úÃûÓësmit tcpip ¶ÔÓ¦µÄ´óСд£¬Ãû³ÆÍêÈ«Ò»Ö£¬½¨ÒéʹÓÃСд¡£·ñÔòOracle ÔÚн¨Êý¾Ý¿âʱ³öÏֶ˿ڣ¨Ports)±»½ûÓÃÌáʾ¡£
£¨Èý£©¡¢Ó²¼þϵͳ¿¼ÂÇ
Ò»°ãÀ´Ëµ£¬´¦ÀíÆ÷¡¢ÄÚ´æÔ½¶àÔ½ºÃ£¬µ«ÔÚÏÖʵ»·¾³ÖУ¬Êý¾Ý´¦ÀíµÄÆ¿¾±³£ÔÚÊäÈë/Êä³öÉÏ£¬´æ´¢Æ÷Óë¼ÆËã»ú¼äµÄÊý¾Ý´«ÊäËٶȱȼÆËã»úÔËËãËÙ¶ÈÒ»°ãÂý£²¡«£³¸öÊýÁ¿¼¶£¬´ÅÅÌËٶȵÄÌá¸ßÔ¶Ô¶ÂäºóÓڣãУա£
ϵͳÖдÅÅÌÀûÓÃÂÊÒ»°ã²»Ó¦³¬¹ý£´£µ£¥¡£´ÅÅ̳ýÁË¿¼ÂÇ´ÅÅÌ»úËٶȡ¢¿ØÖÆÆ÷ÓëͨµÀËÙ¶ÈÍ⣬»¹Òª¿¼Âǵ±Ç°ºÍ×î´óÇý¶¯Æ÷Êý£¨´ÅÅ̶à¶àÒæÉÆ£¬¶àЩСÇý¶¯Æ÷±ÈÉÙЩ´óÇý¶¯Æ÷ºÃ£¬ÐÂÇý¶¯Æ÷½Ï¿ìµ«½Ï´ó£©¡£
Èç¹ûΪÁËÌá¸ß¿É¿¿ÐÔʹÓÃÁË£Ò£Á£É£Ä´ÅÅÌÉ豸£¬ÎªÌá¸ß£É/£ÏÐÔÄÜ£¬×îºÃ²ÉÓãңÁ£É£Ä£±£°¶ø²»ÊÇ£Ò£Á£É£Ä£µ¡£
£¨ËÄ£©¡¢´´½¨Oracle10gÓû§ºÍ×飬²¢´´½¨Ïà¹ØĿ¼ A.ʹÓÃsmity¹¤¾ß su - root smit security »òÕßʹÓÃÃüÁîÐÐ ´´½¨Óû§×é
/usr/sbin/groupadd dba
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd oper #(Optional¿ÉÑ¡Ï
´´½¨Óû§ #su - root
#/usr/sbin/useradd - g oinstall ¨CG dba[,oper] ¨Cd /home/oracle ¨Cs /usr/bin/bash ¨Cm oracle
#/usr/sbin/useradd - g oinstall -G dba ¨Cd /oracle oracle ÐÞ¸ÄÃÜÂë
#passwd oracle ²é¿´Óû§£º #id oracle
uid=518(oracle) gid=519(oinstall) groups=519(oinstall),518(dba),520(oper) Èç¹ûOracleÓû§²»ÊôÓÚÖ÷×éoinstall,»òdbaµÈ,Ôò¿ÉʹÓÃÏÂÊöÃüÁîÐÞ¸Ä /usr/sbin/usermod -g oinstall -G dba[,oper] oracle #¼ì²éÊÇ·ñ´æÔÚnobodyÓû§ id nobody
Èç¹ûûÓУ¬´´½¨×é¼°Óû§nobody,·½·¨ÂÔ É¾³ýÓû§
userdel [-r] username -r ɾ³ýÕʺÅʱÁ¬Í¬ÕʺÅÖ÷Ŀ¼һÆðɾ³ý
B¡¢Oracle Ïà¹ØĿ¼¼°ÊÚȨÉèÖÃ
/oracle #OracleÓ¦ÓóÌÐòÇø10¡«30G /oradata #Êý¾Ý¿â 40¡«80G /backup #Êý¾Ý¿â±¸·ÝÇø
chown -R oracle:oinstall /oracle #Ó¦ÓóÌÐòÇø ÍƼö10~30G chown -R oracle:oinstall /oradata #Êý¾ÝÇø chown -R oracle:oinstall /backup #±¸·ÝÇø chmod 775 /oracle chmod 775 /oradata chmod 775 /backup
C¡¢ÉèÖÃϵͳ»·¾³±äÁ¿£º(Ò»°ãÇé¿öÊÇÔÚ/HOME/ORACLE) ÓÃoracleÓû§½øÐеǽÐÞ¸Ä .profile su - oracle
ORACLE_HOME=/oracle/product/10.2.0 ORACLE_BASE=/oradata 4.2£®ÏµÍ³¹æ»®£º£¨ÕâÀïÓÃEAS£© ʵÀýÃû³ÆORACLE_SID=eas Êý¾Ý¿âÃû³Æ£ºeas ¸½£º
su oracle cd ~
.profileÎļþ
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
export PATH
if [ -s \then echo \fi # periodically.
ORACLE_HOME=/oracle/product/10.2.0; export ORACLE_HOME
export ORACLE_BASE=/oradata export ORACLE_SID=eas
export PATH=$PATH:$ORACLE_HOME/bin;
export DISPLAY=172.16.0.169:0.0 #IPµØַΪÔËÐÐXmanageËùÔÚ¿Í»§¶ËIPµØÖ· #export ORACLE_TERM=xterm
export PATH=$PATH:$ORACLE_HOME/bin;
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rdbms/lib export
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib #export DISPLAY
£¨Î壩¡¢ÔËÐа²×°oracle 1¡¢½âѹORALCE°²×°Îļþ
$gunzip oracle4aix.cpio.gz $cpio -idcmv ×öÍêÒÔÉϲ½Öè¾Í»áÉú³ÉÒ»¸öDisk1µÄĿ¼¡£ 2¡¢×ªµ½oracle 10g°²×°½éÖÊĿ¼Ï£¬ÓÃoracleÓû§ÔËÐÐrunInstaller $cd @/Disk1/ $./runInstaller ÕâÑùOracle 10g¾Í¿ªÊ¼°²×°ÁË£¬Äã»á¿´µ½ÊìϤµÄ°²×°½çÃæÁË¡£ °²×°½ø³ÌµÄ²½ÖèÈçÏ£º a.ÒÔrootÖ´ÐÐ ./rootpre.sh b.¼ì²âtemp ºÍswap·ÖÇøµÄ´óС c.²éϵͳ²¹¶¡ÊÇ·ñÂú×ãÐèÒª d.copy Ïà¹ØÎļþ e.link and setup f.ÌáʾÔËÐÐroot.sh£¬¸ù¾ÝÌáʾ£¬ÓÃrootÓû§È¥ÔËÐÐroot.sh¾ÍÐÐÁË µ¥»÷next£¬ µ¥»÷next£¬rootÓû§Ö´Ðнű¾orainstRoot.sh ÔËÐкó³öÏÖÈçϽçÃ棬µ¥»÷next ³öÏÖÈçϽçÃ棬ѡÔñenterprise edition£¬µ¥»÷next¡£ ³öÏÖÈçϽçÃ棬µ¥»÷next ³öÏÖÈçϽçÃ棬ѡÔñcreate a starter database£¬Ñ¡Ôñgeneral purpose£¬µ¥»÷next£¬Èç¹ûµ¥¶À´´ ½¨Êý¾Ý¿â£¬Ñ¡Ôñdo not create a starter database¡£ÔÚÕâÀïÎÒÃÇÑ¡Ôñdo not create a starter database¡£ Ñ¡Ôñdo not create a starter databaseÊý¾Ý¿âºó£¬µ¥»÷next£¬½øÐÐÊý¾Ý¿âÈí¼þµÄ°²×° ³öÏÖÈçÏÂÌáʾ£¬ÒÔrootÓû§Ö´ÐÐ Êý¾Ý¿â°²×°Íê±Ï¡£ 3¡¢Êý¾Ý¿â´´½¨ $su - oracle $dbca Ïòµ¼ÒªÇó£º SGAʹÓÃĬÈÏ40%£» UTF8×Ö·û¼¯£» ÆôÓù鵵£¬¹éµµ¿Õ¼ä5G×óÓÒ£»Èç¹ûÆôÓÃÉÁ»Ø£¬ÔòÍƼö½«ÉÁ»Øʱ¼äÏÞÖÆÔÚ24СʱÒÔÄÚ¡£ ÍƼöʹÓÃOMF¹ÜÀí ³öÏÖÈçÏ»Ã棬ѡÔñcreate a database£¬µ¥»÷next ³öÏÖÈçϽçÃ棬ѡÔñgeneral purpose£¬Ñ¡Ôñnext ³öÏÖÈçÏ»Ã棬µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷next ³öÏÖÈçϽçÃ棬ÉèÖÃËùÓÐÓû§µÄ¿ÚÁîΪoracle£¬µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷edit archive mode parameters£¬Ð޸Ĺ鵵ÈÕÖ¾´æ·ÅλÖ㬵¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷next °´ÕÕÈçϽçÃæÉèÖÃcontrolfile£¬datafile£¬redo log groups£¬ÉèÖÃÍê±Ïºó£¬µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷finish µ¥»÷ok£¬Êý¾Ý¿â¿ªÊ¼´´½¨ Êý¾Ý¿â´´½¨Íê±Ï ÓÃnetca ´´½¨sqlnet.ora ºÍtnsnames.ora¡£³öÏÖÈçÏ»Ã棬µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷next µ¥»÷next ³öÏÖÈçϽçÃ棬µ¥»÷next µ¥»÷next µ¥»÷next