Accel Linux 6.1 + Oracle 8.0.5 설치

////////////////////////////////////////////////////////////////////////////

//                                                                        //

//           Accel Linux 6.1 + Oracle 8.0.5 Install Guide                 //

//                                                                        //

////////////////////////////////////////////////////////////////////////////

이문서의 저작권은 서진우 님에게 있습니다. 무단 복사나 배포는 허용하지 않습

니다.

                                               – //  2000 년  9 월 10일  //

——————————————————————————-

### 설치 환경 ###

cpu : intel PIII 450 MHz

ram : 512 M

os  : Accel 6.1

먼저 액셀리눅스 6.1을 설치한후 다음 패키지를 설치한다.

[root@hoonmart /root]# rpm -ivh tcl-8.0.5-20.i386.rpm

        

[root@hoonmart /root]# rpm -ivh compat-binutils-5.2-2.9.10.23.1.i386.rpm

[root@hoonmart /root]# rpm -ivh compat-glibc-5.2-2.0.7.1.i386.rpm

[root@hoonmart /root]# rpm -ivh compat-egcs-5.2.-1.0.3a.1.i386.rpm

[root@hoonmart /root]# rpm -ivh compat-egcs-c++-5.2-1.0.3a.1.i386.rpm

[root@hoonmart /root]# rpm -ivh compat-libs-5.2-2.i386.rpm

다음에 root 권한에서 oracle 계정과 dba 그룹을 만든다.

[root@hoonmart /root]# group -g 5000 dba

[root@hoonmart /root]# adduser -g dba oracle (oracle password 지정)

오라클 홈디렉토리의 퍼미션을 755 로 풀어준다.

[root@hoonmart /root]# chmod 755 /home/oracle

오라클 CD를 넣고 다음 경로의 스크립트 파일을 root 권한에서 실행시킨다.

실행시키기 앞서 ORACLE_OWNER root 권한에서 지정해 준다.

아래 스크립트는 오라클 인스턴스 정보를 oratab 파일에 기록하는 작업이다.

[root@hoonmart /root]# mount -t iso9660 /dev/cdrom /mnt/cdrom

[root@hoonmart /root]# cd /mnt/cdrom/orainst

[root@hoonmart orainst]# export ORACLE_OWNER=oracle

[root@hoonmart orainst]# sh oratab.sh

——————————————————————

*************************************************************************

Following conditions should be met to run this script successfully.

1. Needs root permission to run this script.

2. Need to set ORACLE_OWNER enviornment variable to the user who

   installs oracle product.

3. This ORACLE_OWNER should be part of group “dba”.

If any of these conditions are not met, please re-run after satisfying

these conditions.

*************************************************************************

Is it OK to continue (Y/N)? [Y]: y

The ORACLE_OWNER is set as:  oracle

Are these settings correct (Y/N)? [Y]: y

Checking for “oracle” user id…

[root@hoonmart orainst]#

——————————————————————

oracle 계정에서 환경변수를 설정해 주어라.

먼저 오라클 계정으로 접속

[root@hoonmart /root]# su – oracle

[oracle@hoonmart oracle]$ vi .bash_profile

——————————————————————

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

# User specific environment and startup programs

# 사용자별 환경변수 및 시작 프로그램 설정

#

PATH=$PATH:$HOME/bin

BASE_ENV=$HOME/.bashrc

USERNAME=””

export USERNAME BASE_ENV PATH

umask   022

ORACLE_HOME=/home/oracle/app/oracle/product/8.0.5

ORACLE_BASE=/home/oracle

export ORACLE_BASE ORACLE_HOME

ORACLE_SID=ORA8

export ORACLE_SID

export NLS_LANG=AMERICAN_AMERICA.KO16KSC5601;

ORACLE_TERM=386

export ORACLE_TERM

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib

PATH=$PATH:$ORACLE_HOME/bin

export PATH

export ULIMIT=2113674

export CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/classes111.zip

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/jdbc/lib

——————————————————————–

## 환경변수 적용

[oracle@hoonmart oracle]$ . .bash_profile

오라클 라이브러리 패치파일 준비

[oracle@hoonmart oracle]$ mkdir orapatch

[oracle@hoonmart oracle]$ cd orapatch/

