go to http://oracle.in.th
Showing posts with label Applications. Show all posts
Showing posts with label Applications. Show all posts

Monday, May 10, 2010

มาเตรียมเครื่องให้พร้อม ก่อนลง Oracle Applications 11i กันดีกว่า

Oracle Applications 11i’s Prerequisite

สำหรับการ Install Oracle Applications 11i (11.5.1)ใน Linux Red Hat 4 มีสิ่งที่ต้องทำก่อนดังต่อไปนี้

1. ตรวจสอบ Package ว่ามีครบดังต่อไปนี้หรือไม่
    compat-db-4.1.25-9
    compat-gcc-32-3.2.3-47.3
    compat-gcc-32-c++-3.2.3-47.3
    *compat-oracle-rhel4-1.0-5
    *compat-libcwait-2.1-1
    compat-libgcc-296-2.96-132.7.2
    compat-libstdc++-296-2.96-132.7.2
    compat-libstdc++-33-3.2.3-47.3
    xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.37
    xorg-x11-deprecated-libs-6.8.2-1.EL.13.37
    openmotif-2.2.3-10.RHEL4.5

หมายเหตุ Package ที่มีเครื่องหมาย * สามารถหาได้จาก Oracle patch 4198954

2. ต้องมีเวอร์ชันของ Kernel ขั้นต่ำคือ 2.6.9-42.0.0.0.1.EL สามารถตรวจสอบได้โดยใช้คำสั่ง
    uname –r

3. ต้องมีเวอร์ชันของ glibc ขั้นต่ำคือ 2.3.4-2.25 สามารถตรวจสอบได้โดยใช้คำสั่ง
    rpm –q glibc

4. เพิ่มหรือแก้ไขค่า Domain Name Server Resolver Parameter ซึ่งอยู่ในไฟล์ /etc/resolv.confดังนี้
    options attempts:5
    options timeout:15

5. ตรวจสอบว่า Host Names ถูกต้องหรือไม่ ทำตามขั้นตอนดังต่อไปนี้
    5.1 ตรวจสอบในไฟล์ /etc/hosts ว่ามีรูปแบบดังนี้หรือไม่

          127.0.0.1 localhost.localdomain localhost
          <ip_address> <node_name>.<domain_name> <node_name>

    5.2 ตรวจสอบในไฟล์ /etc/sysconfig/network ว่ามีรูปแบบดังนี้หรือไม่

          HOSTNAME=<node_name>.<domain_name>

    5.3 ถ้ามีไฟล์ /etc/sysconfig/networking/profiles/default/network อยู่ ให้ทำการลบทิ้ง
    5.4 ถ้ามีการแก้ไขในขั้นตอนใดขั้นตอนหนึ่งก่อนหน้านี้ ให้ทำการ Restart เครื่องก่อนที่จะทำขั้นตอนต่อไป

6. เพิ่มหรือแก้ไขค่า Number of Open File Descriptors ซึ่งอยู่ในไฟล์ /etc/security/limits.conf ดังนี้
    * hard nofile 65535
    * soft nofile 4096
7. เพิ่มหรือแก้ไขค่า Port Range ซึ่งอยู่ในไฟล์ /etc/sysctl.conf ดังนี้
    net.ipv4.ip_local_port_range = 10000 65000

หลังจากทำการแก้ไขค่าต่างๆเรียบร้อยแล้วควรจะทำการ Restart เครื่องก่อนที่จะทำการ Install Oracle Applications 11i เมื่อ Restart แล้วก็น่าจะสามารถทำการ Install ได้โดยที่ไม่ติด Pre-requisites ใดๆครับ

สำหรับใครที่พร้อมแล้ว รอบทความหน้าของผม จะว่าด้วยเรื่องการ install ต่อนะครับ

Credit by Yong (@stigmatise)
ข้อเขียนนี้ช่วยฉัน: