Install Oracle learning memorandum in Ubuntu

Source: Internet
Author: User
Today, I finally installed a new Ubuntu8.10 virtual hard disk in vbox. The size of the disk is 20 GB. The size of the last 8 GB is not enough, and the vbox cannot be changed.

At last, I installed a new Ubuntu 8.10 virtual hard disk in vbox. The size of the disk is 20 GB. The size of the last 8 GB is obviously not enough, and the vbox cannot be changed.

Linux community (Linuxidc) statement: the Linux community published this article for the purpose of transmitting more information, does not mean to agree with its views or confirm its description.

Today, I finally installed a new Ubuntu 8.10 virtual hard disk in the vbox. It is estimated that the size of the disk is 20 GB. The size of the last 8 GB is obviously not enough, in addition, vbox cannot change the size of the virtual hard disk, so I have to create a virtual hard disk and reinstall Ubuntu.

Ubuntu installation was still smooth. It took more than 20 minutes to install the Ubuntu operating system in the morning, and then update upgrade to go to work on the computer. Oracle 10g is downloaded from your computer.

Come back later to start Oracle installation.

The first choice is OFA (optimal flexible architecture). Although this is not necessary, it will make later maintenance and upgrade easier (the document is written in this way, and I do not know why)

Create system variables. linux system variables are stored in/etc/bash. bashrc. Open this file and edit and add two system variables.

ORACLE_BASE =/u01/app/oracle

Export ORACLE_BASE

ORACLE_HOME = $ ORACLE_BASE/product/10.2.0

Export ORACLE_HOME

Remember to back up the file before editing it to develop a good habit of backing up the file.

When installing Oracle for 10 Gb, a system error is reported. By default, Oracle does not support Ubuntu (10.2.0). Therefore, the Ubuntu operating system must be disguised as a RedHat system, the procedure is as follows:

Create the/etc/redhat-release file, edit the file and add the content Red Hat Linux release 4.1, so that our Ubuntu operating system is disguised as a redhat system, then run the installation file to continue.

When using OFA, You need to manually create some folders. Remember to add write permissions for each level of path in/u01/app/oracle/oraInventory; otherwise, an error is reported, the error dialog box "'s _ OWNER_SYSTEM_EPERM" is displayed"

Derek @ derek-desktop:/$ sudo chmod-R 777/u01/app/

Derek @ derek-desktop:/$ sudo chmod-R 777/u01/app/oracle

Derek @ derek-desktop:/$ sudo chmod-R 777/u01/app/oracle/oraInventory/

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.