Oracle 12c R1 installation on Solaris 11.1
Laurent Léturgez (http://laurent-leturgez.com)
~
Oracle Consultant – Oracle Cer...
1
1.1

Pre-configuration
User Creation

root@S11:~# groupadd -g 600 oinstall
root@S11:~# groupadd -g 601 dba
root@S11:~# u...
NAME
SIZE ALLOC
FREE CAP
rpool 49.5G 10.9G 38.6G 21%
root@S11:~# zpool status rpool
pool: rpool
state: ONLINE
scan: none r...
2

Oracle Database installation

-bash-4.1$ id -a
uid=500(oracle) gid=600(oinstall) groups=600(oinstall),601(dba)
-bash-4....
Laurent Leturgez (http://laurent-leturgez.com)
5
Laurent Leturgez (http://laurent-leturgez.com)
6
Laurent Leturgez (http://laurent-leturgez.com)
7
Laurent Leturgez (http://laurent-leturgez.com)
8
-bash-4.1$ sudo /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write perm...
ORACLE_HOME=

/u01/app/oracle/product/12.1.0/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin...
Laurent Leturgez (http://laurent-leturgez.com)
11
Upcoming SlideShare
Loading in...5
×

Oracle 12c r1 installation on solaris 11.1

1,775

Published on

Published in: Technology, Education
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,775
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Oracle 12c r1 installation on solaris 11.1

  1. 1. Oracle 12c R1 installation on Solaris 11.1 Laurent Léturgez (http://laurent-leturgez.com) ~ Oracle Consultant – Oracle Certified Master Laurent Leturgez (http://laurent-leturgez.com) 1
  2. 2. 1 1.1 Pre-configuration User Creation root@S11:~# groupadd -g 600 oinstall root@S11:~# groupadd -g 601 dba root@S11:~# useradd -u 500 -g oinstall -G dba -d /export/home/oracle oracle root@S11:~# passwd -r files oracle New Password: Re-enter new Password: passwd: password successfully changed for oracle root@S11:~# mkdir -p /export/home/oracle root@S11:~# chown oracle:oinstall /export/home/oracle root@S11:~# chmod 700 /export/home/oracle root@S11:~# su - oracle Oracle Corporation SunOS 5.11 11.1 September 2012 -bash-4.1$ id -pa uid=500(oracle) gid=600(oinstall) groups=600(oinstall),601(dba) projid=100(user.oracle) -bash-4.1$ exit root@S11:~# projadd -p 100 -c "Project for Oracle owner" -U oracle -G oinstall,dba -K 'project.max-shm-memory=(priv,10737418240,deny)' user.oracle root@S11:~# usermod -K project=user.oracle oracle root@S11:~# id -ap oracle uid=500(oracle) gid=600(oinstall) groups=601(dba) projid=100(user.oracle) root@S11:~# projects -l user.oracle user.oracle projid : 100 comment: "Project for Oracle owner" users : oracle groups : dba oinstall attribs: project.max-shm-memory=(priv,10737418240,deny) 1.2 FileSystem creation root@S11:~# zpool list Laurent Leturgez (http://laurent-leturgez.com) 2
  3. 3. NAME SIZE ALLOC FREE CAP rpool 49.5G 10.9G 38.6G 21% root@S11:~# zpool status rpool pool: rpool state: ONLINE scan: none requested config: NAME rpool c7t0d0 STATE ONLINE ONLINE DEDUP 1.00x HEALTH ONLINE ALTROOT - READ WRITE CKSUM 0 0 0 0 0 0 root@S11:~# zfs create rpool/u01 root@S11:~# zfs set mountpoint=/u01 rpool/u01 root@S11:~# zfs create rpool/u02 root@S11:~# zfs set mountpoint=/u02 rpool/u02 root@S11:~# zfs list | grep u0[1-2] rpool/u01 31K rpool/u02 31K 37.7G 37.7G 31K 31K /u01 /u02 root@S11:~# chown oracle:oinstall /u01 root@S11:~# chown oracle:oinstall /u02 1.3 Swap Configuration root@S11:~# swap -l swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 274,2 8 4194296 4194296 root@S11:~# swap -d /dev/zvol/dsk/rpool/swap root@S11:~# zfs set volsize=8G rpool/swap root@S11:~# swap -a /dev/zvol/dsk/rpool/swap root@S11:~# zfs list rpool/swap NAME USED AVAIL REFER rpool/swap 8.25G 31.7G 8.00G MOUNTPOINT - Laurent Leturgez (http://laurent-leturgez.com) 3
  4. 4. 2 Oracle Database installation -bash-4.1$ id -a uid=500(oracle) gid=600(oinstall) groups=600(oinstall),601(dba) -bash-4.1$ unzip solaris.x64_12cR1_database_1of2.zip && unzip solaris.x64_12cR1_database_2of2.zip Laurent Leturgez (http://laurent-leturgez.com) 4
  5. 5. Laurent Leturgez (http://laurent-leturgez.com) 5
  6. 6. Laurent Leturgez (http://laurent-leturgez.com) 6
  7. 7. Laurent Leturgez (http://laurent-leturgez.com) 7
  8. 8. Laurent Leturgez (http://laurent-leturgez.com) 8
  9. 9. -bash-4.1$ sudo /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete. -bash-4.1$ sudo /u01/app/oracle/product/12.1.0/dbhome_1/root.sh Performing root user operation for Oracle 12c The following environment variables are set as: ORACLE_OWNER= oracle Laurent Leturgez (http://laurent-leturgez.com) 9
  10. 10. ORACLE_HOME= /u01/app/oracle/product/12.1.0/dbhome_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: Creating /usr/local/bin directory... Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /var/opt/oracle/oratab file... Entries will be added to the /var/opt/oracle/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Laurent Leturgez (http://laurent-leturgez.com) 10
  11. 11. Laurent Leturgez (http://laurent-leturgez.com) 11

×