BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: AIX AIX¿¡¼­ °³¶óŬ ¼³Ä¡ Á¶È¸¼ö: 7903


* ¿À¶óŬ¿¡¼­ Á¦°øÇÏ´Â ¹®¼­Áß Text ºÎºÐÀ» 99% ¹ßÃé ÇÑ°ÍÀÔ´Ï´Ù.



<±âº» °¡Á¤>
- ¿À¶óŬÀ» ¼³Ä¡ÇÒ Direocty¿¡ ¿©À¯ °ø°£ÀÌ 2.5GB Á¤µµ´Â ÀÖ¾î¾ß ÇÕ´Ï´Ù.
- ¿À¶óŬÀ» ¼³Ä¡ÇÒ Unix UserÀÇ group : dba
- ¿À¶óŬÀ» ¼³Ä¡ÇÒ Unix User ¸í : oracle
- ¿À¶óŬÀ» ¼³Ä¡ÇÒ Directoy : /oracle
<ÁÖÀÇ> df -k ·Î È®ÀÎ ½Ã ¿ìÃø¿¡ mounted on¿¡ ÇØ´çÇÏ´Â °÷¿¡ oracleÀ» ¼³Ä¡ÇÏ°Ú´Ù´Â °ÍÀÔ´Ï´Ù.
- ±âŸ H/W ¿ä±¸ »çÇ× ¹× S/W ¿ä±¸»çÇ×Àº ÃæÁ·µÇ¾î ÀÖ´Ù´Â °¡Á¤ÇÏ¿¡ ÀÛ¾÷À» ÁøÇàÇÏ¸é µÇÁö¸¸,
¸¸¾à ¼³Ä¡Ä¡ ¹®Á¦°¡ ¹ß»ýÇÑ ´Ù¸é, ºÎ·ÏÀ¸·Î Á¦°øÇÑ H/W¹× S/W ¿ä±¸»çÇ×À» Âü°íÇØ ÁÖ¼¼¿ä.
- ÀÚ, AIX Àåºñ¿¡¼­¸¸ ²À È®ÀÎÇØ¾ß ÇÏ´Â Asynchronous I/O ºÎºÐÀ» È®ÀÎ ÈÄ
º»°ÝÀûÀÎ ¼³Ä¡ ÀÛ¾÷À» ¼³Ä¡ÀÛ¾÷À» ½ÃÀÛÇսôÙ.

<Âü°í> ¸¸¾à, #smit aio Çߴµ¥, È­¸é¿¡ Çѱ۷Π¸Þ½ÃÁö°¡ ³ª¿À¸é, ¾Æ·¡¸í·ÉÀ» ½ÇÇàÇØ ÁÝ´Ï´Ù.
sh or ksh ÀÇ°æ¿ì export LANG=en_US
C Shell ÀÇ °æ¿ì setenv LANG en_US
¶ó°í ÇØÁà¾ß ÇÕ´Ï´Ù. ¿À¶óŬÀº ¼³Ä¡½Ã ¸Þ¼¼Áö¸¦ ¿µ¹®À¸·Î ó¸® Çϵµ·Ï µÇ¾î ÀÖ½À´Ï´Ù.

< Asynchronous I/O È®ÀÎÇϱâ>
# smit aio
=> ¡±Change/Show Characteristics of asynchronous I/O¡±
=> ¡±State to be configured at system restart¡± Ä÷³ÀÌ 'available' ÀÎÁö È®ÀÎ ÈÄ,
¸¸¾à ¾Æ´Ï¶ó¸é, List¹öÆ°À» available¡¯·Î ¹Ù²Ù¾î ÁØ´Ù.
- ¡°Minimum number of servers¡±Ä÷³Àº 10 Á¤µµ·Î ¹Ù²Ù¾î ÁØ´Ù.
- ¡°Maximum number of servers¡±Ä÷³Àº 20 Á¤µµ·Î ¹Ù²Ù¾î ÁØ´Ù.
´Ù ¹Ù²Ù¾úÀ¸¸é, OK¹öÆ°À» ´­·¯ ÀúÀåÇÑ µÚ¿¡ smitÈ­¸é¿¡¼­ ºüÁ® ³ª¿Â µÚ¿¡,
¾Æ·¡¿Í °°Àº command¸¦ »ç¿ëÇÏ¿© ¹Ýµå½Ã ½Ã½ºÅÛÀ» rebooting ÇÏÀÚ.
# shutdown -Fr

< Âü°í >
¸¸¾à Asynchronous I/O°¡ Á¦´ë·Î settingÀÌ µÇ¾î ÀÖÁö ¾Ê´Ù¸é, ¾Æ·¡¿Í °°Àº Message°¡ displayµÉ °ÍÀ̹ǷΠÂü°í ¹Ù¶ø

