VMware中linux环境下oracle安装图文教程(二)ORACLE 10.2.05版本的升级补丁安装
程序员文章站
2022-05-29 13:19:35
首先我们解压
$ unzip p8202632_10205_linux.zip
解压后我们会发现多出了个文件夹,他是:disk1,进入disk1。然后执行安装:...
首先我们解压
$ unzip p8202632_10205_linux.zip
解压后我们会发现多出了个文件夹,他是:disk1,进入disk1。然后执行安装:
$ ./runinstaller
执行脚本
# /u01/app/oracle/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= /u01/app/oracle/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]:
the file "oraenv" already exists in /usr/local/bin. overwrite it? (y/n)
[n]:
the file "coraenv" already exists in /usr/local/bin. overwrite it? (y/n)
[n]:
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.
执行完脚本后进行创建数据库。
$ dbca
这里之前还报了一个错误,说的是企业管理器 安装失败。企业管理器是我们dba日常生活必不可少的工具,所以我们必须要给它安装起来。
[oracle@oracle disk1]$ sqlplus / as sysdba;
sql*plus: release 10.2.0.5.0 - production on fri aug 15 22:23:05 2014
copyright (c) 1982, 2010, oracle. all rights reserved.
connected to:
oracle database 10g enterprise edition release 10.2.0.5.0 - production
with the partitioning, olap, data mining and real application testing options
sql> select status from v$instance;
status
------------
open
显示数据库打开正常
上一篇: redhat 4中安装Oracle 10g图文教程
下一篇: 乳清蛋白质粉和蛋白质粉的区别