9.Oracle软件安装完毕。

[oracle@ocm1 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release10.2.0.1.0- Production on Sat Apr 12 20:52:05 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
四、升级数据库软件
14. 这里安装是10.2.0.1.0的oracle软件,而考试的环境是10.2.0.2.0,所有这里我升级了下。
打补丁,升级为10.2.0.2
[root@ocm1 media]# unzip p4547817_10202_LINUX.zip
[root@ocm1 media]# mv Disk1/ /u01/
[root@ocm1 media]# cd /u01/
[root@ocm1 u01]# ll
total 12
drwxrwx--- 3 oracle oinstall 4096 Apr 12 16:17 app
drwxr-xr-x 6 oracle oinstall 4096 Jul 3 2005 database
drwxr-xr-x 5 root root 4096 Feb 25 2006 Disk1
[root@ocm1 u01]# chown -R oracle:oinstall Disk1/
[root@ocm1 u01]# ll
total 12
drwxrwx--- 3 oracle oinstall 4096 Apr 12 16:17 app
drwxr-xr-x 6 oracle oinstall 4096 Jul 3 2005 database
drwxr-xr-x 5 oracle oinstall 4096 Feb 25 2006 Disk1
[root@ocm1 u01]#
[root@ocm1 u01]# su - oracle
[oracle@ocm1 ~]$ cd /u01/Disk1/
[oracle@ocm1 Disk1]$ ll
total 472
-rw-r--r-- 1 oracle oinstall 343141 Feb 25 2006 10202_buglist.htm
drwxr-xr-x 4 oracle oinstall 4096 Feb 6 2006 install
-rw-r--r-- 1 oracle oinstall 110645 Feb 25 2006 patchnote.htm
drwxr-xr-x 2 oracle oinstall 4096 Feb 6 2006 response
-rwxr-xr-x 1 oracle oinstall 1430 Feb 6 2006 runInstaller
drwxr-xr-x 9 oracle oinstall 4096 Feb 25 2006 stage
[oracle@ocm1 Disk1]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be RedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-04-12_08-57-24PM. Please wait ...[oracle@ocm1 Disk1]$ Oracle Universal Installer, Version 10.2.0.2.0 Production
Copyright (C) 1999, 2006, Oracle. All rights reserved.
1. 欢迎界面,默认,点击“Next”。

2.默认,注意,Name和Path和安装10.2.0.1.0一致。

3.摘要,默认,点击“Install”。

4.开始安装。

#############################################################################################################
安装过程中,出现以下错误是因为我在一个窗口中使用sqlplus连接了oracle数据库,"exit"退出后,点击“Retry”即可。

[oracle@ocm1 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Apr 12 20:52:05 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL>exit
Bus error
[oracle@ocm1 ~]$
