<패치 구성>
1. 10.2.0.5 버전의 patchset을 압축 풀고 설치
$ cd /home/oracle/patchset
$ unzip p8202632_10205_LINUX.zip
2. response파일 편집
$vi /home/oracle/patchset/Disk1/response/patchset.rsp
UNIX_GROUP_NAME="dba"
FROM_LOCATION="/home/oracle/patchset/Disk1/stage/products.xml"
ORACLE_HOME="/home/oracle/product/10g"
ORACLE_HOME_NAME="OUIHome"
COMPONENT_LANGUAGES={"en,ko"}
DECLINE_SECURITY_UPDATES=TRUE
3. 10.2.0.5.0 PatchSet
$ /home/oracle/patchset/Disk1에서 작업을 해야함.
$ ./runInstaller -noconsole -silent -force -waitforcompletion -responseFile /home/oracle/patchset/Disk1/response/patchset.rsp
4. PatchSet 한 작업 log로 확인 가능
$cat /home/oracle/oraInventory/logs/installActions2011-11-27_03-06-40PM.log
5. 패치 완료 후, /home/oracle/product/10g/root.sh를 실행
# /home/oracle/product/10g/root.sh (Enter, y, y, y)
6. 확인을 해보아도 설치가 안된다.
silent mode로 oracle10g 설치 할 때 처럼enterprise.rsp파일 수정해 준것처럼
/home/oracle/Disk1/response/patchset.rsp 을 수정해서 실행해 보았지만 설치가 안됐습니다.
7. Enter 후 쭈욱 설치가 된다. 바로 #root 로그인해서 스크립트 실행을 해준다
8. 패치 완료 후, /home/oracle/product/10g/root.sh를 실행
# /home/oracle/product/10g/root.sh (Enter, y, y, y)
9. sqlplus /nolog 으로 패치 확인
<리스너 구성>
1. /home/oracle/database/response/netca.rsp 파일을 이용해서 리스너 구성
$vi /home/oracle/database/response/netca.rsp (밑에 파일 주석 해제)
SHOW_GUI=false
LOG_FILE ="/oracle/10gHome/network/tools/log/netca.lg
2. 리스너 구성 실행
$ cd /home/oracle/product/10g/bin
$./netca /silent /log /home/oracle/product/10g/network/tools/log/netca.log
/responseFile /home/oracle/database/response/netca.rsp
<DB 생성>
1. dbca 파일 편집
/home/oracle/database/response/dbca.rsp
$ vi /home/oracle/database/response/dbca.rsp
GDBNAME = "testdb"
SID = "testdb"
SYSPASSWORD = "oracle" ( 주석 처리 지워주고 pwd 설정 )
SYSTEMPASSWORD = "oracle" ( 주석 처리 지워주고 pwd 설정 )
NATIONALCHARACTERSET= "UTF8" ( 주석 처리 지울 것 )
2. DB 생성
$ cd /home/oracle/product/10g/bin/
$./dbca -silent -templateName /home/oracle/product/10g/assistants/dbca/templates/General_Purpose.dbc -responseFile /home/oracle/database/response/dbca.rsp
< 설치 완료 >
'Oracle DataBase > Oracle Install' 카테고리의 다른 글
RHEL5_11g_Silent (0) | 2012.06.12 |
---|---|
RHEL4 Silent_엔진_설치 (0) | 2012.06.12 |
RHEL3 9i Silent 설치 (0) | 2012.06.12 |
Oracle 설치 정리 (0) | 2012.06.04 |