以下是安装是选择的组件
@ X Window System
@ GNOME Desktop Environment
@ KDE (KDE Desktop Environment )
@ Editors
@ Graphical Internet
@ Server Configuration Tools
@ Development Tools
@ X Software Development
@ GNOME Software Development
@ KDE Software Development
@ Administration Tools
@ System Tools
共12大项 ,选择后是3057M
修改防火墙,给外部访问用。
#vi /etc/sysconfig/iptables
插入这些:
#------- For Oracle port
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1158 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1521 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5560 -j ACCEPT
#-------------------------
dbca 在上面已经提及过了。创建数据库时无反应。
su - oracle
relink all
再执行
dbca创建数据库就可以了。
在运行$ORACLE_HOME/bin/dbstart时报错,
Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr
解决方法:修改dbstart这个文件,把ORACLE_HOME_LISTNER=$ORACLE_HOME
Part VI: 创建脚本,重启后自动启动oracle
添加自启动脚本
首先编辑文件
vi /etc/oratab
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
orasid:/datas/apps/oracle/product/10.2.0/db_1:Y
创建自启动脚本 oradb
touch dbora
chmod 700 dbora
vi dbora
#!/bin/bash
#
# chkconfig: 2345 80 05
# description: Oracle 10g Server
# /etc/init.d/dbora
#
# Run-level Startup script for the Oracle Instance, Listener, and
# Web Interface