ITPub博客

首页 > 数据库 > Oracle > oracle 10g gird control的安装

oracle 10g gird control的安装

原创 Oracle 作者:jolly10 时间:2009-04-28 13:56:06 0 删除 编辑

几乎花了两个星期才装成功的,主要是由于/etc/hosts文件配的不对,装好之后觉的还蛮简单的,自己真笨,有几次差点就想放弃了。

[@more@]

在新的机器上安装时不需要安装oracle的任何软件,在安装gird control时会自动安装oracle软件和数据库的。


装成功的配置如下:

#add parameters to /etc/sysctl.conf

kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144

[root@rhel131 db10g]# sysctl -p

hosts文件一定要配对,我由于没有将127.0.0.1写在这个文件,导致一直装不上。

[oracle@rhel131 ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
172.17.61.131 rhel131.hom.com rhel131


[oracle@rhel131 ~]$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

unset USERNAME

# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db10g; export ORACLE_HOME
ORACLE_SID=emrep; export ORACLE_SID
PATH=.:/usr/sbin:$ORACLE_HOME/bin:$PATH; export PATH
PATH=$PATH:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin; export PATH
PATH=$PATH:$ORACLE_HOME/Apache/Apache/bin; export PATH

#PS1="`hostname`> "
set -o emacs
set filec


参考:
Oracle 10g Release 2 Grid Control Installation On Red Hat Enterprise Linux and CentOS
http://www.oracle-base.com/articles/10g/Oracle10gR2GridControlInstallationOnRedHatAndCentOS.php

Oracle10g oem grid control实战
http://tech.it168.com/oldarticle/2006-09-22/200609221658613_2.shtml

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/271283/viewspace-1021393/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-02-20

  • 博文量
    263
  • 访问量
    826724