[oracle@hoonmart orapatch]$

다음 사이트에서 오라클 패치 파일을 다운 받는다.

http://technet.oracle.co.kr/product/linux/linux.html

lnxpatch.tgz

linux_80510patchset.tgz

glibcpatch.tgz

위 패치 작업은 리눅스 6.x 버젼에서 데이터베이스 생성시 발생하는 에러를

수정한 부분이므로 리눅스 6.x 버젼에 oracle805를 설치시 반드시 해야 한다.

### Oracle Documentation install 준비

오라클 설치시 Oracle Documentation install 부분에서 발생하는 에러를 방지

하기 위해 미리 두 디렉토리를 link 시켜 놓는다.

[oracle@hoonmart oracle]$ mkdir /home/oracle/doc

[oracle@hoonmart oracle]$ mkdir -p /home/oracle/app/oracle/product/8.0.5

[oracle@hoonmart oracle]$ ln -s /home/oracle/doc /home/oracle/app/oracle/product/8.0.5

### orainst 실행

[oracle@hoonmart oracle]$ cd /mnt/cdrom/orainst

[oracle@hoonmart orainst]$ ./orainst

### 오라클 인스톨 과정 ###

————————————————————————-

1. Custom Install 하도록 한다.

      -j-jjjjjjjjjjjjjjjjjjjjjjj Install Type jjjjjjjjjjjjjjjjjjjjjjjdjjd

      q q                                                            q  q

      q q  Select the installation method, either Default Install    q  q

      q q  or Custom Install:                                        q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q   ( ) Default Install                                      q  q

      q q   (o) Custom Install                                       q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q   (Help…)        (Back)           (Cancel)         (OK)  q  q

      fjq                                                            qjjc

        fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

2. 오라클 인스톨 환영 메세지 그냥 OK .

-jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj preamble.txt jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj^

q ejjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjd q

q q————————————                                    ^ q

q qWELCOME TO THE NEW ORACLE INSTALLER!                                      q

q q————————————                                    q q

q qThe information in this file is provided in the following format:       q q

q qNewest information is provided at the top,older information is          q q

q qfurther down in the file.  Each major section is separated by a         q q

q qheading which documents the release number.                             q q

q q                                                                        q q

q q————————————                                    q q

q qOracle Installer 4.0.3.0                                                q q

q q————————————                                    q q

q qSIGNIFICANT CHANGES TO THE INSTALLER FOR THIS RELEASE                   q q

q q                                                                        q q

q q*** Add support for the “Customizable Dialog” in Motif                  v q

q fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc q

q                                                                            q

q                                                                            q

q                                                                            q

q   (Back)                           (Cancel)                      (OK)      q

q                                                                            q

fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

3. 오라클 8 버젼 에 관련된 정보 그냥 OK .

-jjjjjjjjjjjjjjjjjjjjj /mnt/cdrom/orainst/README.FIRST jjjjjjjjjjjjjjjjjjjjjj^

q ejjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjd q

q qVERSION=8.0.5.0.0                                                       ^ q

q q                                                                          q

q q    IMPORTANT ORACLE PARALLEL SERVER INSTALLATION NOTE.                   q

q q                                                                          q

q qFor the Sun SPARCcluster PDB installation of Oracle Parallel Server       q

q qyou must first install the support package for Oracle group Membership    q

q qServices. If this is not already done please exit the installer,and       q

q qfollow the directions in the <cdhome>/ops_patch/README file.            q q

q q                                                                        q q

q q    ORACLE8 RELEASE 8.0.5.0.0 IMPORTANT PRE-INSTALL INFORMATION         q q

q q                                                                        q q

q qThe following contains critical information that the customer needs to  q q

q qbe aware of prior to installing Oracle8 Release 8.0.5.0.0.              q q

q q                                                                        v q

q fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc q

q                                                                            q

q                                                                            q

q                                                                            q

q   (Back)                           (Cancel)                      (OK)      q

q                                                                            q

fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

