IDC statement: This article published by does not mean that you agree with it or confirm its description for the purpose of transmitting more information.
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/