Install Oracle 10g pada RHEL 6

Material

Oracle versi 10.2.0.1
Red Hat Enterprise Linux 6.6 Santiago

Deskripsi

Cara dan trik menginstall Oracle 10g pada RHEL 6

Langkah-langkah

  1. Buat user-user linux (lihat dokumentasi resmi Oracle)
  2. Ekstrak installer Oracle
  3. Jalankan installer dengan perintah berikut.
    [root@localhost]$ ./runInstaller
    
    Jika muncul error seperti ini "Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable". Buka terminal baru lalu ketikkan perintah berikut.
    [user1@localhost]$ su - root
    [root@localhost]$ xhost +
    
    Jika muncul error lain seperti ini "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory"
    [root@localhost]$ yum install glibc.i686
    
    Muncul error lagi seperti ini "Error : must be redhat-3, SuSE-9, redhat-4"
    [root@localhost]$ vim /etc/redhat-release
    Ubah menjadi redhat-3 atau redhat-4
    
    Error : user tidak boleh root, solusinya adalah dengan login sebagai oracle.
    [root@localhost]$ su - oracle
    [oracle@localhost]$
    
    Package Error libXp.so.6, libXt.so.6, libXtst.so.6
    [root@localhost]$ yum install libXp.i686, libXt.i686, libXtst.i686
    
  4. Pilih Advanced Installation
  5. Product-Specific Prerequisite Checks
  6. Checking Kernel Parameters Error Parameter Kernel tidak sesuai, solusinya dengan mengubah parameter pada /etc/sysctl.conf
    semopm atau kernel.sem = 250 32000 100 128
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default, rmem_max, wmem_default, wmem_max sesuaikan saja dengan apa yang diminta installer
    
    Refresh konfigurasi kernel dengan /sbin/sysctl -p
  7. Checking Network Configuration Req Skip saja tidak masalah, klik continue
  8. Installing
  9. Linking Oracle Database Error "Invoking Target 'install' "
    Install libgcc (i386, x86_64), compat-libgcc.i386
    
    Error "Invoking Target 'agent nmo nmb' "
    Install glibc-devel.i386 (i386, x86_64)
    
    Error "Invoking Target 'all_no_orcl' "
    Install compat-libstdc++.x86_64
    
    Error "Invoking Target 'collector' ". Continue Terus, di patchset harusnya Error "unable to create shared memory segment". Edit di /etc/sysctl.conf. Tambahkan vm.hugetlb_shm_group = id_dba. Cara cek id adalah sebagai berikut.
    [root@localhost]$ su - oracle
    [root@localhost]$ id
    
  10. In order to accomplish an Oracle install successfully. Setting environment variable di home oracle.
    [root@localhost]$ cd
    [root@localhost]$ vim .bash_profile
    Set Variabel ORACLE_HOME, ORACLE_BASE, ORACLE_SID, PATH, LD_LIBRARY_PATH
    

Catatan

  • Root.sh itu membuat file /etc/oratab
  • Kalau mau tuning and optimizing bisa edit-edit /etc/security/limits.conf atau ulimit

results matching ""

    No results matching ""