8i | 9i | 10g | 11g | 12c | Misc | PL/SQL | SQL | RAC | Linux

Home » Misc » Here

Comments for Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 7 (OL7)

Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 7 (OL7) - A brief guide to installing Oracle 12c Release 1 (12.1) on Oracle Linux 7 (OL7).



RikTheHib said...

Chaps - great article but I couldn't get the relinking to work until I downloaded the preinstall package:
# yum install oracle-rdbms-server-12cR1-preinstall

The doc says it's for Linux 6 but the package comes down for "el7".
After this the install ran fine with the env_rdbms.mk file mods.

Tim... said...

Hi.

The oracle-rdbms-server-12cR1-preinstall package is not yet in the OL7 yum repository, so I guess you downloaded it from the OL6 repository...

Also, you don't need the relink if you install 12.1.0.2, which is what you should be installing now as it is available from OTN.

Cheers

Tim...

AVman said...

On your ctx.mk error correction field, the right syntax will be (instead of --W1),
LINK=$(LDCCOM) -Wl,--no-as-needed
Also, I had to install an enchilada of zlib and zlib-devel libraries on top of what you mentioned.

Tim... said...

Hi.

My text does say "Wl". Put the text into an editor and Ucase it. You will see it is a lower case "L". It is the monospace font that makes it look like a one. :)

I've not needed those extra libraries. You must be picking a different base installation to me.

Cheers

Tim...

AVman said...

Thanks Tim. Good thing, I copied your -Wl part and pasted it, otherwise I would have scratched my head for another 10 minutes to figure out the error. Regarding you other comments, I think you are right. Linux should have a common "almost complete" base install. Too many install option creates an heterogeneous echosystem.

Travis said...

Great tutorial! I spent 3 days with Oracle "installation guides"...

Anyway I ran into an error with the Oracle Database Configuration Assistant failing with error INS-20802.

Looking through the trace file I saw:
java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

Not sure why but this fixed me right up:
xhost +

Louis said...

Thanks for the articule it's great.

But I followed util I can't continue, I'm still getting the "Error in invoking target 'install' of makefile "

I add "--Wl,--no-as-needed" but the error continue.

Any Idea?

Oracle 12c 12.1.0.1
Oralce Linux 7 (x86_64)

Tim... said...

Hi.

Not really. I've not done a 12.1.0.1 install for ages. I use 12.1.0.2 now. Why are you still using 12.1.0.1 when 12/1/0/2 is available for download from OTN? Is this an SE installation?

Cheers

Tim...

Louis said...

Hi Tim,

12.1.0.2 is available only for "Enterprise Edition", I'm trying to install a "Standat Edition"

Thanks in advance

Tim... said...

Hi.

The certification matrix on MOS says 12.1.0.1 (EE or SE) is NOT certified on OL7. If you need to install SE, you MUST use OL6, until such a time as the 12.1.0.2 patch is released for SE.

Cheers

Tim...

SajjaD said...

Hi.
I did exactly as the the article said, but I got this error:
" bash: ./runInstaller: Permission denied "
Any idea?

Tim... said...

Hi.

Looks like you have unzipped the software as another user, so the Oracle user doesn't have permission to execute the installer. Change the ownership of the unzipped media.

chown -R oracle.oinstall /path/to/software/database

Cheers

Tim...

SajjaD said...

I changed the owner of oracle database folder but still I get "Permission denied "

Tim... said...

Does it have execute permission?

chmod u+x runInstaller

Cheers

Tim...

SajjaD said...

Still getting "Permission denied ".
I installed Oracle Linux 7.1 in virtualbox, created a local user "oracle" and installed "oracle-rdbms-server-12cR1-preinstall" package from the .iso file that installed the OS.
I don't know what is wrong?

Tim... said...

Hi.

I don't know what to say. The instructions are correct. You must have done something wrong. How can a file with execute permissions not have execute permissions. I've done this several time and so have others. It just works...

Cheers

Tim...

SajjaD said...

What about hostname and bash profile configurations?

[oracle@sajjadpc database2]$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

[oracle@sajjadpc database2]$ hostname
sajjadpc

What hostname I have to set for in bash profile and hostname?

Tim... said...

Hi.

It must match the result of the "hostname" command. That will not cause permission denied though.

Cheers

Tim...

DO NOT ask technical questions here! They will be deleted!

These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!