´Ï´Ù.
If AIO is not started during system startup, the Oracle server fails to start and these
error messages are displayed:
Could not load program Oracle
Symbol kaio_rdwr in /usr/lib/libc.a is undefined
Symbol iosuspend in /usr/lib/libc.a is undefined
Symbol acancel in /usr/lib/libc.a is undefined
Symbol listio in /usr/lib/libc.a is undefined
Could not load library libc.a(aio.o)
Error was: Exec.format error
The Oracle server uses a new interface called aio_nwait to perform asynchronous I/O.
If this interface is not present, an error message displays that is similar to this one:
exec(): 0500-036 Cannot load program oracleSID because of the following errors:
0509-023 Symbol aio_nwait in oracle is not defined.
0509-026 System error: Cannot run a file that does not have a valid format.
Note: IY03412 provides the aio_nwait function and must be installed on an AIX Version 4.3.2 system.
If not, the error messages shown above display and the Oracle server does not start.
Note: If running with AIO on VSDs on AIX Version 4.3.x, the maximum buddy buffer size must be greater than or

equal to128KB. Otherwise, you will get EMSGSIZE ¡°Message too long¡± errors.


< dba¶ó´Â group ¸¸µé±â >

¸¸¾à ¡°vi /etc/group¡±·Î /etc/groupÈ­ÀÏÀ» ¿­¾î¼­ º¸¾Æ¼­, dba¶ó´Â groupÀÌ ÀÖ´Ù¸é ÀÌ ÀÛ¾÷Àº »ý·«Çϼ¼¿ä.
±×¸®°í, 303À̶ó´Â group id number°¡ ÀÌ¹Ì µî·ÏÀÌ µÇ¾î ÀÖ´Ù¸é, 303¹ø ¸»°í ´Ù¸¥ group id·Î µî·ÏÇÏ¼Å¾ß ÇÏ°ÚÁö

¿ä.

# smit group
=> ¡±Add a group¡±
=> - Group NameÄ÷³ : dba ·Î ³Ö¾îÁØ´Ù.
- ADMINISTRATIVE GROUP Ä÷³ : ¸¸¾à ¡®false¡¯·Î µÇ¾î ÀÖ´Ù¸é, LIST¹öÆ°À» ´­·¯¼­¡®true¡¯·Î ÇØÁØ´Ù.
- Group ID Ä÷³ : 303 À¸·Î ³Ö¾î ÁØ´Ù.
=> OK ¹öÆ°À» ´­·¯¼­ Àß ¸¸µé¾î Á³´ÂÁö È®ÀÎ ÈÄ¿¡, Done¹öÆ°À» ´­·¯ÁØ´Ù.
=> Cancel ¹öÆ°À» ´­·¯¼­ ºüÁ® ³ª¿Â´Ù.

< oracleÀ̶ó´Â user ¸¸µé±â >

{ Âü°í }
¸¸¾à ¡° vi /etc/passwd¡± ·Î /etc/passwd È­ÀÏÀ» ¿­¾î¼­ º¸¾Æ¼­,
2002¶ó´Â user id°¡ ÀÌ¹Ì µî·ÏÀÌ µÇ¾î ÀÖ´Ù¸é, user id¸¦ 2002¹ø ¸»°í ´Ù¸¥ ¹øÈ£·Î µî·Ï ÇÏ¼Å¾ß ÇÏ°ÚÁö¿ä.


# smit user
=> ¡±Add a USER¡±
=> - user NameÄ÷³ : oracle·Î ³Ö¾îÁØ´Ù.
- user ID Ä÷³ : 2002·Î ³Ö¾îÁØ´Ù.
- ADMINISTRATIVE USER : ¸¸¾à¡®false¡¯·Î µÇ¾î ÀÖ´Ù¸é, LIST¹öÆ°À» ´­·¯¼­¡®true¡¯·Î ¼±ÅÃÇØ ÁØ´Ù.
- Primary group Ä÷³ : LIST¹öÆ°À» ´­·¯¼­¡®dba¡¯·Î ¼±ÅÃÇØ ÁØ´Ù.
- HOME directory Ä÷³ : /oracle/app/oracle/product/816 ·Î ³Ö¾î ÁØ´Ù.
- INITIAL PROGRAM Ä÷³ : /usr/bin/ksh ·Î ³Ö¾î ÁØ´Ù.
=> OK¹öÆ°À» ´­·¯¼­ Àß ¸¸µé¾î Á³´ÂÁö È®ÀÎ ÈÄ¿¡, Done¹öÆ°À» ´­·¯ÁØ´Ù.
=> Cancel ¹öÆ°À» ´­·¯¼­ ºüÁ® ³ª¿Â´Ù.

{ ÁÖÀÇ }
ÀÌ¹Ì ¼³¸íÇßµíÀÌ, oracle ¼³Ä¡¸¦ /oracle µð·ºÅ丮¿¡ Çϱâ·Î Ç߱⠶§¹®¿¡,
HOME µð·ºÅ丮¸¦ /oracle/app/oracle/product/816·Î ¼³Á¤Çϵµ·Ï Çß½À´Ï´Ù.
±×·¯³ª, /data1µð·ºÅ丮¿¡ ¼³Ä¡ÇÑ´Ù¸é /data1/oracle/app/oracle/product/816 Á¤µµ·Î ÇÏ¼Å¾ß °ÚÁö¿ä.

