Comments on How to Install Oracle Database 12c on CentOS 7
In this tutorial, I will show you step-by-step how to install Oracle 12c on a CentOS 7 x86-64 machine. This includes the preparation and configuration of the CentOS 7 machine for the Oracle 12c installation, the Oracle 12c installation and testing the database with the Oracle Database command line utility sqlplus and the web-based Oracle Enterprise Manager.
12 Comment(s)
Comments
's/CentOS 7/Oracle Linux 7/g'
then replace steps 1 and 2 with 'yum install oracle-rdbms-server-12cR1-preinstall'
the value of this article is close to 0 because it's author is confused and instead of performing some basic preliminary research he publishes this article to confuse everyone else who's going to follow his steps. Muhammad, i assure you, your step 3 is not required and is absolutely unnecessary. your statement "The Oracle installation requires GUI access" is not true. it seem to me you simply was not able to follow istructions on Installing and Configuring Oracle Database Using Response Files from an amazing Oracle Database Installation Guide
hi.
I have this error :
alter user sys identified by oracle12 ERROR at line 1:ORA-01034: ORACLE not availableProcess ID: 0Session ID: 0 Serial number: 0
and when I put : startup have this other :
ORA-09925: Unable to create audit trail fileLinux-x86_64 Error: 2: No such file or directoryAdditional information: 9925
[oracle@localhost database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 14978 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3071 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,
Continue? (y/n) [n] y
>>> Ignoring required pre-requisite failures. Continuing...
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-09-07_04-13-34PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at java.awt.Toolkit$2.run(Toolkit.java:834)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1852)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:557)
at oracle.install.commons.util.Application.startup(Application.java:792)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:198)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:355)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:130)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:161)
Thank you for useful contents
It works ..
Please, do you know if there is any type of penalty or if any property law is broken if Oracle is installed under CentOS in a production environment? Thanks.
You should remove the slash from the end of "export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1/" - "export PATH=$PATH:$ORACLE_HOME/bin" would result ...dbhome_1//bin, which is not correct.
About error on limit of stack that block you on checking prerequesite, just ignored this step to start install.
Regards
headmax.
some suggestions for updates....updates on implementatoin on 6/23/2018
I installed 12.2.0 on centos 7.5 on the way to installing Oracles Identity manager.
vim /etc/sysctl.conf:
Kernel.shmmax = 8265609216
vim /etc/security/limits/conf
oracle soft stack 10240
oracle hard stack 32768
there is a small problem at the moment with the port 5500 when you run the install:
to avoid it simple edit /etc/hosts and add the ipaddress and fully qualified followed by the simple name of the system:
xxx.yyy.zzz.1550 nightcircus.hello,.net nightcircus [or whatever your machine name is]
there is a second bug that can show up stating that the permissions for the oui file won't allow execution...
there are multiple ways to fix this on the net. [google].
but an undeciplined approach would be to :
chmod -R 777
Identity manager does not like container databases [I sure that is in the documentation somewhere... but I missed it.]
Having recently rebuilt this machine using CentOS 7.5 I found out rather quickly that Oracle 11gR2 would not work, so I started researching Oracle 12cR2.
I never install more than just the software, then I use netca and dbca. Using 11gR2 I have a service script called dbora to do the automatic start and stop during reboots. But CentOS 7 requires a different direction, but that was not included here.
Your tutorial worked fine for me man, thanks, it was the best one that i could find around the internet.
If I installs oracle as above . What is the licence required to use it and how I get it and how much I should pay