Install Oracle 12c on Redhat

Source: Internet
Author: User
Tags create directory dba gpg

---restore content starts---

1. Determine if the VM's hard disk space is df-h enough, the hard disk space free disk 15G is more secure

2. Identify the network and require remote connect ifconfig

3. Verify kernel. Confirm that the Linux version meets Oracle requirements

4. Install the package Yum

Yum install-y binutils.x86_64 compat-libcap1.x86_64 gcc.x86_64 gcc-c++.x86_64 glibc.i686 glibc.x86_64 glibc-devel.i686 Glibc-devel.x86_64 Ksh compat-libstdc++-33 libaio.i686 libaio.x86_64

libxtst.i686 libxtst.x86_64 make.x86_64 sysstat.x86_64 zip unzip

Problem found: yum install ERROR–GPG key retrieval failed: [Errno] Could not open/read File:///etc/pki/rpm-gpg/RPM-GPG-KEY -oracle

Workaround: wget Http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6-O/etc/pki/rpm-gpg/rpm-gpg-key-oracle

5. Create users and Groups:

Groupadd Oinstall-Create Oinstall zu

Groupadd dba

Useradd oracle-g oinstall-g dba-belongs to two groups, one primary group, one sub-group

passwd Oracle-Create password

ID Oracle-View users, confirm grouping

6. Building your Directory

Df-k, see which space is larger, I this is the/dev space is relatively large (field is mounted on), directly under this directory created

# mkdir-p/dev/app/Create directory # chown-r oracle:oinstall/dev/app/Group
# Chmod-r 775/dev/app Authorization

7. Oarlce setting
Export Tmp=/tmp
Export tmpdir= $TMP
Export Oracle_home=zhuvmbmf.localdomain
Export ORACLE_UNQNAME=ORA12C
Export Oracle_base=/dev/app
Export Oracle_home= $oracle _base/product/12/ora12c
Export ORACLE_SID=ORA12C
Export Path=/usr/sbin: $path
Export path= $oracle _home/bin, $path

---restore content ends---

Install Oracle 12c on Redhat

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.