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
- Buat user-user linux (lihat dokumentasi resmi Oracle)
- Ekstrak installer Oracle
- Jalankan installer dengan perintah berikut.
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.[root@localhost]$ ./runInstaller
Jika muncul error lain seperti ini "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory"[user1@localhost]$ su - root [root@localhost]$ xhost +
Muncul error lagi seperti ini "Error : must be redhat-3, SuSE-9, redhat-4"[root@localhost]$ yum install glibc.i686
Error : user tidak boleh root, solusinya adalah dengan login sebagai oracle.[root@localhost]$ vim /etc/redhat-release Ubah menjadi redhat-3 atau redhat-4
Package Error[root@localhost]$ su - oracle [oracle@localhost]$
libXp.so.6, libXt.so.6, libXtst.so.6
[root@localhost]$ yum install libXp.i686, libXt.i686, libXtst.i686
- Pilih Advanced Installation
- Product-Specific Prerequisite Checks
- Checking Kernel Parameters
Error Parameter Kernel tidak sesuai, solusinya dengan mengubah parameter pada
/etc/sysctl.conf
Refresh konfigurasi kernel dengansemopm 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
/sbin/sysctl -p
- Checking Network Configuration Req Skip saja tidak masalah, klik continue
- Installing
- Linking Oracle Database
Error "Invoking Target 'install' "
Error "Invoking Target 'agent nmo nmb' "Install libgcc (i386, x86_64), compat-libgcc.i386
Error "Invoking Target 'all_no_orcl' "Install glibc-devel.i386 (i386, x86_64)
Error "Invoking Target 'collector' ". Continue Terus, di patchset harusnya Error "unable to create shared memory segment". Edit diInstall compat-libstdc++.x86_64
/etc/sysctl.conf
. Tambahkanvm.hugetlb_shm_group = id_dba
. Cara cek id adalah sebagai berikut.[root@localhost]$ su - oracle [root@localhost]$ id
- 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