设为首页 加入收藏

TOP

CentOS6上安装Oracle11g(四)
2014-11-24 02:28:26 来源: 作者: 【 】 浏览:28
Tags:CentOS6 安装 Oracle11g
112040_Linux-x86-64_2of7.zip

6. 图形化安装oracle11g

使用X-manager远程调用图形化界面,如下图中指令:

\

操作如下:

[root@hyltest ~]# xhost +

--开启图形化功能

access control disabled, clients can connect from any host

[root@hyltest ~]# su - oracle

[oracle@hyltest ~]$ cd /soft

[oracle@hyltest soft]$ ls

database rpm11 rpm11odbc rpm.sh serverstop.sh yum.sh

[oracle@hyltest soft]$ cd database

[oracle@hyltest database]$ ls

install response runInstaller stage

readme.html rpm sshsetup welcome.html

[oracle@hyltest database]$ ./runInstaller

--执行安装程序

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB. Actual 15998 MB Passed

Checking swap space: must be greater than 150 MB. Actual 4095 MB Passed

Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-15_08-33-36PM. Please wait ...[oracle@hyltest database]$ You can find the log of this install session at:

/u01/app/oraInventory/logs/installActions2014-10-15_08-33-36PM.log

进入到图形化后,按照提示逐步进行即可,参考过程如下:

\

\

\

\

\

\

\

\

\

\

\

\

\

\

\

[root@hyltest ~]# /u01/app/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@hyltest ~]# /u01/app/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@hyltest ~]# /u01/app/oracle/product/11.2.0/db_1/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME= /u01/app/oracle/product/11.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 script.

Now product-specific root actions will be performed.

Finished product-specific root actions.

\

7. dbca建库

[oracle@hyltest database]$ dbca

\

\

\

\

\

\

\

\

\

\

\

\

\

\

\

\

8. netca配置监听

[oracle@hyltest database]$ netca

\

\

\

\

\

\

\

\

9. 配置开机实例自启动

[root@hyltest ~]# vi /etc/rc.d/rc.local

#!/bin/sh

#

# This script will be executed *after* all the other init scripts.

# You can put your own initialization stuff in here if you don't

# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

su - oracle -c "/u01/app/oracle/product/11.2.0/db_1/bin/dbstart start"

su - oracle -c "/u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start"

~

~

~

~

[root@hyltest ~]# vi /etc/oratab

# This file is used by ORACLE utilities. It is created by root.sh

# and updated by either Database Configuration Assistant while creating

# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator. A new line terminates

# the entry. Lines beginning with a pound sign, '#', are comments.

#

# Entries are of the form:

# $ORACLE_SID:$ORACLE_HOME::

#

首页 上一页 1 2 3 4 下一页 尾页 4/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇CentOS6上安装Oracle10g 下一篇centos6.5x86_64安装oracle11.2.0..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: