Installation of Oracle Database 12C in Linux
Install Oracle Database 12C in Linux. After the installation, Oracle Configuration Manager fails to be properly installed, which does not matter. It will be installed later. It must be about environment variables or permissions. After all, the installation of Linux Oracle is complicated and error-prone, so be careful.
In fact, the installation process is also very simple, but there are a lot of content. For more information, see the official documentation: oracle database: Quick Installation Guide.
Free in http://linux.bkjia.com/
The username and password are both www.bkjia.com
The specific download directory is for installation of Oracle Database 12C under/July 15,/July 7,/Linux.
For the download method, see
Installing Oracle 12C in Linux-6-64
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing Oracle 11gR2 in vmwarevm
Install Oracle 11g XE R2 In Debian
Start Installation
Follow this guide step by step. To sum up, it is:
1. Check the software dependencies required for database installation.
Check whether the corresponding software packages are installed one by one according to the document. This is very important. If a package is missing, a dependency error will certainly occur.
2. Check the hardware dependencies required for database installation.
Check whether your hardware environment meets the minimum requirements for database installation. In fact, the current hardware environment is generally okay. So I just want to give it a little bit.
3. Create the users and groups required to use the database.
Create oracle users, common oinstall and dab groups. And groups oracle databases.
4. Create a folder for database installation.
For convenience and no error, it is best to create the u01 folder according to the document.
5. Mount the image to the system.
My download is actually a. ZIP file. I directly decompress two files to generate the database directory. Put the installation file in this directory. Mounting is also similar.
6. Run the runinstaller in the database and follow the prompts to install it.
Problem
Two minor problems encountered during installation:
1. check if the display variable is set
This document describes how to set display first. However, when I encountered this problem, I restarted and logged on as an oracle user. This problem disappears.
2. In fact, this document only describes how to set the TMP environment variables, but does not allow you to set very important environment variables such as ORACLE_HOME. It just says that environment variables must be unset before installation, I thought there would be var. sh to set environment variables. But it does not affect the installation. To use oracle, you must set the environment variable.
ORACLE_BASE =/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID = orcl; export ORACLE_SID
ORACLE_TERM = xterm; export ORACLE_TERM
PATH = $ PATH: $ ORACLE_HOME/bin; export PATH
LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: $ ORACLE_HOME/lib; export LD_LIBRARY_PATH
CLASSPATH = $ ORACLE_HOME/JREORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH
Of course, the specific directories vary according to their own versions. Therefore, you need to write profile files while setting environment variables without stopping cd and ls.
In short, the most important thing about installing linux data is the environment variables and permissions. Pay attention to these two points.
This article permanently updates the link address: