How to install oracle 10g in Fedora 19? - database

The link given in the official page of oracle for linux or fedora is broken. So, I am unable to install oracle 10g from the official website. Please give me any other ideas to install oracle 10g.

According to this database download page:
Oracle Database 10.2 and 11.1 are no longer available for download.
The software is available as a media or FTP request for those
customers who own a valid Oracle Database product license for any
edition. To request access to these releases, follow the instructions
in Oracle Support Document 1071023.1 (Requesting Physical Shipment or
Download URL for Software Media) from My Oracle Support. NOTE: for
Oracle Database 10.2, you should request 10.2.0.1 even if you want to
install a later patch set. Once you install 10.2.0.1 you can then
apply any 10.2 patch set. Similarly, for 11.1 request 11.1.0.6 which
must be applied before installing 11.1.0.7. Patch sets can be
downloaded from the Patches and Updates tab on My Oracle Support.

Related

How to update Oracle DB version from 11.2.0.1.0 to 11.2.0.2.0?

I have installed Oracle Database 11.2.0.1.0 in my Windows 10 desktop PC with the installation files from official site link.
Is it possible to update this to 11.2.0.2.0 ?
I'm asking this because our staging server uses 11.2.0.2.0 so I'd like to match the version.
Thanks.
Normally if you have an Oracle support account you can download a CPU to upgrade. But if you don't, I would suggest to follow this link : http://mydbspace.com/?p=104 ( although is Linux, the operative is more or less the same )
It explains very well the steps, nevertheless, are you aware that 11g is already unsupported. You should try to use a newer version.
Rergards

Can we connect to any version of oracle using cx_oracle library python?

I am trying to write a script to connect to all version's of oracle database starting from the latest to the oldest version of database.
I tried myself with cx_oracle library found like it needs a client library in the local to connect to remote database like if I download the latest version then it will work up to latest few versions not all.
Also tried with Sqlalchemy connection which is also using cx_oracle libraries.
Please do guide me if am doing anything wrong? I would also like to hear if there are any other ways to connect to the database using PYTHON
cx_Oracle 6 and higher already support connecting to any Oracle database from 9i all the way up to 18c depending on the client that you are using. cx_Oracle requires Oracle Client libraries at least at 11.2. You can see the interoperability notes here. Since anything earlier than 11.2 is no longer supported anyway, that should be adequate in almost all circumstances.
You can also use ODBC to connect to the database but that won't perform as well as cx_Oracle does.
I have an 11.2 Oracle database client on my corporate Windows 7 laptop and use cx_Oracle to connect to databases from version 9.2 to 12.2 without any difficulty.
The other way I connect to databases of all versions is to wrap Python around the Linux version of Oracle's sqlplus utility. This way I do not need to install cx_Oracle and can run with an older Oracle client and the version of Python that comes with the Linux distribution. In my case I am running on Redhat 6 which comes with Python 2.6. I connect to databases from version 8.1 to 12.2 in this way.
I have a blog post about how I run sqlplus from Python on Linux: https://www.bobbydurrettdba.com/2016/11/04/running-sqlplus-from-a-python-script/
Bobby

How do I install Oracle Enterprise Repository 12c on Macbook?

I am trying to install the Oracle SOA stack of products on my MacBook but I am stuck at one very crucial point. Need a database on my machine for OER but cannot figure out what to do?
Here is what I have already done:
Successfully installed Oracle SOA Suite 12c
I have downloaded OER
I have tried installing Oracle Database 12c, with Linux version even though as there is no download choice for Mac. I faced following error : ./runInstaller: line 252: /Users/madhu/Oracle/product/18.0.0/dbhome_1/install/.oui: cannot execute binary file
I checked supported database for OER but did not find MySQL or SQLlite or any other product than Oracle and Microsoft SQL server.
Microsoft SQL server is obviously not supported in MacOS
So at the as for OER a database is essential and I cannot install any supported database on MacBook.
Can you please help me?
Even if the installer script doesn't instantly fail, that doesn't mean that the Linux version of ODB 12c will magically work on OS X.
Install ODB or SQL Server on something else and configure OER to connect to it. That "something else" can be a virtual machine running on your Mac.
Install VirtualBox (or your preferred hypervisor);
Install Linux or Windows on a virtual machine;
Install and configure Oracle Database or SQL Server on that VM;
Consult the manual to configure networking for your virtual machine so the database is accessible from your host machine.
WebLogic will run on the Mac but FMW/SOA will not - at least not stable. Neither will the database.
& I know I teach/install/admin these products and am a certified Oracle trainer. I’ve tried...my time was worth more than it took to try and get it to work outside a vm-natively. I assume yours is too.
Unless you are actively trying to learn how to install them, then yes #backgammon is right, install them in a VM.
BUT, if you just want to use them and are not as interested in installation, then use one of the prebuilt -preconfigured FMW virtual box images here that will run on the Mac under virtual box.
Then Install OER in that image.
But, be advised OER is no longer sold by Oracle, even though it’s available for download.
It has been replaced by the API cloud service product.

