RedHat Enterprise Linux 6.3 install Oracle Database 11g

Source: Internet
Author: User
Tags gpg

This article describes the process of installing Oracle 11g on RHEL 6.3. You can download RHEL from many image sites, such as Oracle 11g, note that the version 11.2.0.3 is used in this article. Currently, this version is not available for download only for paid accounts, if you need this version, you can contact me by email, readers can download the published version, download 1, download 2.

When installing RedHat, You need to select all the components for installation, especially the desktop part. Otherwise, there will be no graphical interface after restart...

Then install vmware tools, decompress, run the vmware-install.pl file as root, press enter to complete the installation, after the installation is complete, restart the virtual machine.

When installing the Oracle database, you need to set some parameter environment parameters and install some corresponding dependent packages. For ease of installation, we use CentOS yum.

To install centos yum:

1. Delete the original yum of RedHat:

Rpm-aq | grep yum | xargs rpm-e -- nodeps

2. Download the yum installation component (depending on the local installation version)

Wget http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/yum-3.2.29-30.el6.centos.noarch.rpm
Wget http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
Wget http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm
Wget http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm

If you cannot download the package, you can also use the installation package in centos you downloaded.

3. Install yum

rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm   rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm   rpm -ivh yum-3.2.29-30.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm  

The last two packages are installed together and will depend on each other.

4. Create a file named rhel-debuginfo.repo in the/etc/yum. repos. d/folder and use gedit to enter the following:

[Base]
Name = CentOS-$ releasever-Base
Baseurl = http://mirrors.163.com/centos/6.3/ OS /?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6

# Released updates
[Updates]
Name = CentOS-$ releasever-Updates
Baseurl = http://mirrors.163.com/centos/6.3/updates/?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6

# Packages used/produced in the build but not released
# [Addons]
# Name = CentOS-$ releasever-Addons
# Baseurl = http://mirrors.163.com/centos/?releasever/addons/?basearch/
# Gpgcheck = 1
# Gpgkey = http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
# Additional packages that may be useful
[Extras]
Name = CentOS-$ releasever-Extras
Baseurl = http://mirrors.163.com/centos/6.3/extras/?basearch/
Gpgcheck = 1
Gpgkey = http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
# Additional packages that extend functionality of existing packages
[Centosplus]
Name = CentOS-$ releasever-Plus
Baseurl = http://mirrors.163.com/centos/6.3/centosplus/?basearch/
Gpgcheck = 1
Enabled = 0

5. yum clean all

6. At this time, you can also test whether the yum command is available or use yum update for upgrade.

Yum install vim

  • 1
  • 2
  • 3
  • Next Page

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.