SlideShare a Scribd company logo
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
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
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
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
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 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
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
Laurent Leturgez (http://laurent-leturgez.com)
11

More Related Content

PDF
Install Solaris 11.1 on a Virtualbox VM
PDF
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
PDF
En rhel-deploy-oracle-rac-database-12c-rhel-7
PDF
Install oracle database 12c software on windows
DOCX
PDF
12c installation
PDF
Erp installation r12.2
DOCX
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Install Solaris 11.1 on a Virtualbox VM
Step by Step to Install oracle grid 11.2.0.3 on solaris 11.1
En rhel-deploy-oracle-rac-database-12c-rhel-7
Install oracle database 12c software on windows
12c installation
Erp installation r12.2
Vbox virtual box在oracle linux 5 - shoug 梁洪响

What's hot (17)

PDF
Installing oracle grid infrastructure and database 12c r1
PDF
12c (12.1) Database installation on Solaris 11(11.2)
PDF
11g r2 rac_guide
PDF
Ef09 installing-alfresco-components-1-by-1
PDF
Habilitar repositorio EPEL RHEL
PDF
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
PPT
Presentation iv implementasi 802x eap tls peap mscha pv2
DOCX
Install elasticsearch, logstash and kibana
ODP
Use bonding driver with ethernet
PDF
Python on exadata
PDF
Oreilly solinea-managing-openstack
PDF
Lab 1 my sql tutorial
PDF
J Ruby On Rails Presentation
PDF
在Oel5上安装配置oracle gird control 10.2.0.5
PDF
SOUG - Experiences with Oracle Solaris 11.4
PDF
Oracle Clusterware Node Management and Voting Disks
PDF
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
Installing oracle grid infrastructure and database 12c r1
12c (12.1) Database installation on Solaris 11(11.2)
11g r2 rac_guide
Ef09 installing-alfresco-components-1-by-1
Habilitar repositorio EPEL RHEL
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
Presentation iv implementasi 802x eap tls peap mscha pv2
Install elasticsearch, logstash and kibana
Use bonding driver with ethernet
Python on exadata
Oreilly solinea-managing-openstack
Lab 1 my sql tutorial
J Ruby On Rails Presentation
在Oel5上安装配置oracle gird control 10.2.0.5
SOUG - Experiences with Oracle Solaris 11.4
Oracle Clusterware Node Management and Voting Disks
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
Ad

Viewers also liked (20)

DOCX
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
KEY
Hanganalyze presentation
PPTX
Ukoug15 SIMD outside and inside Oracle 12c (12.1.0.2)
PPTX
Oracle 12c in memory en action
PDF
Oracle Database In-Memory Option in Action
PDF
HBase Status Report - Hadoop Summit Europe 2014
PDF
Modern Linux Performance Tools for Application Troubleshooting
PDF
SQL in the Hybrid World
PDF
Step by Step Restore rman to different host
PPTX
Data Pipelines in Hadoop - SAP Meetup in Tel Aviv
PPTX
SQL-on-Hadoop Tutorial
PDF
Non-Stop Hadoop for Hortonworks
PDF
Connecting Hadoop and Oracle
PDF
SQL Monitoring in Oracle Database 12c
PDF
Large-scale social media analysis with Hadoop
PPTX
Hadoop Backup and Disaster Recovery
PPTX
Hadoop introduction , Why and What is Hadoop ?
PDF
2015 Upload Campaigns Calendar - SlideShare
PPTX
What to Upload to SlideShare
PDF
How to Make Awesome SlideShares: Tips & Tricks
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Hanganalyze presentation
Ukoug15 SIMD outside and inside Oracle 12c (12.1.0.2)
Oracle 12c in memory en action
Oracle Database In-Memory Option in Action
HBase Status Report - Hadoop Summit Europe 2014
Modern Linux Performance Tools for Application Troubleshooting
SQL in the Hybrid World
Step by Step Restore rman to different host
Data Pipelines in Hadoop - SAP Meetup in Tel Aviv
SQL-on-Hadoop Tutorial
Non-Stop Hadoop for Hortonworks
Connecting Hadoop and Oracle
SQL Monitoring in Oracle Database 12c
Large-scale social media analysis with Hadoop
Hadoop Backup and Disaster Recovery
Hadoop introduction , Why and What is Hadoop ?
2015 Upload Campaigns Calendar - SlideShare
What to Upload to SlideShare
How to Make Awesome SlideShares: Tips & Tricks
Ad

Similar to Oracle 12c r1 installation on solaris 11.1 (20)

ODP
Asian Spirit 3 Day Dba On Ubl
PDF
Oracle11g on fedora14
PDF
Oracle11g On Fedora14
PDF
Install oracle11gr2 rhel5
PDF
Oracle applications r12.2.0 installation on linux
DOCX
Installing 12c R1 database on oracle linux
PDF
Oracle Linux and Oracle Database - A Trusted Combination
PPT
Installation of application server 10g in red hat 4
PDF
Oracle database 12c client quick installation guide 8
PDF
12c on RHEL7
PDF
Oracle 12c RAC Database Software Install and Create Database
PDF
Oracle ebs-r12-1-3installationlinux64bit
PDF
Install oracle grid infrastructure on linux 6.6
PDF
Oracle 18c installation on Oracle Enterprise Linux 7.4
PDF
WebLogic, 12C SOA Standalone installation
PDF
Soa bpm standalone_installation
PDF
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
PDF
Oracle obiee-11-installation-guide 11.1.1.6.0
PDF
Oracle database 12c client quick installation guide
DOCX
Oracle Database 11g R2 Installation
Asian Spirit 3 Day Dba On Ubl
Oracle11g on fedora14
Oracle11g On Fedora14
Install oracle11gr2 rhel5
Oracle applications r12.2.0 installation on linux
Installing 12c R1 database on oracle linux
Oracle Linux and Oracle Database - A Trusted Combination
Installation of application server 10g in red hat 4
Oracle database 12c client quick installation guide 8
12c on RHEL7
Oracle 12c RAC Database Software Install and Create Database
Oracle ebs-r12-1-3installationlinux64bit
Install oracle grid infrastructure on linux 6.6
Oracle 18c installation on Oracle Enterprise Linux 7.4
WebLogic, 12C SOA Standalone installation
Soa bpm standalone_installation
Oracle e business-suite_r12_installation_guide_step_by_step_on_linux
Oracle obiee-11-installation-guide 11.1.1.6.0
Oracle database 12c client quick installation guide
Oracle Database 11g R2 Installation

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
KodekX | Application Modernization Development
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Empathic Computing: Creating Shared Understanding
Building Integrated photovoltaic BIPV_UPV.pdf
Review of recent advances in non-invasive hemoglobin estimation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Understanding_Digital_Forensics_Presentation.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Mobile App Security Testing_ A Comprehensive Guide.pdf
KodekX | Application Modernization Development
Advanced methodologies resolving dimensionality complications for autism neur...
Digital-Transformation-Roadmap-for-Companies.pptx
Spectral efficient network and resource selection model in 5G networks
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine learning based COVID-19 study performance prediction
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”

Oracle 12c r1 installation on solaris 11.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. 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. 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. 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
  • 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. 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