Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle 12 C install on Oracle Linux 7

User_H98TKMay 9 2016 — edited May 10 2016

My Linux server is running Cent OS 6.7.  I have followed instructions from https://oracle-base.com/articles/12c/oracle-db-12cr1-installation-on-oracle-linux-7 to complete my installation on my server. However during the installation I missed the step that creates dba, oper and other groups. I did created the group oinstall and added the user oracle to the group though. My installation is good and nothing is wrong with it.

MY questions:

1. Now post-installation, I create the OS groups dba, oper and other groups and added a new OS user oracle_admin to dba group. How can  I grant the  OS  groups dba, oper  the required permissions on oracle database ?

2. I added  the following lines at the end of the "/home/oracle/.bash_profile" file. Do I need to add this to every users .bash_profile ?

# Oracle Settings

export TMP=/tmp

export TMPDIR=$TMP

export ORACLE_HOSTNAME=ol7.localdomain

export ORACLE_UNQNAME=orcl

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2/db_1

export ORACLE_SID=orcl

export PATH=/usr/sbin:$PATH

export PATH=$ORACLE_HOME/bin:$PATH

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib



This post has been answered by Dude! on May 10 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2016
Added on May 9 2016
5 comments
1,751 views