IT/db

[oracle] 10gR2 centos 에 원격 설치

generator 2009. 9. 23. 00:51

리눅스에서 설치의 생명은 라이브러리 인듯하다.
아래 리스트를 꼼꼼히 체크해서 최신 버젼으로 맞춰 준다.

----------------------------------------------
binutils-2.15.92.0.2-18
elfutils-libelf-0.97-5
glibc-2.3.4-2.19
glibc-common-2.3.4-2.19
libgcc-3.4.5
make-3.80-5
compat-db-4.1.25-9
control-center-2.8.0-12
gnome-libs-1.4.1.2.90-44.1
pdksh-5.2.14-30
xorg-x11-deprecated-libs-6.8.1-23.EL
libstdc++-3.4.5-2
compat-libstdc++-33.2.3-47.3
libstdc++-devel-3.4.5-2
gcc-3.4.5-2
gcc-c++-3.4.5-2
glibc-devel-2.3.4-2.19
glibc-headers-2.3.4-2.19
compat-libstdc++-296-2.96-132.7.2
unixODBC-2.2.11
libaio-0.3.105-2
libaio-devel-0.3.105-2
openmotif21-2.1.30-11.RHEL4.2
sysstat-5.0.5
elfutils-libelf-devel-0.97-5
unixODBC-devel-2.2.11
-----------------------------------------------------

useradd oracle
passwd oracle
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oracle /u01
mkdir -p /u02/oradata
chown -R oracle.oracle /u02

vi /etc/redhat-release  내용 redhat-4 로 수정 

profile 추가에
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=namo; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
export DISPLAY=:0.0
EXPORT LANG=C

/etc/security/limits.conf 에 추가
oracle               soft    nproc   2047
oracle               hard    nproc   16384
oracle               soft    nofile  1024
oracle               hard    nofile  65536

/etc/pam.d/login 에 추가
session    required     /lib/security/pam_limits.so

/etc/sysctl.conf 에 추가
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4ip_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

//그래픽모드를 위해서 실행
export DISPLAY=localhost:0.0
xhost + localhost

./runInstaller