1. 9i 추가 리눅스 설정
Linux 추가 패키지 설치
rpm -ivh compat-gcc-32-* rpm -ivh compat-gcc-32-c++-*
[root@oel4 RPMS]# rpm -ivh compat-gcc-32-3.2.3-47.3.x86_64.rpm 경고: compat-gcc-32-3.2.3-47.3.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516 준비 중... ########################################### [100%] 1:compat-gcc-32 ########################################### [100%] [root@oel4 RPMS]# rpm -ivh compat-gcc-32-c++-3.2.3-47.3.x86_64.rpm 경고: compat-gcc-32-c++-3.2.3-47.3.x86_64.rpm: V3 DSA signature: NOKEY, key ID b38a8516 준비 중... ########################################### [100%] 1:compat-gcc-32-c++ ########################################### [100%]
리눅스 필수 패키지 설치 확인
rpm -q kernel-* rpm -q glibc-* rpm -q gcc-* rpm -q gcc-c++-* rpm -q libstdc++-* rpm -q libstdc++-devel-* rpm -q libstdc++-* rpm -q glibc-devel-* rpm -q glibc-* rpm -q make-* rpm -q gnome-libs-* rpm -q ORBit-* rpm -q audiofile-* rpm -q esound-* rpm -q gtk+-* rpm -q imlib-* rpm -q libpng10-* rpm -q libungif-* rpm -q tcp_wrappers-* rpm -q setarch-* rpm -q libaio-* rpm -q glibc-kernheaders-* rpm -q glibc-headers-* rpm -q glibc-devel-*
[root@oel4 database]# rpm -q kernel-* kernel-2.6.9-89.0.0.0.1.EL [root@oel4 database]# rpm -q glibc-* glibc-2.3.4-2.43 glibc-2.3.4-2.43 [root@oel4 database]# rpm -q gcc-* gcc-3.4.6-11.0.1 [root@oel4 database]# rpm -q gcc-c++-* gcc-c++-3.4.6-11.0.1 [root@oel4 database]# rpm -q libstdc++-* libstdc++-3.4.6-11.0.1 libstdc++-3.4.6-11.0.1 [root@oel4 database]# rpm -q libstdc++-devel-* libstdc++-devel-3.4.6-11.0.1 [root@oel4 database]# rpm -q libstdc++-* libstdc++-3.4.6-11.0.1 libstdc++-3.4.6-11.0.1 [root@oel4 database]# rpm -q glibc-devel-* glibc-devel-2.3.4-2.43 glibc-devel-2.3.4-2.43 [root@oel4 database]# rpm -q glibc-* glibc-2.3.4-2.43 glibc-2.3.4-2.43 [root@oel4 database]# rpm -q make-* make-3.80-7.EL4 [root@oel4 database]# rpm -q gnome-libs-* gnome-libs-1.4.1.2.90-44.2 [root@oel4 database]# rpm -q ORBit-* ORBit-0.5.17-14.0.1 [root@oel4 database]# rpm -q audiofile-* audiofile-0.2.6-1.el4.1 [root@oel4 database]# rpm -q esound-* esound-0.2.35-2 [root@oel4 database]# rpm -q gtk+-* gtk+-1.2.10-36 [root@oel4 database]# rpm -q imlib-* imlib-1.9.13-23 [root@oel4 database]# rpm -q libpng10-* libpng10-1.0.16-3.el4_7.3 [root@oel4 database]# rpm -q libungif-* libungif-4.1.3-1.el4.2 [root@oel4 database]# rpm -q tcp_wrappers-* tcp_wrappers-7.6-37.9.el4 [root@oel4 database]# rpm -q setarch-* setarch-1.6-1 [root@oel4 database]# rpm -q libaio-* libaio-0.3.105-2 libaio-0.3.105-2 [root@oel4 ~]# rpm -q glibc-kernheaders-* glibc-kernheaders-2.4-9.1.103.EL [root@oel4 ~]# rpm -q glibc-headers-* glibc-headers-2.3.4-2.43 [root@oel4 ~]# rpm -q glibc-devel-* glibc-devel-2.3.4-2.43 glibc-devel-2.3.4-2.43
root 유저로 수행
mv /usr/bin/gcc /usr/bin/gcc.orig mv /usr/bin/g++ /usr/bin/g++.orig ln -s /usr/bin/x86_64-redhat-linux-gcc32 /usr/bin/gcc ln -s /usr/bin/x86_64-redhat-linux-g++32 /usr/bin/g++
[root@oel4 ~]# mv /usr/bin/gcc /usr/bin/gcc.orig [root@oel4 ~]# mv /usr/bin/g++ /usr/bin/g++.orig [root@oel4 ~]# ln -s /usr/bin/x86_64-redhat-linux-gcc32 /usr/bin/gcc [root@oel4 ~]# ln -s /usr/bin/x86_64-redhat-linux-g++32 /usr/bin/g++
vi /etc/profile 수정
if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi