2009年5月5日 星期二

在CentOS 5.3灌Oracle 10g Enterprise版過程問題筆記

對於Oracle,我是個新手~
在建構練習環境中,遇到了些困難,紀錄一下~
========================================
在Linux解壓縮Oracle zip後,執行 runInstaller 安裝

1.
其中關鍵為缺少 libXp.so.6 檔,查了一下網路
解決方式為 (參考:http://www.cnblogs.com/oomusou/archive/2008/06/14/java_linux_libxp_so_6.html)


libXp.so.6是XFree86的一個library,通常在執行由Java寫的GUI時,會遇到以上的錯訊訊息。

==> #yum install libXp.so.6


2. 為安裝過程中,Prerequire check...少了一堆東東~~
其中一項為簡單的gcc,yum install 一下gcc即解決

較麻煩的如下




一堆Kernel的參數要調整~~
再次google,尋找官方installation guide,找到如下資料~ <點我> <點我2>
其中就有提到調哪些參數可查詢哪些檔案, 要改哪些檔案~



kernel mem 參數幾乎都在/etc/sysctl.conf改掉了~~

除了上述修改之外, 另外參考guide 增加
  1. Add the following lines to the /etc/security/limits.conf file:

    oracle              soft    nproc   2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536
  2. Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:

    session    required     /lib/security/pam_limits.so
    session required pam_limits.so
    • For the Bourne, Bash, or Korn shell, add the following lines to the /etc/profile file (or the file on SUSE systems)/etc/profile.local:

      if [ $USER = "oracle" ]; then
      if [ $SHELL = "/bin/ksh" ]; then
      ulimit -p 16384
      ulimit -n 65536
      else
      ulimit -u 16384 -n 65536
      fi
      fi

沒有留言:

張貼留言