새로운 oracle 파일이 생성되면 Ignore 를 클릭하고, 다음 나오는 오류들은 ok를 눌러 무시하면 아래 창을 볼 수 있다. 아래 그림은 이미 완료가 된 사진이라 약간 다른데, 어쨌든 Retry를 누르면 해당 오류는 넘어간다.
위 단계가 완료되면 이런 창이 뜬다. ok를 눌러 넘어간다.
모든 설치가 끝나고 마지막으로 root 계정을 이용해 아래 2 파일을 실행시켜준다.
# /home/oracle/oraInventory/orainstRoot.sh
Changing permissions of /home/oracle/oraInventory to 770. Changing groupname of /home/oracle/oraInventory to oinstall. The execution of the script is complete
# /home/oracle/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /home/oracle
Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed.
Oracle 10g 10.2.0.1 설치 완료
9. 설치 마무리
$ vi /etc/oratab
# orcl:/home/oracle:N orcl:/home/oracle:Y (두개가 생성되어 있는데, 한개 주석처리 하고 N를 Y로 변경)
$ su - root # vi /etc/rc.d/rc.local
su - oracle -c /home/oracle/bin/dbstart su - oracle -c /home/oracle/bin/"lsnrctl start" (추가)
10. Oracle 시작/종료
$ lsnrctl [start : stop : status] (리스너 [시작 : 종료 : 상태 보기])
$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 14 00:53:22 2017 Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Release 10.2.0.1.0 - 64bit Production