I'm installing Oracle Database 11g R2 on Oracle Linux 6.2 for the 1st time and I'm following the documentation:
http://docs.oracle.com/cd/E11882_01/install.112/e24325/toc.htm
# mkdir -p /mount_point/app/
# chown -R oracle:oinstall /mount_point/app/
# chmod -R 775 /mount_point/app/
For example:
# mkdir -p /u01/app/
# chown -R oracle:oinstall /u01/app/
# chmod -R 775 /u01/app/
So obviously this Linux server I'm using as the database host is brand new with generic Linux defaults. I don't know if there's a specific folder / name structure I need to follow when installing Oracle Database 11g. The above shows a path of /u01/app/ but I've seen Oracle installed as /oracle/u01/app/ and I'm not sure which is correct and or if it even matters. Can someone please explain to me what folder structure I should follow on a generic database server that is NOT production. I'm just installing this to learn how the RDBMS works so I'd like to keep this as clean and following normal protocol as possible. Can someone explain the folder structure commonly used and should I follow the documentation instructions to a full path of /u01/app for the $ORACLE_BASE.
I asked my friend how his Oracle 11g R2 database structure was configured and he sent me the following:
[oracle@db1 ~]$ echo $ORACLE_BASE
/oracle/u01/app/oracle
[oracle@db1 ~]$ echo $ORACLE_HOME
/oracle/u01/app/oracle/product/11.2.0/db_1