2. ȯ°æ º¯¼ö ¼³Á¤
¼³Ä¡ Áغñ ÀÛ¾÷
½º¿Ò¿µ¿ª 2GB ÀÌ»ó
/tmp ¿µ¿ª 1GB ÀÌ»ó
¼³Ä¡µð·ºÅ͸® 3GB ÀÌ»ó °ø°£ ÇÊ¿ä |
¹æȺ® SELinux ´Â Disable
¾Æ·¡ »çÀÌÆ®¿¡¼ ¿À¶óŬ ´Ù¿î·Îµå ÇÏ°í ´Ù¿î·Îµå ÇÏ¸é¼ ÁغñÀÛ¾÷ ½ÇÇà
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linuxsoft.html
1. root·Î ·Î±×ÀÎÇÏ¿© °èÁ¤ »ý¼º
# groupadd oinstall # groupadd dba # useradd -g oinstall -G dba oracle # passwd oracle
# mkdir -p /u01/app/oracle/product/10.2.0/db_1 # chown -R oracle.oinstall /u01 |
2. ½Ã½ºÅÛ ÆĶó¸ÞÅÍ Ãß°¡.
# vi /etc/sysctl.conf
¾Æ·¡ ³»¿ë Ãß°¡ / ±âÁ¸³»¿ë ÁÖ¼® # oracle 10g setting kernel.shmall = 2097152 kernel.shmmax = 2147483648
kernel.shmmni = 4096 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
# /sbin/sysctl -p Ãâ·Â È®ÀÎ |
# vi /etc/pam.d/login
¾Æ·¡ ³»¿ë Ãß°¡ # oracle 10g setting session required /lib/security/pam_limits.so
|
# vi /etc/security/limits.conf
¾Æ·¡ ³»¿ë Ãß°¡ # oracle 10g setting oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
|
# vi /etc/profile
¾Æ·¡ ³»¿ë Ãß°¡ # oracle 10g setting if [ $USER = "oracle" ]; then ulimit -u 16384 -n 65536 fi
|
3. ½Ã½ºÅÛ ÀçºÎÆà ÈÄ ·çÆ®°èÁ¤ ·Î±×ÀÎ
# shutdown -r now
# vi /etc/redhat-release ¾Æ·¡ ³»¿ë Ãß°¡ / ±âÁ¸³»¿ë »èÁ¦ ¶Ç´Â ÁÖ¼® ¼öÁ¤ Àü : CentOS release 5.3 (Final) ¼öÁ¤ ÈÄ : redhat-4 |
4. oracle »ç¿ëÀÚ·Î ·Î±×¿ÂÇÏ¿©, Oracle ȯ°æ º¯¼ö¸¦ ¼³Á¤
# su - oracle $ cd ~ $ vi .bash_profile
¾Æ·¡ ³»¿ë Ãß°¡ # oracle 10g setting TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME ORACLE_SID=orcl; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM PATH=/usr/sbin:$PATH; export PATH PATH=$ORACLE_HOME/bin:$PATH; export PATH export LANG=C
Ãß°¡ÈÄ ÀúÀåÇÏ°í ¾Æ·¡ ½ÇÇà
$ source .bash_profile |
5. Çʼö ÆÐÅ°Áö ¼³Ä¡
# yum install binutils # yum install compat-libgcc-296 # yum install compat-libstdc++-296 # yum install compat-libstdc++-33 # yum install cpp # yum install gcc # yum install gcc-c++ # yum install glibc # yum install glibc-common # yum install glibc-devel # yum install glibc-headers # yum install ksh # yum install libaio # yum install libaio-devel # yum install libgcc # yum install libstdc++ # yum install libstdc++-devel # yum install make # yum install setarch # yum install libXp # yum install openmotif # yum install unixODBC* |
6. ¿À¶óŬ ¾ÐÃà Ç®±â
´Ù¿î °æ·Î À̵¿ÈÄ # unzip 10201_database_linux32.zip # mkdir /oracle10g # chmod 755 database ¼³Ä¡ ÆÄÀÏ ¿øÇϴ°÷¿¡ À̵¿ÈÄ ¼³Ä¡ |