Upgrade ‐ upgrade to release version - andyoolala/Oracle GitHub Wiki
Upgrade to version 10.2.0.5
$ cp -r /root/software/Oracle10g_v10205/patch_10205/p8202632_10205_Linux /opt/oracle/source/
$ chown -R oracle:oinstall /opt/oracle/source/p8202632_10205_Linux/
$ su - oracle
$ cd /opt/oracle/source/p8202632_10205_Linux/Disk1/response
$ cp patchset.rsp patchset_andyj.rsp
$ vi patchset_andyj.rsp
+ UNIX_GROUP_NAME=oinstall
+ ORACLE_HOME=/opt/oracle/product/10.2.0.db_1
+ ORACLE_HOME_NAME=OraDb10g_home1
+ DECLINE_SECURITY_UPDATES=true
$ cd /opt/oracle/source/p8202632_10205_Linux/Disk1
$ ./runInstaller –silent –responseFile /opt/oracle/source/p8202632_10205_Linux/Disk1/response/patchset_andyj.rsp
# run on gui
$ su - root
$ /opt/oracle/product/10.2.0.db_1/root.sh
Running Oracle 10g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/product/10.2.0.db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
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.