< oracle userÀÇ HOME µð·ºÅ丮 ¸¸µé±â >

smitÀ» ÀÌ¿ëÇÏ¿© user¸¦ ¸¸µé¸é, ´ëºÎºÐ HOME µð·ºÅ丮±îÁö ÀÚµ¿À¸·Î ¸¸µé¾î ÁÝ´Ï´Ù.
±×·¯³ª, ÀÚµ¿À¸·Î ¸¸µé¾îÁöÁö ¾Ê¾Ò´Ù¸é, Á÷Á¢ ¸¸µé¾î ÁÖ¾î ÇÕ´Ï´Ù.
¿ì¼± ¾Æ·¡¿Í °°ÀÌ HOMEµð·ºÅ丮°¡ ¸¸µé¾î Á³´ÂÁö È®ÀÎ ÇսôÙ.

# cd /oracle/app/oracle/product/816
# pwd
/oracle/app/oracle/product/816
#
¸¸¾à µð·ºÅ丮°¡ µð½ºÇ÷¹À̵ÇÁö ¾Ê´Â´Ù¸é ¾Æ·¡¿Í °°ÀÌ ¨ç¹ø ÀÛ¾÷ ºÎÅÍ ÇÏ½Ã¸é µÇ°í,
¸¸µé¾î Á³´Ù¸é ¨è¹ø ÀÛ¾÷ ºÎÅÍ ¼öÇàÇÏ¸é µË´Ï´Ù.
¨ç # cd /
# mkdir -p /oracle/app/oracle/product/816

¨è # cd /oracle/app/oracle
# mkdir doc tmp
# chmod 777 tmp
# cd /
# chown -R oracle:dba /oracle

< oracle userÀÇ .profile ¸¸µé±â >
# su - oracle
# vi .profile ÈÄ¿¡ ¾Æ·¡¿Í °°Àº ³»¿ëÀ¸·Î, ¨ç,¨è,¨é,¨ê ¹ø¿¡ ´ëÇÑ ¼³¸íÀ» ¹Ýµå½Ã ÀÐ¾î º¸°í,
»óȲ¿¡ ¸Â°Ô ÆíÁýÇÏ¿© Áý¾î ³ÖÀ¸¼¼¿ä.

umask 022
export LANG=en_US
¨ç export ORACLE_BASE=/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/816
¨è export ORACLE_SID=ORA8
export ORACLE_OWNER=oracle
export ORACLE_TERM=vt100
export ORACLE_DOC=$ORACLE_BASE/doc
export TMPDIR=$ORACLE_BASE/tmp
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export NLS_LANG=American_America.KO16KSC5601
¨é export PATH=$PATH:.:$ORACLE_HOME/bin:/usr/bin:/sbin:/usr/ccs/bin:/usr/bin/X11
export LIBPATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib64:/usr/lib:/lib:/usr/ccs/lib
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib64:/usr/lib:/lib:/usr/ccs/lib
¨ê export DISPLAY=10.14.8.112:0.0
export LINK_CNTRL=L_PTHREADS_D7

¨ç ORACLE_BASE´Â 1-2ÆäÀÌÁö¿¡¼­ ¹Ì¸® ¼³¸íÇÑ ¹Ù¿Í °°ÀÌ /oracle µð·ºÅ丮¿¡ ¼³Ä¡ÇÑ´Ù´Â °¡Á¤ÇÏ¿¡ ¼ÂÆà ÇÏ´Â °Í

ÀÔ´Ï´Ù.
¸¸¾à, /data1 µð·ºÅ丮¿¡ ¼³Ä¡Çϱâ·Î Çϼ̴ٸé, ORACLE_BASE´Â /data1/oracle/app/oracle ·Î ¹Ù²ã¼­ Æí

ÁýÇϼ¼¿ä.
¨è ORACLE_SID´Â DBÀÇ À̸§¿¡ ÇØ´çÇÕ´Ï´Ù.
Çѹø ¼³Ä¡ ÈÄ º¯°æÀº ºÒ°¡´ÉÇϹǷÎ, °í°´¿¡ ¹°¾î º¸°í, °í°´ÀÌ ¿øÇÏ´Â °ÍÀ¸·Î ÇØÁÖ¼¼¿ä.
¸¸¾à °í°´ÀÌ SID¸¦ DREAMÀ¸·Î Çϱ⸦ ¿øÇÑ´Ù¸é, export ORACLE_SID=DREAM À¸·Î º¯°æÇϼ¼¿ä.
¨é PATH¿¡´Â ¹Ýµå½Ã make, cc ¶ó´Â programÀÌ Á¸ÀçÇÏ´Â °æ·Î¸¦ Àû¾î ÁÖ¿©¾ß ÇÕ´Ï´Ù.
¢¹ ã´Â ¹æ¹ý¢·
1) # su - (rootÀ¯Àú·Î login)
2) # which make
/usr/bin/make
# which cc
/usr/ibmcxx/bin/cc
ó·³ °æ·Î°¡ ³ªÅ¸³³´Ï´Ù. ¸¸¾à °æ·Î°¡ Display µÇÁö ¾Ê´Â´Ù¸é, find·Î makeÈ­ÀÏÀÌ ÀÖ´Â °÷À» ã¾Æ¼­,
PATH¿¡ ³Ö¾î ÁÖ¼Å¾ß ÇÕ´Ï´Ù.
¨ê DISPLAY¿¡ µé¾î°¡´Â °ªÀº ÇöÀç ¼­¹öÀÇ ip°ªÀ» ³Ö¾î ÁÝ´Ï´Ù. ¸¸¾à, PC¿¡¼­ Xmanager °°À»°É·Î ÀÛ¾÷À» ÇϽŴٸé
PCÀÇ ip¸¦ ³Ö¾î¾ß ÇÏ°í¿ä.
(Âü°í) ¡Ü ¼­¹öÀÇ IPÈ®ÀÎ : /etc/hosts ¡Ü PCÀÇ IPÈ®ÀÎ : Dosâ¿¡¼­ ¡°ipconfig¡±

