I am attracted to use OpenSuSE 11.1 (x86) because of attractive and nice desktop environment design. Beside OpenSuSe is one of RPM base Linux distro likes Red Hat Enterprise Linux (RHEL) and of course its free. So I’ve installed OpenSuse 11.1 into my machine.
Since I am working in one of Oracle Certified Company, then I must have Oracle database installed into my machine to do some learning and testing. Why I am not just install Oracle database on RHEL or OEL since there are officially supported by Oracle? Hurm..why not I am doing some experiment since both OpenSuse and RHEL were RPM base.
Here the step by step to install Oracle 10g database on OpenSuse 11.1:
1. I assumed that OpenSuse 11.1 has been installed on your machine, and Oracle Database isntaller has been downloaded from Oracle website (database.zip).
2. Make sure required package was installed:
#rpm -q gcc gcc-c++ glibc libaio libaio-devel make openmotif openmotif-libs
and install the following package:
# zypper install libstdc++33
2. Create new group and user, in this case I am using “oracle” user:
# groupadd oinstall
# groupadd dba
# groupadd oper
# useradd -g oinstall -G dba oracle
# passwd oracle
3. Incase oracle user directory does not exist, create a new one and change owner to oracle:
# mkdir /home/oracle
#chown -R oracle.dba /home/oracle
4. Create directory to install oracle software, I am installed oracle in /u01 directory:
# mkdir -p /u01/app/oracle/product/10.2.0/db_1
#chown -R oracle.oinstall /u01
5. Download and install orarun package and install. It will automatically configure environment and kernel parameter required by Oracle database.
# rpm -Uvh orarun.rpm
Although orarun has configured oracle environment automatically, but we need to change some parameter to meet our requirement. By default, orarun will not set ORACLE_BASE under /u01/app/oracle directory. So, we need to change it manually. Keep in mind that change environment in OpenSuse 11.1 was not like in RHEL. In RHEL we just make change in .bash_profile right? but not in OpenSuSe 11.1 hehe
6. Change ORACLE_BASE, ORACLE_HOME, ORACLE_SID and whatever parameter according to your plan and needs:
# vi /etc/profile.d/oracle.sh
and another one (by default ORACLE_BASE is set to /opt/oracle):
# vi /etc/sysconfig/oracle
7. Login to oracle user. Unzip your database.zip file. Then, don’t forget to change permission to “database” directory to avoid permission error.
# su - oracle
oracle@faiz:~> unzip database.zip
oracle@faiz:~> chmod -R 777 database
8. Before execute the runInstaller, don’t forget to export DISPLAY parameter since I always forget this step and get “Error: Can’t open display:” error:
oracle@faiz:~> export DISPLAY=:0.0
and one more thing edit file database/install/oraparam.ini to add “SuSE-11″ to [Certified Versions] line.
oracle@faiz-iproserv:~> vi database/install/oraparam.ini
9. Change directory to /home/oracle/database and ./runInstaller then follow step by step instruction by Oracle Installer.
If all parameter has been configured correctly, there are no reason for you to not install Oracle into OpenSuSE successfully.
*During installation, there are 1 Warning and 4 Waiting for verification. Just tick all the user verified box and proceed to isntallation.
mkdir -p /u01/app/oracle/product/10.2.0/db_1
hey Bro , the article is o fair enough in learning , i do all the instructions but finally when running “./runInstaller” an error occurs telling me ” runInstaller is a directory” although its not a directory ! thx:)
the First Problem is solved thx god by writing the CHMOD -R 777 database , but when it runs now the following is displayed “All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-08-10_06-00-58PM. Please wait …oracle@linux:~/database> No protocol specified
Exception in thread “main” java.lang.InternalError: Can’t connect to X11 window server using ‘:0.0′ as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at oracle.ewt.popup.PopupFrame.(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
“
ok Rahman, try this..
1. login as root
2. issue this command: xhost +
3. exit to oracle user
4. issue this command: export DISPLAY=:0.0;
5. ./runinstaller again and goodluck
i install ora 10g 64 on suse 11.3 64
at 84% i have an error
invoke target ‘all no orcl’ of make file
……ins_rdbms
this is from log file
INFO: – Linking Oracle OSDBA Group tool
INFO: gcc -o osdbagrp -L/opt/oracle/db10g//lib/ -L/opt/oracle/db10g/lib/ -L/opt/oracle/db10g/lib/stubs/ /opt/oracle/db10g/rdbms/lib/config.o /opt/oracle/db10g/srvm/lib/sprdbgrp.o `cat /opt/oracle/db10g/lib/sysliblist` -Wl,-rpath,/opt/oracle/db10g/lib -lm `cat /opt/oracle/db10g/lib/sysliblist` -lm -lm -L/opt/oracle/db10g/lib
INFO: mv -f /opt/oracle/db10g/bin/osdbagrp /opt/oracle/db10g/bin/osdbagrp0
INFO: mv osdbagrp /opt/oracle/db10g/bin/osdbagrp
INFO: make[1]: Leaving directory `/opt/oracle/db10g/srvm/lib’
INFO:
INFO: – Linking liborasdkbase
INFO: /opt/oracle/db10g/bin/genorasdksh -base
INFO: $Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $
INFO: Generating BASE ORASDK library…
INFO: Creating /opt/oracle/db10g/lib/liborasdkbase.so.10.2
INFO: gcc: /usr/lib64/libstdc++.so.5: No such file or directory
INFO: /opt/oracle/db10g/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
INFO: make: *** [liborasdkbase] Error 1
INFO: End output from spawned process.
INFO: ———————————-
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ‘all_no_orcl’ of makefile ‘/opt/oracle/db10g/rdbms/lib/ins_rdbms.mk’. See ‘/opt/oracle/oraInventory/logs/installActions2010-09-29_07-20-23AM.log’ for details.
Exception Severity: 1
can you help me please
work just ignore
thank you
How it work please..
hi i am also getting same error as FANE got
please tell me how to get rid of that
Hi zaigam & Fane,
Actually the error already give you the clue. There are missing package required by Oracle.
Fane, ignored the error is not the best practice ya.
Ok, this error can be fix by install the compat-libstdc++. Try this:
#zypper install compat-libstdc++
And it should work. Good luck
hii!
boleh tlong x?
saya nk tanye ada x buat tukar number celcom ke number baru????please
9:21 pm
thak’s its helpfull :->