你好,游客 登录 注册 搜索
背景:
阅读新闻

CentOS 6.6安装Oracle 10g步骤

[日期:2017-10-15] 来源:Linux社区  作者:Linux [字体:大 中 小]

二、Oracle软件安装
从10201_database_linux_x86_64.cpio软件包,解压出database文件夹到/home/oracle下。

使用oracle用户登录桌面,开一个终端窗口:

cd database
./runInstaller


将UNIX DBA Group选择为dba。设置sys、system用户密码。点击Next。


将群组选择为dba。点击Next。


鼠标勾选Checking Network Configuration requirements。点击Next。


点击Install。



出现了一个错误,网上说是个bug,点击继续。



点击OK。


新开个终端:

su - root

执行这两个脚本:

[root@localhost ~]# /u01/oracle/oraInventory/orainstRoot.sh
Changing permissions of /u01/oracle/oraInventory to 770.
Changing groupname of /u01/oracle/oraInventory to dba.
The execution of the script is complete

[root@localhost ~]# /u01/oracle/product/10.2.0/db_1/root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/oracle/product/10.2.0/db_1

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.

The following J2EE Applications have been deployed and are accessible at the URLs listed below.



安装完成。

以下是一些组件的访问地址:

iSQL*Plus URL:
http://localhost:5560/isqlplus

iSQL*Plus DBA URL:
http://localhost:5560/isqlplus/dba

Enterprise Manager 10g Database Control URL:
http://localhost:1158/em

启动监听和em和isqlplus:

lsnrctl start
emctl start dbconsole
isqlplusctl start

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-10/147652.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款