< CD-ROM ¸¶¿îÆ® Çϱâ >
¨Û cd-rom Áý¾î ³Ö±â
¨ç # su -
¨è # mkdir /cdrom -> /cdrom µð·ºÅ丮°¡ ÀÌ¹Ì ÀÖÀ» ¼öµµ ÀÖ½À´Ï´Ù.
¨é # chmod 777 /cdrom
¨ê # lsdev -C | grep cd -> CDROM deviceÀ̸§À» ã±â À§ÇÑ °ÍÀ¸·Î¼­
cd0 Available 10-68-00-3,0 SCSI Multimedia CD-ROM Drive
À¸·Î DisplalyµÈ´Ù¸é ÇöÀç °í°´ÀÇ CDROM device¸íÀº /dev/cd0 ¶ó´Â ¾Ë ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù. ¨ë # mount

-rv cdrfs /dev/cd0 /cdrom
¨ì # cd /cdrom
¨í # ls ·Î rootpre.shµîÀÌ º¸À̸é CD-ROM ¸¶¿îÆ® ¼º°ø

< rootpre.sh µ¹·Á ÁÖ±â >
¨ç # su - oracle
¨è # su root
¨é # cd /cdrom
¨ê # sh rootpre.sh
¨ë # exit

< runInstaller ¼öÇà Çϱâ >
¨ç # su -
¨è # xclock -> ±×·¡ÇȽð谡½ÇÇàµÇ¸é ¨é¹øÀ¸·Î ³Ñ¾î°¡¼¼¿ä.
¸¸¾à, ±×·¡ÇȽð谡 ³ª¿ÀÁö ¾Ê´Â´Ù¸é ¾Æ·¡ÂÊÀÇ {Âü°í}¸¦ º¸¼¼¿ä.
¨é # xhost + -> hostnameÀº # hostname Çؼ­ displayµÇ´Â Å͹̳ηΠÀÔ·ÂÇØ ÁÝ´Ï´Ù.
¨ê # su - oracle
¨ë # cd /cdrom
¨ì # ./runInstaller -> Y¸¦ ¼±ÅÃ(rootpre.shÀ» µ¹·ÁÁÖ¾ú³Ä´Â Áú¹®¿¡ ´ëÇؼ­)
¨í # 2-1 ÆäÀÌÁö¿Í °°Àº È­¸éÀÌ ³ª¿Ã¶§ ±îÁö ±â´Ù¸°´Ù.

{Âü °í}
root À¯Àú·Î xclock À» ¼öÇàÇÏ¿©,
¿ìÃø°ú °°Àº ½Ã°è ±×¸²ÀÌ Æ¢¾î ³ª¿ÀÁö ¾Ê¾Ò´Ù¸é,
rootÀ¯Àú·Î TERMINALÀ» »õ·Î ¿­°í ´Ù½Ã Çغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
root À¯ÀúÀÇ PATH¿¡ xclockÀÌ ¼³Á¤µÇ¾î ÀÖÁö ¾Ê°Å³ª,
Xmanager(Window Manager)°¡ Á¦´ë·Î ¼³Ä¡ µÇ¾î ÀÖÁö ¾Ê¾Ò±â ¶§¹®ÀÔ´Ï´Ù.

