详细讲解RHEL AS4安装Oracle 10R2的方法
RHEL AS4上安装Oracle 10R2
1、检查安装环境
rpm –q setarch compat-libstdc++-33 make glibc openmotif21 compat-db libaio gcc compat-gcc-32 compat-gcc-32-c++
2、添加相关的用户与组
groupadd oinstall
groupadd dba
groupadd oper
useradd –g oinstall –G dba oracle
passwd oracle
3、建立路径并配置权限
mkdir –p /u01/app/oracle/prodUCt/10.2.0/db_1
chown –R oracle.oinstall /u01
chmod –R 755 /u01
4、修改内核及相关配置文件的参数
cat >> /etc/sysctl.conf <
A.#dbstart //启动数据库
#dbshut //关闭数据库
B.#emctl start dbconsole //开启企业治理器
#emctl stop dbconsole //关闭企业治理器
C.#lsnrctl start //启动监听
#lsnrctl stop //关闭监听
D.#emctl start agent //开启代理
#emctl stop agent //关闭代理
E.#sqlplus /nolog
conn / as sysdba
startup //启动实例
shutdown immediate //关闭实例
F.#tnsping 10.0.0.77 //测试Oracle数据库是否通
G.http://10.0.0.77:5560/isqlplus //isQL*Plus URL
http://10.0.0.77:5560/isqlplus/dba //isQL*Plus DBA URL
http://10.0.0.77:1158/em //Enterprise Manager 10g Database Control URL