[日期:2017-05-26] | 来源:Linux社区 做者:sound | [字体:大 中 小] |
配置安装成功linux
配置安装Oracle 客户端数据库
[root@rhel6 opt]
# su - oracle
[oracle@rhel6 ~]$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: creating new authority
file
/home/oracle/
.Xauthority
New
'rhel6:2 (oracle)'
desktop is rhel6:2
Creating default startup script
/home/oracle/
.vnc
/xstartup
Starting applications specified
in
/home/oracle/
.vnc
/xstartup
Log
file
is
/home/oracle/
.vnc
/rhel6
:2.log
[root@rhel6 opt]
# unzip p13390677_112040_Linux-x86-64_1of7.zip
[root@rhel6 opt]
# unzip p13390677_112040_Linux-x86-64_2of7.zip
[root@rhel6 opt]
# chown -R oracle.oinstall database/
VNC远程桌面安装Oracle软件oracle
[oracle@rhel6 database]$ .
/runInstaller
选择只安装Oracle软件(后续再建实例)app
选择单实例节点安装测试
选择安装企业版字体
Oracle数据库软件安装位置(环境变量读取正确不须要修改)ui
因为测试环境内存偏小,因此这里能够忽略警告继续安装spa
以root用户执行所需的脚本.net
[root@rhel6 tmp]
# /u01/app/oracle/product/11.2.0/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
Enter the full pathname of the
local
bin directory: [
/usr/local/bin
]:
The contents of
"dbhome"
have not changed. No need to overwrite.
The contents of
"oraenv"
have not changed. No need to overwrite.
The contents of
"coraenv"
have not changed. No need to overwrite.
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.
安装完成3d
Oracle和ASM配置安装完成接下来安装配置ASM,建instance
以grid用户远程桌面登录,配置ASM磁盘
[grid@rhel6:
/home/grid
]$asmca
以oracle用户远程桌面登录,配置建立数据库
[oracle@rhel6 database]$ dbca
选择建立数据库
因为这里是实验环境选择第一项
配置instance名