[ ¿À¶óŬ ¼³Ä¡¿¡ ÇÊ¿äÇÑ ½Ã½ºÅÛ ¿ä±¸»çÇ× ]
Memory : ÃÖ¼Ò 256MB ( # lsattr -El mem0 ȤÀº # lsattr -El sys0 -a realmem ȤÀº # bootinfo -r)
Swap : ¸Þ¸ð¸® 1.2 ~ 2¹è ( # lsps -a)
CDROM : ISO 9660 Format CDROM
Oracle Disk Space : about 2.5GB ~ 3GB

OS : AIX 4.3.2 Higher (4.1, 4.2, 4.3.1 Àº ¾ÊµË´Ï´Ù.) (# oslevle )


<OS Patch ¿ä±¸»çÇ×>
¾Æ·¡¿¡ ÀûÇô OS Patch List´Â Oracle Install Guide¿¡¼­ ¹ßÃé ÇÑ°Í ÀÔ´Ï´Ù.
µû¶ó¼­, ¾Æ·¡ µµÇ¥¿¡¼­ Á¦½ÃÇÏ°í ÀÖ´Â Patch List´Â
ÇöÀç °í°´ÀÌ µµÀÔÇϽŠAIX 4.3.3¿¡´Â Æ÷ÇԵǾî Àֱ⠶§¹®¿¡ ÇÊ¿ä¾øÀ» ¼öµµ ÀÖÀ¸¹Ç·Î,
ÀÚ¼¼ÇÑ »çÇ×Àº OS¿£Áö´Ï¾î¿Í È®ÀÎÇϽñ⠹ٶø´Ï´Ù.

4.3.x IX72696 Segmentation fault can occur in WALK_LIBS (LOADANDINIT())
4.3.x IX81863 AIX process hangs in listlio and liowait
4.3.x IX85104 msgget() returns a negative number
4.3.x IX87313 64-bit application buffer cannot cross segment boundary
4.3.x IX87382 Socket lock problem for AF_UNIX
4.3.x IX89087 Thread doing AIO hangs in stress test
4.3.x IX89552 System crashes with corrupted stack
4.3.x IY02407 AIO bug in v_movep
4.3.x IY03412 aio_nwait system call

4.3.3 IY05995
4.3.3 IY07276


<OS PATCH ¹× FILESET È®Àιý>
- ÇöÀç ¼³Ä¡µÈ OS patch È®ÀÎÇÏ´Â ¹ý
$ instfix -a
- ƯÁ¤ patch°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ´Â ¹æ¹ý
$ instfix -ivk ÆÐÄ¡À̸§

- ÇöÀç ¼³Ä¡µÈ ¸ðµç OS filesetÈ®ÀÎÇÏ´Â ¹æ¹ý
$ lslpp -i
- ƯÁ¤ filesetÀÌ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ´Â ¹æ¹ý
$ lslpp -l È­ÀϼÂÀ̸§

<¼³Ä¡È­¸é ½ÃÀÛ>
- WELCOME È­¸é ¿¡¼­ Next Ŭ¸¯
- File Locations ¿¡¼­ ±âº» Path ¿¡ /oracle/app/oracle/product/816 ÀÌ ÀÚµ¿À¸·Î
»ðÀԵǾî ÀÖÀ¸¸é next Click
- UNIX Froup Name ¿¡ dba ÀÔ·ÂÈÄ next click

- /tmp/OraInstall/orainstBoot.sh ¸¦ ½ÇÇàÇ϶ó°í ³ª¿À¸é su root Çؼ­ ½ÇÇàÇØÁØ´Ù.
±×¸®°í ³ª¼­ Retry ¸¦ click ÇØÁØ´Ù.

- Available Products È­¸é¿¡¼­ Oracle8i Enterprise Edition 8.1.8.0.0 ¼±ÅÃÈÄ Next Click
- Installation Types È­¸é¿¡¼­ Custom ¼±ÅÃÈÄ Next Click
- Available Product Components ¿¡¼­ Product Languages ¸¦ Ŭ¸¯ÈÄ KOREAN5601 °ü·ÃµÈ°Í ¼±ÅÃ
Componets¿¡¼­ Oracle Time Series, Oracle Visual Information RetrievalÀÇ
VÇ¥½Ã µÇ¾î ÀÖ´Â °÷À» Ŭ¸¯ÇÏ¿© VÇ¥½Ã¸¦ ¾ø¾Ö ¹ö·Á¼­,
ÇöÀç ¼±ÅÃµÈ »óÅ·ΠµÇ¾î ÀÖ´Â °ÍÀ» ÇØÁö ½ÃÅ°ÀÚ.
±×¸®°í ³ª¼­, Scroll Bar¸¦ ´­·¯¼­ ´ÙÀ½ ÆäÀÌÁö¿Í °°ÀÌ ¾Æ·¡·Î ³»·Á°¡º¸ÀÚ.

Componets¿¡¼­ Oracle Advancd Security¸¦ Ŭ¸¯ÇÏ¿© VÇ¥½Ã¸¦ ¾ø¾Ö ÁÖ°í,
Oracle Protocol Support´Â Ŭ¸¯ÇÏ¿© VÇ¥½Ã°¡ ³ªÅ¸³ª°Ô ÇÏ°í,
Scroll bar¸¦ »ç¿ëÇÏ¿© ¾Æ·¡·Î ³»·Á °¡º¸ÀÚ.

Oracle JDBC/OCI Driver for JDK 1.2.8.1.6.0,
Oracle JDBC Thin Driver for JDK 1.2.8.1.6.0
Oracle SQLJ,
Oracle Univeral Installer
¸¦ Ŭ¸¯ÇÏ¿© V Ç¥½Ã°¡ ³ªÅ¸³ª°Ô ÇÏ°í, Next¸¦ ´©¸¥´Ù.

- Component Locations : Oracle Universal Installer 1.7.0.18.0 À» º¸¿©ÁÖ´Â È­¸é¿¡¼­
Next Click
- Privileged Operating System Groups ¿¡¼­ ¸ðµÎ dba ¶ó°í ³ªÅ¸³². Next Click.
- Create database ¿¡¼­´Â ¼³Ä¡Çϸ鼭 ¸¸µé°Å¶ó¸é Yes ÃßÈÄ¿¡ ¸¸µé°Å¶ó¸é no ÇϸéµÊ.
(ÃßÈÄ¿¡ ¸¸µé¶§´Â $ORACLE_HOME/bin/dbassist ¸¦ ½ÇÇàÇؼ­µµ ¸¸µé¼ö ÀÖÀ½. ÃßõÇÔ)
No ¼±ÅÃÈÄ Next Click
- Install Click : ¼³Ä¡ °¡ ÇÑÂü ÁøÇàµÈ´Ù.
- ÁøÇ൵Áß /oracle/app/oracle/product/816/root.sh as root ¶ó°í ³ª¿À¸é
´Ù¸¥ Å͹̳Îâ¿¡¼­ ½ÇÇàÇÏ¸é ¾Æ·¡¿Í °°ÀÌ ÁøÇàµÈ´Ù.

# sh root.sh

Starting nsr_ize to install the Legato Storage Manager product.
For more information, please refer to the LSM installation instructions
in the Oracle8 Installation Guide for AIX Based Systems.

NetWorker(TM) - Release 5.5.lsm.Build.51
Copyright (c) 1990-1998, Legato Systems, Inc. All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.


nsr_ize is about to install NetWorker server software on machine
`kribms80'.

Install the NetWorker man pages [yes]? No

# Install the aix41 NetWorker programs [yes]? No

# Directory where the aix41 NetWorker programs
are already installed [/bin]? No

# Below is a list of some of the filesystems, with their free space, which you might consider:

Directory to use for client and server information [/nsr]? No

Running Oracle8 root.sh script...

The following environment variables are set as:
ORACLE_OWNER= ora816
ORACLE_HOME= /d05/ora816/app/oracle/product/816
ORACLE_SID= JOE

Enter the full pathname of the local bin directory: [/usr/local/bin]: ¿£Å͸¦ Ä¡¸éµÈ´Ù.
(¸¸¾à /usr/local/bin À̶ó´Â µð·ºÅ丮°¡ ¾øÀ¸¸é ¹Ì¸® ¸¸µé¾î Áà¾ßÇÑ´Ù.)

- ±× È­¸é¿¡¼­ OK ¸¦ ´­·¯ÁØ´Ù.

- Configuration Tools È­¸é¿¡¼­ Net8 ÀÌ ÁøÇàµÈ´Ù.
(¿©±â¼­ ¿¡·¯³ª¸é listener °¡ µÇÁú ¾Ê´Â´Ù. ÇÁ·ÎÅäÄÝ ¿À·ù°¡ ¹ß»ýÇÑ´Ù.)
export TMPDIR=$ORACLE_BASE/tmp µð·ºÅ丮°¡ À߸øµÇ¾îµµ ±¸¼ºµÇÁö ¾Ê´Â´Ù.

- Net8 Configuration Assistant welcome È­¸éÀÌ ¶ß¸é ±×³É Next ¸¦ ClickÇÑ´Ù.
- No, I want to defer directory service access configuration to anither time ¼±ÅÃ
- Listener name: LISTENER ·Î µÇ¾î ÀÖÀ¸¸é Next Click
- Selected Protocols : TCP °¡ µé¾î°¡ ÀÖÀ¸¸é Next Click
- Use the standard port number of 1521 ·Î µÇ¾î ÀÖÀ¸¸é Next Click
- Would you like to configure another listener? No ¼±ÅÃÈÄ Next
- Next Click
- No, I do not want to change the nameing methods configured ¼±ÅÃÈÄ Next.
- Finish Click

- End of Installation ¿¡¼­ Next Install Click

¿©±â±îÁö ¼­¹ö ¼³Ä¡´Â ³¡³µ½À´Ï´Ù. ¿À¶óŬ Ŭ¶óÀ̾ðÆ® ¼³Ä¡´Â »ý·« ÇÏ°Ú½À´Ï´Ù.
Pro*C/C++ 8.1.6, Pro*COBOL 8.1.6, Pro*COBOL 1.8.51.0 µîÀ» ¼³Ä¡ ÇÒ¶§¸¸ ÇÏ½Ã¸é µË´Ï´Ù.

<DB ¸¸µé±â>
# su - oracle
$ cd $ORACLE_HOME/bin
$ ./dbassist

- Create a database ¼±ÅÃÈÄ Next
- Typical ·Î Çصµ µÇÁö¸¸, ´ëºÎºÐ ¿øÇϴµ¥·Î ÇÏ·Á¸é Custom ¼±ÅÃÇÏ°í Next
- Multipurpose ¼±ÅÃÈÄ Next
- Concurrently connected users : 15 (º¸Åë 20 Á¤µµ ÇØÁÖ¸é µÈ´Ù.) Next
- Dedicated Server Mode ·Î ¼±Åà ÈÄ¡®Next¡¯ ¹öÆ°À» ´­·¯ÁØ´Ù
- Spatial, Jserver, InterMedia, Advanced Replicaion, SQL*plus help °¡
¼±ÅõǾî ÀÖ´ÂÁö È®ÀÎ ÈÄ¿¡, ¡®Next¡¯ ¹öÆ°À» ´­·¯ÁØ´Ù.
- Global Database Name, SID Ä÷³¿¡´Â .profile¿¡¼­ ¹Ì¸® ORACLE_SID ¿¡ ¼³Á¤ÇØ ÁØ °ªÀ» ±×´ë·Î ³Ö¾î ÁÖ°í,

¡®Next¡¯¹öÆ°À» ´­·¯ÁØ´Ù. ÀÚµ¿À¸·Î µé¾î°¥°ÍÀÌ´Ù.
ORACLE_SID¿¡ ´ë¹®ÀÚ DREAMÀ¸·Î ¼ÂÆÃÀ» Çß´Ù¸é, ´ë¹®ÀÚ ±×´ë·Î ³Ö¾î ÁÖ¾î¾ß ÇÑ´Ù.

¾Æ·¡¿¡ Change Character SetÀ» ´­·¯
Character Set : KO16KSC5601
National Character Set : KO16KSC5601FIXED ·Î ¼±ÅÃÇØÁØ´Ù.
- control file °ü·Ã Á¤º¸¿¡¼­ ÇÊ¿ä½Ã ¼öÁ¤ Next ´­·¯ ´ÙÀ½À¸·Î ³Ñ¾î°£´Ù.
- System DB ¼³Á¤ È­¸é¿¡¼­ size ¿¡ 150Á¤µµ ³Ö¾îÁØ´Ù. À§ÀÇ ÅÇ¿¡¼­ Tools ¸¦ ´©¸¥´Ù.
- Tools DB size¸¦ 15 Á¤µµ ÇØÁØ´Ù.
- User DB size¸¦ 104 Á¤µµ ÇØÁØ´Ù.
- Rollback Size¸¦ 100 Á¤µµ ÇØÁØ´Ù.
- Temporary size´Â 100 Á¤µµ ÇØÁØ´Ù. ±×¸®°í Next ¸¦ ´©¸¥´Ù.

- Redo Log Files È­¸é¿¡¼­ size ¸¦ ¸ðµÎ 5120 À¸·Î ÇØÁØ´Ù. Next ¸¦ ´©¸¥´Ù.
- Checkpoint ¿¡¼­ ±×³É Next ´©¸¥´Ù.
- Block Buffer Size ¸¦ 8192 ·Î ÇØÁØ´Ù. Next Ŭ¸¯.
- Trace File Directory ¿¡¼­ Next Click

- ¹Ù·Î DB ¸¦ ¸¸µé·Á¸é Create database now ¸¦ ¼±ÅÃÈÄ Finish Click - Yes ¸¦ Çѹø´õ ´­·¯ÁØ´Ù.
DB »ý¼º¿¡ Á» ¿À·¡°É¸°´Ù. ¾Æ¸¶ 40ºÐÀÌ»ó °É¸±°ÍÀÌ´Ù.

¾ðÁ¦µçÁö Àç »ý¼ºÀ» ½±°Ô ÇÏ·Á¸é Save information to a shell script ¸¦ ¼±ÅÃÈÄ Finish Ŭ¸¯Çϸé
$ORACLE_HOME/assistants/dbca ¿¡ ÀúÀåÇÒ À̸§À» ÀÔ·ÂÇ϶ó°í ³ª¿Â´Ù. DB_CREATE ¶ó°í
Àû´çÇÑ À̸§À» ³ÖÀºÈÄ OK ¸¦ ´­·¯ ÀúÀåÇÑ´Ù.

<DB ¼³Ä¡ ¸¶¹«¸® Setup>
¼ö°í Çϼ̽À´Ï´Ù.
¼³Ä¡°¡ ¼º°øÀûÀ¸·Î µÈ °Í °°À¸´Ï, oracle À¯Àú·Î ¸î °¡Áö ¸¶¹«¸®¸¦ Çϵµ·Ï ÇÏ°Ú½À´Ï´Ù.
¨ç cd $ORACLE_HOME/dbs
¨è vi init{$ORACLE_SID}.ora
( SID¸¦ DREAMÀ¸·Î ¼³Á¤Çß´Ù¸é, initDREAM.oraÈ­ÀÏÀ» ¿­¾î ÁÖ½Ã¸é µË´Ï´Ù.)
¨é ¾à 84¶óÀÎ ºÎºÐ¿¡ rolllback_segments¶ó´Â ºÎºÐ¿¡ #À¸·Î ¸·Çô ÀÖÀ¸¸é #À» »èÁ¦ ÈÄ,
ÀúÀåÇÑ µÚ¿¡ vi¿¡¼­ ºüÁ® ³ª¿Í ÁÖ¼¼¿ä.
(¿¹) ¼öÁ¤Çϱâ Àü #rollback_segments = ( RBS0, RBS1, RBS2, RBS3, RBS4, RBS5, RBS6 )
¼öÁ¤ÇÑ ÈÄ rollback_segments = ( RBS0, RBS1, RBS2, RBS3, RBS4, RBS5, RBS6 )
¨ê $ lsnrctl stop ( Listener¸¦ ³»·ÁÁØ´Ù)
¨ë ¾Æ·¡ ¿¹Á¦¿Í °°ÀÌ, DB¸¦ ³»·È´Ù ¿Ã·Á ÁØ´Ù.
1) $ svrmgrl
2) SVRMGR> connnect internal
3) SVRMGR> shutdown immediate
4) SVRMGR> startup
5) SVRMGR> exit
¨ì pupbld.sqlÀ» µ¹·Á ÁØ´Ù.
1) cd $ORACLE_HOME
2) cd sqlplus
3) cd admin
4) sqlplus system/manager
5) SQL> start pupbld.sql
6) SQL> exit
(Âü°í) 5)¹ø ÀÛ¾÷ µµÁß¿¡ ¿¡·¯ ¸Þ½ÃÁö °°Àº °ÍÀÌ ³ª¿À´Â µ¥, ÀÌ°ÍÀº ¾ÆÁ÷ ¸¸µéÁöµµ ¾ÊÀº °ÍÀ»
dropÇÏ°í »õ·Î ¸¸µå´Â °úÁ¤¿¡¼­, ÀÖÁöµµ ¾ÊÀº °ÍÀ» dropÇÏ°íÀÚ ÇÒ ¶§ ³ª¿À´Â ¸Þ½ÃÁö À̹ǷΠ¹«½ÃÇϼ¼¿ä.

¨í scott À¯Àú ¸¸µé°í, sample table¸¸µé¾î ÁÖ±â
1) sqlplus system/manager
2) SQL> create user scott identified by tiger
> default tablespace users
> temporary tablespace temp
> quota unlimited on users
> quota unlimited on temp;
3) SQL> grant connect, resource to scott;
4) SQL> exit
5) cd $ORACLE_HOME
6) cd sqlplus
7) cd demo
8) sqlplus scott/tiger
9) SQL> start demobld.sql

¨î Pro*C TestÇϱâ
1) cd $ORACLE_HOME
2) cd precomp
3) cd demo
4) cd proc
5) make -f demo_proc.mk sample1 (sample1.pc¸¦ compileÇÏ´Â ÀÛ¾÷ÀÓ)
6) ls·Î È®ÀåÀÚ ¾øÀÌ sample1À̶ó´Â ÆÄÀÏÀÌ ¸¸µé¾î Á³´ÂÁö È®ÀÎÇÑ´Ù.
7) sample1À̶ó°í typingÇÏ¿© sample1ÀÌ Àß ¼öÇàµÇ´ÂÁö testÇØ º»´Ù.
(Âü°í) sample1À» ½ÇÇàÇϸé, ¡°Enter employee number (0 to quit):¡±¿Í °°ÀÌ Á¾¾÷¿øÀÇ
»ç¹øÀ» ³ÖÀ¸¶ó´Â ¸Þ½ÃÁö°¡ ³ª¿À´Âµ¥, À̶§ 7900À̶ó°í ÀÔ·ÂÈÄ ¿£ÅÍÅ°¸¦ ´­·¯ ÁÖ¸é µÈ´Ù.
³¡³»°íÀÚ Çϸé 0 À̶ó°í ÀÔ·ÂÈÄ¿¡ ¿£ÅÍÅ°¸¦ ´­·¯ ÁÖ¸é µË´Ï´Ù.

¨ï ¼³Ä¡°¡ ³¡³­ DB¸¦ ¾Æ·¡¿Í °°ÀÌ ³»·Á ³õ°í ö¼ö Çϼ¼¿ä
1) $ svrmgrl
2) SVRMGR> connnect internal
3) SVRMGR> shutdown immediate
4) SVRMGR> exit

¨ð ±×·¯¸é, ÀÌÁ¦ rootÀ¯Àú·Î loginÇÑ µÚ¿¡, ¾Æ·¡¿Í °°ÀÌ CD-ROMÀ» umountÇϽðí, CD-ROMÀ» »©½Ã¸é µË´Ï´Ù.
# umount /cdrom




<DB ¿Ã¸®±â>
$ svrmgrl
SVRMGR> connect internal
SVRMGR> startup
SVRMGR> exit

<Listener ¿Ã¸®±â>
$ lsnrctl start
$ lsnrctl status -> ½ÇÇà »óÅ º¸±â

<Listener ³»¸®±â >
$ lsnrctl stop

<DB ³»¸®±â>
$ svrmgrl
SVRMGR> connect internal
SVRMGR> shutdown immediate
SVRMGR> exit

°ü·Ã±Û : ¾øÀ½ ±Û¾´½Ã°£ : 2010/07/06 17:56 from 112.187.223.214

  inbound_connect_timeout  ¿¡·¯ ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ °³´ª½º¿¡¼­ °³¶óŬ ÀνºÅçÇÏ±â  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