1. Install the Linux operating system and VMware Tools
2. Create the group and user, and run the following command as the root user:
Groupadd-g Oinstall
GROUPADD-G 1001 DBA
Useradd-u 1001-d/home/oracle-g oinstall-g dba Oracle
Change Password: passwd Oracle
3. Create the required directory and modify the permissions:
Mkdir/soft
Chown-r Oracle:oinstall/soft
Chmod-r 755/soft
Mkdir-p/u01/app/oracle
Chown-r oracle:oinstall/u01
Chmod-r 755/u01
4. Install the required packages with the Yum tool
①mount/dev/cdrom/mnt
②vi/etc/yum.repos.d/public-yum-el5.repo
[Oel5]
name = Enterprise Linux 5.6 DVD
baseurl=file:///mnt/server/
Gpgcheck=0
Enabled=1
③yum Install oracle-validated
5. Switch to Oracle (su-oracle) to set the Oracle user environment variables:
①vi. Bash_profile
Export Oracle_base=/u01/app/oracle
Export Oracle_home= $ORACLE _base/product/11.2.0/dbhome_1
Export ORACLE_SID=ORA11GR2
Export path= $PATH: $HOME/bin: $ORACLE _home/bin
② Upload the Oracle installation media to the/soft directory
Using the Xftp tool
③ into the/soft directory, unzip the file
④ run./runinstaller Start graphical interface
Installing Oracle Software