|
1. ÆÐÅ°ÁöÁغñ,¼³Ä¡
- ÀÇÁ¸¼º ÆÐÅ°Áö ¼³Ä¡
w°Ù http://debian.osuosl.org/debian/pool/main/liba/libaio/libaio1_0.3.106-
4_i386.deb
w°Ù http://debian.osuosl.org/debian/pool/main/liba/libaio/libaio-dev_0.3.1
06-3_i386.deb
2°³ ÆÐÅ°Áö ¼³Ä¡
ex) dpkg -i libaio1_0.3.106-4_i386.deb
\ dpkg -i libaio-dev_0.3.106-3_i386.deb
- ¿À¶óŬ ÆÐÅ°Áö ¼³Ä¡
http://www.oracle.com/technology/software/products/database/xe/htdocs/
102xelinsoft.html ¿¡¼
¿©·¯¾ð¾îÄÚµå¼ÂÀÌÁö¿øµÇ´Â oracle-xe-universal_10.2.0.1-1.0_i386.deb ¹öÀü ´Ù¿î·Îµå ÈÄ ¼³Ä¡
ex) dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
Á¤»ó¼³Ä¡ ÈÄ ¾Æ·¡¿Í°°Àº¸Þ½ÃÁö Ãâ·Â
======================================================================
============
.................................
Oracle Database 10g Express Edition is not configured. You must run
'/etc/init.d/oracle-xe configure' as the root user to configure the database.
Executing Post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
2. ¼³Á¤
root·Î /etc/init.d/oracle-xe configure ½ÇÇàÇÏ¿©
À¥¼³Á¤Æ÷Æ® ÁöÁ¤,¸®½º³ÊÆ÷Æ®ÁöÁ¤ , system °èÁ¤ ¾ÏÈ£ ÁöÁ¤, ¸®ºÎÆýà ±âµ¿¿©ºÎ ¼±ÅÃÇÏ¸é ¾Æ·¡¿Í°°Àº ¸Þ½ÃÁö Ãâ·Â
======================================================================
============
.................................
Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to
target=_blank>http://127.0.0.1:8080/apex
Æ÷Æ® º¯°æÀº /etc/default/oracle-xe ¿©±â¼ ¼öÁ¤
3. ±âµ¿/Á¾·á
2¹ø ¼³Á¤ÀÌ Á¤»óÀ̶ó¸é ÀÌ¹Ì ±âµ¿ »óÅ´٠¿©±â¼ ±âµ¿/Á¾·á´Â ¾Æ·¡¿Í°°´Ù.
±âµ¿- /etc/init.d/oracle-xe start
Á¾·á - /etc/init.d/oracle-xe stop
3. sqlplus Á¢¼Ó
ÆÐÅ°Áö·Î ¼³Ä¡µÇ¾ú´Ù¸é ÀÌ¹Ì oracle °èÁ¤°ú dba ±×·ìÀÌ ¸¸µé¾îÁø´Ù
oracle °èÁ¤ÀÇ È¨µð·ºÅ丮´Â /usr/lib/oracle/xe
oracle °èÁ¤À¸·Î Á¢¼ÓÈÄ /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin À̵¿ ÈÄ
#>. oracle_env.sh ½ÇÇàÀ» ÇÏ´øÁö .bash_profile ¿¡ oracle_env.sh ¾ÈÀÇ ³»¿ëÀ» ÀÔ·ÂÇØÁØ´Ù.
´ÙÀ½ sqlplus ½ÇÇà
======================================================================
===============
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 6 10:21:28 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name:system
Enter password:oracle-xe configure¼³Á¤½Ã ÀÔ·ÂÇÑ ¾ÏÈ£ ÀÔ·Â
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL>select * from tab;
* ·ÎÄÿ¡¼´Â http://127.0.0.1:8080/apex Á¢¼ÓÇÏ¿© À¥ÀÎÅÍÆäÀ̽º·Î ¼³Á¤À» Á¶Á¤ ÇÒ ¼ö ÀÖÁö¸¸
¿ÜºÎ¿¡¼ Á¢±ÙÇÒ·Á¸é ¸·ÇôÀÖ´Ù ±âº» µðÆúÆ®À̱⠶§¹®¿¡ ÀÌ°É Ç®·Á¸é ¾Æ·¡¿Í °°Àº SQL ¹®À» ½ÇÇàÇÑ´Ù.
SQL>EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
½ÇÇàÈÄ ¿ø°ÝÁöÀÇ oracle-xe¸¦ À¥¿¡¼ ¼³Á¤ °¡´ÉÇϰԵȴÙ.
4. »èÁ¦/Àç ¼³Ä¡
dpkg -r ·Î´Â ¼³Á¤ÀÌ ³²¾Æ Àֱ⠶§¹®¿¡ --purgeÀ» ÁÖ¾î ¿ÏÀü»èÁ¦ ÈÄ À缳ġ¸¦ ÇؾßÇÑ´Ù.
ex)dpkg --purge oracle-xe-universal
Ŭ¶óÀ̾ðÆ®µµ ¼³Ä¡Çß´Ù¸é dpkg --purge oracle-xe-client
5. ¸¶¹«¸®
- redhat ÀÇ rpm °è¿µµ ÆÐÅ°Áö¸¸ µû·Î ¹ÞÀ¸¸é À§¿Í ÀýÂ÷´Â °°´Ù°í ºÁ¾ßÇÒ °ÍÀÓ
- oracle-xe °æ¿ì °øÂ¥ÀÌ°í ±³À°¿ë Å×½ºÆ®¿ëÀ¸·Î ¸¸µé¾ú±â ¶§¹®¿¡ cpu´Â ÇÑ°³¸¸ »ç¿ë°¡´ÉÇÏ°í ÃÖ´ë ¸Þ¸ð¸®»ç¿ë·®µµ 1G
µð½ºÅ©(DB)¿ë·®Àº 4G±â°¡·Î Á¦ÇÑ µÇ¾îÀÖ´Ù~ ÀÌÁ¤µµ¸é ÃæºÐÈ÷ Å×½ºÆ®³ª ÀÛÀº±â¾÷?¿ëÀ¸·Î´Â ÁÁÀ»°Í °°´Ù
|