Configure Liferay 7.0 and WIldfly with Oracle

I have a doubt regarding LIferay 7.0 and Wildfly. I recently found a method to integrate Oracle DB with Liferay but, at least in the example and on my attempts to try it, when I start Wildfly with Liferay it keeps telling me "Unsupported Database Oracle".
The tutorial I followed was this one: https://www.dontesta.it/blog/en/2016/04/13/liferay-7-ce-how-to-add-support-for-oracle-db/
Is that only supported for Tomact? (Like in the example in that tutorial).
Thanks in advance.
The Oracle driver for Liferay 7 CE also works for the bundle with wildfly.
The procedure is very simple:
Build the Oracle Driver for Liferay (by following the guide liferay-portal-oracledb-support)
Download JDBC Oracle driver
Copy JDBC Driver in $LIFERA_HOME/wildfly-10.0.0/modules/com/liferay/portal/main/
Add JDBC Driver ojdbc7.jar as resource in module.xml ($LIFERA_HOME/wildfly-10.0.0/modules/com/liferay/portal/main/)
Copy jar (liferay-portal-oracledb-support-1.0-SNAPSHOT.jar) of the Oracle Driver for Liferay in $LIFERAY_HOME/wildfly-10.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/
Start Liferay
By following the above steps you should be able to install successfully Liferay 7, also you can see this tutorial Liferay 7 Wildfly: How to add support for Oracle DB
I point out the project https://github.com/amusarra/liferay-portal-database-all-in-one-support which groups the support for the three commercial databases for versions 7.0, 7.1 and 7.2 of Liferay.
This project add support to the Oracle Database, SQL Server and IBM DB2 database. Liferay has performed refactorting the code so that it is possible and easy to add support for databases no longer supported OOTB (out-of-the-box). The last version (1.1.4) of the driver works with the Liferay 7.2.1 CE GA2.
You can download the latest version binary jar from Maven Central Repository liferay-portal-database-all-in-one-support (https://search.maven.org/#search%7Cga%7C1%7Cit.dontesta), by doing so you can avoid doing the build.
I invite you to read the article How to build a Docker Liferay 7.2 image with the Oracle Database support (https://www.dontesta.it/en/2019/08/21/how-to-build-a-docker-liferay-7-2-image-with-the-oracle-database-support/) which may be interesting for you.

Is there an Oracle DB 11g or 10g available for Mac osx?

I have searched high and low and can't seem to find any download for Oracle Database 10/11g for Mac OSX. There area pages with links, but all the links are dead or point to the standard oracle downloads with no OSX version.
Is there an Oracle DB 11g or 10g available for Mac osx? If so, where is it?
once upon a time there was a 10.2.4.0 download at http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204macsoft_x86-64.html . Some people got it to work with the help of this blog post , but I never got it to work.
Oracle says,
"Oracle Database 10.2 and 11.1 are no longer available for download.
The software is available as a media or FTP request for those
customers who own a valid Oracle Database product license for any
edition. To request access to these releases, follow the instructions
in Oracle Support Document 1071023.1 (Requesting Physical Shipment or
Download URL for Software Media) from My Oracle Support."
So, the long answer is - it's possible to get it going but truly doubtful that it's worth your effort.
For those who want to setup oracle on the VM , here is a link about how to go about based on my personal experience
https://docs.google.com/document/d/1Th5MSIhS13YIJYCD8W1GLnOQEfrfov-92-He1cluTec/pub
I had the exact same question as you and wondered for a while. Finally I managed to install 11gR2 using VirtualBox and wrote a detailed blog post describing the process first about 11gR2 and recently updated for 12cR1.
Oracle 11g is available for:
Microsoft Windows (32-bit)
Microsoft Windows (x64)
Linux x86
Linux x86-64
Solaris (SPARC)
Solaris (x86-64)
HP-UX Itanium
HP-UX PA-RISC (64-bit)
AIX (PPC64) zLinux64
But not for Mac OSX.
See this page.
Actually Oracle should release a version of Oracle 11g for Mac OS too. If they are making a version of Oracle Virtual Box then they should have also the need of making a version of Oracle 11g or 12c for Mac OS.

Resources