Installation of Oracle 11g in Virtual Machine Linux

Source: Internet
Author: User

I. System Environment

1. Operating System: Fedora13
2. Database: Oracle11g 11.1.0.6.0
3. Virtual Machine: Oracle VirtualBox 3.2.6
4. Networking: Host-only

Ii. Installation Steps

1. Create dba user groups and oracle users
Switch to the root account: su-root
Add User Group: groupadd dba
Add User: useradd-g dba-p oracle

2. decompress the zip package to the oracle user directory:/home/oracle

3. Enter the installation directory of the terminal: cd/home/oracle/database

4. Execute./runInstaller to set as prompted

5. Make the following changes to check system inconsistencies:

I. system requirements)
Log on to the new terminal with a roor account: su-root
Go to the etc directory: cd/etc
Search for the RedHat-release file: ls redhat-release
Back up the redhat-release file: cp redhat-release/home
Edit the redhat-release file: vi redhat-release
Change Expected result to: redhat-5 according to Oracle prompt
Save and close the file

II. Install the dependency package (system package requirements)
Check the installation status of all dependent packages and ignore "passed" packages.
Search for the/media/Fedora 13 i386 DVD/Packages directory of the system installation disc based on the package name of "Failed ".
Such as: Checking for libaio-devel-0.3.106; Not found. Failed <
In the above directory, locate the rpm installation package of this or later version in ls libaio *.
If the installation disc does not exist, you can go to the http://rpm.pbone.net/find a download, upload to the virtual machine through FTP
Run the rpm-ivh libaio-devel-0.3.109-2.fc13.i686.rpm with the root account to install the rpm package
If XXX is needed by ### is prompted during installation, you must download the same version of XXX and install it first.

III. kernel parameters (kernel parameters)
Modify the/etc/sysctl. conf file and add the following content:
# Oracle Parameters
Kernel. sem = 250 32000 100 128
Kernel. shmmax = 536870912
Net. core. rmem_default = 4194304
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Net. ipv4.ip _ local_port_range = 1024 65000
Fs. file-max = 65536

After saving, run sysctl-p to make the configuration take effect.


After completing the preceding operations, you can install the SDK.

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.