November 23, 200718 yr comment_607255 Hi all,I would like to thank for those who had contributed their opinion,ideas, advice and support in order to make cx_Oracle runs alive on my machine.At last, it works! And now my bos starts to smile again ... ;-p Thank you all ... (including Anthonu Tuininga -- the developer of cx_Oracle !)Regards,Linuxnewbie888 Report
November 26, 200718 yr Author comment_609462 Hi all,sesiapa yg interested nak tau camner I settle this problem, please kindly email me at [email protected] and i'll give the full instruction/installation guide..thanks..:-) Report
November 26, 200718 yr comment_609592 i see, when you got a problem, u share with us, when u have solve it, just keep it quite..that's good.. Report
November 26, 200718 yr comment_609607 Please share with us. If you are very kind person If you share.. more knowledge you can get.Okey ... Edited November 26, 200718 yr by hairulfadly Report
November 28, 200718 yr comment_611694 Congratulation! Please share it. You will lost nothing by sharing it with other. Report
November 28, 200718 yr comment_611838 Orang lain nak tau gak camner. Kalo camni, bukan kongsi maklumat. Report
November 29, 200718 yr Author comment_612076 Alamak bro, jgn la marah..Sorry for the late reply, I was in holidays for few days ago... Almaklumla hati dah heppi..I got few things to do , however, it such a great release when i've done with this cx_oracle. The thing is , I was faced with lot of difficulties in term of incompatibilities because my machine is 64-bit and there is lot of missing dependencies. Not sure why, maybe during the installation of linux.So thanks for your responds, dun worry as I have nothing to hide and it is such an honour to share with you guys, And hopefully we can fully utilize this cx_Oracle. First of all, let me make it clear , my os is Linux Enterprise Edition 5 (RHEL)X86_64 (64-bit) on my remote server and currently the database is Oracle 9i. I'm doing a test for new architecture of the new inhouse software, so we are about to migrate to 10g in future. So, I choose 10g R2 client to be installed on my box.Ok, to fully utilize cx oracle , I advice you all to d/load this fully oracle client instead of instant client b'coz cx oracle is looking for oracle home and other shared libraries. How to install oracle client ? I believe many of you who had performed oracle installation can do this installation. But for those who are new to oracle and linux (just like me :-p) let me give a brief on this topic -: (*macam lecturer lak ... kuikuikui) Oracle 10g (R2) client installation * you can d/load this oracle client release from www.oracle.com – you also can d/load the documentation for installation guide from the same site-1- Software requirementsList of packages you will need for install Oracle 10g on RHEL include binutilscompat-dbcompat-libstdc++control-centergccgcc-c++glibcglibc-commongnome-libslibstdc++libstdc++-develmakepdksh (RHEL 5 ships with ksh instead)sysstatxscreensaversetarchlibXp (to start runInstaller)orrpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|gcc'|sort Required packages(version must be these or higher).**Install required .rpm packages-2- Setting System parametersEdit the /etc/sysctl.conf and add following lines: kernel.sem = 250 32000 100 128kernel.shmmax = 2147483648kernel.shmmni = 128kernel.shmall = 2097152kernel.msgmnb = 65536kernel.msgmni = 2878fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000 Note: You need execute "sysctl -p" or reboot system to apply above settings. Edit the /etc/security/limits.conf file and add following lines: * - nproc 16384* - nofile 16384 -3- Preinstalation tasks-i- Create oracle User AccountLogin as root and create te user oracle which belongs to dba group. su -# groupadd dba# groupadd oinstall# useradd -g oinstall -G dba oracle-ii- Set Oracle EnviromentEdit the /home/oracle/.bash_profile file and add following lines:ORACLE_BASE=/u01/app/oracle;export ORACLE_BASEORACLE_HOME=${ORACLE_BASE}/product/Ora102;export ORACLE_HOMETMPDIR=/u01/tmp;export TMPDIR-iii- Create base directory for OracleCreate Oracle base,Oracle home and tmp directory:As root :mkdir u01chown oracle:dba u01as oracle:mkdir u01/app/oracle/product/102mkdir u01/tmpFor oracle 10g installation on RHL5, you should change the redhat release name. Go to /etc/redhat-release file and change it to Red hat Enterprise 4 (something that refers to RHEL4 instead of RHEL 5)-iv- If all required packages were installed successfully then login as root and switch the GCC 3.4 compiler binary with GCC 3.2 compiler binary as following: su -# cd /usr/bin# mv ./gcc ./gcc34# mv ./gcc32 ./gccextract the files using following command # gunzip 10201_client_linux_x86_64.cpio.gz#cpio -idmv <10201_client_linux32.zipcpio 4. Start the Oracle software installation process.Now the system is prepared for Oracle software installation. To start the installation process execute the following commands (as oracle): cd client./runInstaller • make sure the client directory is located under oracle_base/tmp directory• before runs the runInstaller file, need to be change to oracle account and start the hummingbird and export DISPLAY=<localhostname>:0.05.Post-Instalation Tasks-i- When the installation is done, switch back the GCC binaries su -# cd /usr/bin# mv ./gcc ./gcc32# mv ./gcc34 ./gcc-ii- Change permissions of /u01/app/oracle/oraInventory to 770.Cx_Oracle InstallationNow we can start the cx_oracle installation. Please get the installer from www.sourceforge.com . Choose the one that suites your application. As mine I choose cx_Oracle-4.3.3.tar.gz (platform independent). 1. untar the cx_oracle :# tar xvfz cx_Oracle-4.3.3.tar.gz2. #cd cx_Oracle-4.3.33. #python setup.py build4. #python setup.py installITâ€S DONE…………………………… :-)Jom nyanyi same2 -->> BERKOJO la KITO SEKUETNYO.... kui..kui..kui.. Sorry bro ada ralat skit :-2- Setting System parametersEdit the /etc/sysctl.conf and add following lines:kernel.sem = 250 32000 100 128kernel.shmmax = 2147483648kernel.shmmni = 128kernel.shmall = 2097152kernel.msgmnb = 65536kernel.msgmni = 2878fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000Note: You need execute "sysctl -p" or reboot system to apply above settings. ** if the value is higher, dont changeextract the files using following command# gunzip 10201_client_linux_x86_64.cpio.gz#cpio -idmv <10201_client_linux32.zipcpio -- silap nih , sepatutnyeextract the files using following command# gunzip 10201_client_linux_x86_64.cpio.gz#cpio -idmv <10201_client_linux_x86_64.cpio Report
April 29, 200818 yr comment_699491 errr.... ermmm... haaaape yg haaa 2??phm ke x??hehehetp aku pn xphm coz aku pn br bk berjinak2 ngan open source ni.. Report
April 19, 201115 yr comment_1067252 Camtu ke? Kalo installation ni saya biasa buat guna Oracle DB 10gR2. Siap buat guna RAC, pastu storage guna ASM. Data semua letak dalam SAN. Dah lama tak masuk sini. Hehehe.. Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.