groupadd oinstall
groupadd dba
useradd -m -g oinstall -G dba oracle
mkdir -p /u01/app/oracle
mkdir -p /u02/oracle
chown -R oracle:oinstall /u01/app/oracle /u02/oradata
chmod -R 755 /u01/app/oracle /u02/oradata
groupadd oinstall
groupadd dba
useradd -m -g oinstall -G dba oracle
mkdir -p /u01/app/oracle
mkdir -p /u02/oracle
chown -R oracle:oinstall /u01/app/oracle /u02/oradata
chmod -R 755 /u01/app/oracle /u02/oradata