[Redhat9 & ORACLE 8.1.7] 설치기

김종은의 이미지

# oracle 9i는 시스템 사양 때문에 설치하지 못하고 8i (8.1.7)를 올려보았습니다. 정말 힘든 과정이더군요. T.T 해당방법이 해결책이라고 장담하진 못하지만 제가 서핑결과를 적용시켜본 결과 성공한 방법입니다.
-------------------------------------------------------------------------------
Redhat9에 오라클 8.1.7 설치하기
===============================
0. 설치에 필요한 파일
- linux81701.tar(oracle사 홈페이지에서 download)
- glibc_2.1.3_stubs.tar(첨부파일)
1. DB설치 및 운영 그룹 및 계정 생성
- 그룹
> 'dba' 그룹 생성 ex)groupadd dba
- 계정
> 'oracle' 계정 생성 ex)useradd -g dba -d /oracle/app/oracle/product/8.1.7 -m oracle
> password 생성 ex) passwd oracle <enter> 암호입력
2. oracle 계정의 shell 환경 설정(bash쉘 기준)
- '/oracle/app/oracle/product/8.1.7/.bash_profile' 파일을 vi로 편집
> 이하 내용을 적절히 편집하세요.
umask 022
DISPLAY=localhost:0.0
PATH=$PATH:/usr/sbin:/usr/bin:/bin:/usr/local/bin:.
LD_LIBRARY_PATH=/usr/lib
LD_INCLUDE_PATH=/usr/include
export LANG TERM DISPLAY

#-----Oracle Setting -----------------------------------
ORACLE_BASE=/oracle/app/oracle
ORACLE_HOME=/oracle/app/oracle/product/8.1.7
ORACLE_SID=[oracle_sid]
NLS_LANG=AMERICAN_AMERICA.KO16KSC5601
ORACLE_OWNER=oracle
ORACLE_TERM=vt100
ORA_CLIENT_LIB=shared
TNS_ADMIN=$ORACLE_HOME/network/admin
ORA_NLS32=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$LD_LIBRARY:$ORACLE_HOME/lib:/usr/openwin/bin:/usr/lib
PATH=$PATH:$ORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_SID NLS_LANG TMPDIR PATH ORACLE_OWNER ORACLE_TERM TNS_ADMIN ORA_NLS32 LD_LIBRARY_PATH ORA_CLIENT_LIB
> 변경된 쉘환경을 적용시킴 ex) . .bash_profile 혹은 다시 login
3. Oracle S/W의 임시Dir에 압축을 푼다.
- 압축 풀기
> ex) tar xvf linux80701.tar
> 이후 Disk1이란 dir가 생기고 하부에 파일들이 풀려진다.
4. XWindow를 구동시킨다.
- ex)startx
5. runInstaller 구동
- ex) cd $임시Dir_path/Disk1 <enter> ./runInstaller
- 만약 java관련 에러를 내면서 설치화면이 올라오지 않을 경우 조치
> 반드시 root 계정으로 xhost +localhost
> 다시 oracle계정으로 runInstaller 구동
6. custom으로 설치하고 db를 생성하지 않는 것으로 선택하여 설치
7. 설치도중 많은 에러(relink관련)가 나지만 모두 '무시'를 선택하여 설치
8. 설치 완료 후 root계정으로 root.sh를 실행토록 안내창이 나옴.
- root 계정의 환경 설정하고 root.sh실행
> cd /oracle/app/oracle/product/8.1.7
> export ORACLE_HOME=/oracle/app/oracle/product/8.1.7
> export ORACLE_SID=[oracle_sid]
> export ORACLE_OWNER=oracle
> ./root.sh
> /usr/local/bin Dir path입력하라고 나오면 그냥 enter
9. 만약 assist프로그램이 수행되면 무조건 선택하여 취소하고 설치를 완료함.
10. glibc_2.1.3_stubs.tar를 $ORACLE_HOME에 복사하여 압축을 품
- ex) cd $ORACLE_HOME <enter> tar xvf glibc_2.1.3_stubs.tar
11. setup_stubs.sh 구동
- ex) ./setup_stubs.sh
12. DB 생성
- cd $ORACLE_HOME/bin <enter> ./dbassist
- 입력할 사항들을 모두 입력하고 특히 문자 Set에서 문자집합: KO16KSC5601
국가별 문자 집합: KO16KSC5601FIXED 선택
- db생성됨
13. listener 올리기
- $ORACLE_HOME/bin 내에 netca 와 netasst를 열어 편집
- 마지막에서 두번째 라인에
$JRE -classpath ....... 를 $JRE -nojit -classpath ........ 로 변경
- netca와 netasst를 실행하여 설정
- 만일 lsnrctl 이 $ORACLE_HOME/bin에 없다면 lsnrctlO를 lsnrctl로 복사
- 만일 tnslsnr가 $ORACLE_HOME/bin에 없다면 tnslsnrO를 tnslsnr로 복사
14. 완료 (^^;;;)
- DB생성되고 listener도 올라감.

File attachments: 
첨부파일 크기
파일 glibc_2.1.3_stubs.tar350.01 KB
Forums: 

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.