oracle 10g gird control的安裝

jolly10發表於2009-04-28

幾乎花了兩個星期才裝成功的,主要是由於/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


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

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271283/viewspace-1021393/,如需轉載,請註明出處,否則將追究法律責任。

相關文章