oracle 10g+linux as4설치방법
Posted 2008. 10. 1. 10:47# rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common
gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio openmotif21
binutils
compat-db
control-center
gcc
gcc-c++
glibc
glibc-common
gnome-libs
libstdc++
libstdc++-devel
make
pdksh
###################################################
#vi /etc/profile
JAVA_HOME="/usr/java/java1.4"
export JAVA_HOME PATH="$PATH:$JAVA_HOME/bin"
# source /etc/profile
#####################################################
groupadd dba
groupadd oinstall
useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /u01/app/oracle
chown -R oracle.oinstall /u01
chmod -R 755 /u01/app/oracle
mkdir -p /u02/oradata
chown -R oracle.oinstall /u02
chmod -R 755 /u02/oradata
cat >> /etc/sysctl.conf <<eof
### Oracle 10g kernel Parameters ###
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
eof
cat >> /etc/security/limits.conf <<EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF
cat >> /etc/pam.d/login <<EOF
### oracle 10g pre-install ###
session required /lib/security/pam_limits.so
EOF
cat >> /etc/profile <<EOF
##### oracle 10g pre-install ###
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
EOF
cat >> /etc/csh.login <<EOF
##### oracle 10g pre-install ###
if ( $USER == "oracle" ) then
limit maxproc 16384
limit descriptors 65536
umask 022
endif
EOF
cat>>/home/oracle/.bash_profile<<eof
####### Oracle 10g environment variable ######
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=ORCL
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export PATH=$PATH:$ORACLE_HOME/bin
export DISPLAY=:0.0
export EDITOR=vim
eof
====================================================================
/etc/sysconfig/i18n
>> 설정내용 (EUCKR용) =============================================
LANG="ko_KR.eucKR"
SUPPORTED="en_US.iso885915:en_US:en:ko_KR.eucKR:ko_KR:ko"
SYSFONT="lat0-sun16"
SYSFONTACM="iso15"
====================================================================
>> 설정내용 (UTF-8용) ==============================================
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
====================================================================
'DataBase > Oralce' 카테고리의 다른 글
Linux x86에 Oracle Database 10g 설치하기 (0) | 2008.10.01 |
---|---|
오라클(OCP)10g 설치방법 (0) | 2008.10.01 |
Oracle 실행 및 종료, lsnrctl 실행 (0) | 2008.10.01 |
lsnrctl (0) | 2008.10.01 |
오라클 RedHat Linux AS 4.4 x86 Oracle 9i 설치 (0) | 2008.10.01 |
oracle sqlplus 명령 모음 (0) | 2008.10.01 |
Oracle SYS, System 비번 잃어버렸을때 (0) | 2008.10.01 |
- Filed under : DataBase/Oralce