4. 인스톨 작업 선택 ( 처음으로 인스톨 하는거기 때문에 첫번째 선택 )

      -j-jjjjjjjjjjjjjjj Installation Activity Choice jjjjjjjjjjjjjjjdjjd

      q q                                                            q  q

      q q  Select the Installer activity:                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q   (o) Install, Upgrade, or De-Install Software             q  q

      q q   ( ) Create/Upgrade Database Objects                      q  q

      q q   ( ) Perform Administrative Tasks                         q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q   (Help…)        (Back)           (Cancel)         (OK)  q  q

      fjq                                                            qjjc

        fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

5. 리눅스 6.x 버젼에서는 DB object 는 따로 설치 하여야 한다.

   그러므로  Install New Product – Do Not Create DB Objects  선택 .

      -j-jjjjjjjjjjjjjjjjjjj Installation Options jjjjjjjjjjjjjjjjjjjdjjd

      q q                                                            q  q

      q q  Select the Installer option:                              q  q

      q q  Note: there are two different Install New Product         q  q

      q q  options.                                                  q  q

      q q                                                            q  q

      q q                                                            q  q

      q q  ejjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjd  q  q

      q q  q Install New Product – Create DB Objects              q  q  q

      q q  q Install New Product – Do Not Create DB Objects       q  q  q

      q뀜  q ————————————————–   q  q  q

      q q  q Add/Upgrade Software                                 q  q  q

      q q  q Build Oracle8 Staging Area                           q  q  q

      q q  q Install Documentation Only                           q  q  q

      q q  q De-Install Software                                  q  q  q

      q q  q Migrate from ORACLE7 to ORACLE8                      q  q  q

      q q  fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc  q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q   (Help…)        (Back)           (Cancel)         (OK)  q  q

      fjq                                                            qjjc

        fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

6. 오라클 디렉토리 구조 설정 (오라클 환경 변수에 지정된거야 똑같이 설정 )

   -jjjjjjjjjjjjjjjjjjjjjjj Environment Variables jjjjjjjjjjjjjjjjjjjjjjjjd

   q                                                                      q

   q  Confirm, change, or enter values for the environment variables      q

   q  listed:                                                             q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q  ORACLE_BASE:    /home/oracle                                        q

   q                                                                      q

   q  ORACLE_HOME:    /home/oracle/app/oracle/product/8.0.5               q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q   (Help…)           (Back)              (Cancel)            (OK)   q

   q                                                                      q

   fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

7. 오라클 log 파일 생성위치 지정 ( 그냥 OK )

   -jjjjjjjjjjjjjjjjjjjjjjjjj Logging and Status jjjjjjjjjjjjjjjjjjjjjjjjjd

   q                                                                      q

   q  Confirm (or Change) Log File Location:                              q

   q                                                                      q

   q  If current versions of these log files exist in these locations,    q

   q  they will be archived and reinitialized.  Select Help for more      q

   q  details.                                                            q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q  Installer Log:  acle/product/8.0.5/orainst/install.log              q

   q                                                                      q

   q  SQL Log:        /home/oracle/app/oracle/product/8.0.5/o             q

   q                                                                      q

   q  Makefile Log:   /home/oracle/app/oracle/product/8.0.5/o             q

   q                                                                      q

   q  OS Log:         /home/oracle/app/oracle/product/8.0.5/o             q

   q                                                                      q

   q                                                                      q

   q                                                                      q

   q   (Help…)           (Back)              (Cancel)            (OK)   q

   q                                                                      q

   fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

8. 인스톨러 소스 위치 확인 ( CD-ROM 으로 설치 )

      -j-jjjjjjjjjjjjjjjjjjjjjj Install Source jjjjjjjjjjjjjjjjjjjjjjdjjd

      q q                                                            q  q

      q q  Select one of the following:                              q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q   (o) Install from CD-ROM                                  q  q

      q q   ( ) Install from Staging Area                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q                                                            q  q

      q q   (Help…)        (Back)           (Cancel)         (OK)  q  q

      fjq                                                            qjjc

        fjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjc

9. 인스톨 언어 설정 ( korean 으로 하도록 하자. )

      -j-jjjjjjjjjjjjjjjjjjjjjjjjjjj NLS jjjjjjjjjjjjjjjjjjjjjjjjjjjjdjjd

      q q                                                            q  q

      q q  Select the native language to be installed:               q  q

      q q                                                            q  q

      q q&nb

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

페이스북/트위트/구글 계정으로 댓글 가능합니다.