Documente Academic
Documente Profesional
Documente Cultură
2
By Guduru
2) Solaris now has the ipadm command. Very helpful comparing to ifconfig.
Check here: http://docs.oracle.com/cd/E36784_01/html/E39134/gnice.html
5) Now, edit the /etc/hosts file and provide the HOSTNAME and IPADDRESS.
gudurusolaris 192.168.2.103
9) To (as root) confirm that parameter has been changed you can view the contents of
project file
# cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.oracle:100::::project.max-shm- memory=(privileged,4294967296,deny)
10) Add the following lines in /etc/inittab, immediately before the “startd” entry.
1|Page
Oracle Database 12c (12.1.0.2) on Solaris 11.2
By Guduru
ERROR: information for "SUNWi1cs" was not found
ERROR: information for "SUNWi15cs" was not found
ERROR: information for "SUNWxwfnt" was not found
> As we can see the last five packages are NOT installed. Install them, one by one.
PHASE ITEMS
Installing new actions 1704/1704
Updating package state database Done
Updating image state Done
Creating fast lookup database Done
12) Create oracle user groups and directories and set appropriate permissions and environment.
# groupadd oper
# groupadd dba
# groupadd oinstall
# useradd -g dba -G oinstall -m oracle
# passwd oracle
# mkdir -p /u01/app/oracle/product/12.0.1/db_1
# chown -R oracle:oinstall /u01
# chmod -R 775 /u01
13) Add the following lines at the end of .profile of Oracle user.
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
14) Use Xhost /Xclock/Xming - (Oracle R Enterprise enables users to generate R graphs at the database
server and return them in a variety of ways: an XML representation using base 64 encoding of the PNG
images, in a table with a BLOB column containing the PNG images, and interactively returning the actual
image to the R user at the client. This last case allows users to generate images at the database server
machine and have the actual PNG image display at the user’s client R engine)
$ ./runInstaller
GUI will be opened, below are the important details to fill out in respective windows
> Configure security updates --> skip
> Software updates --> skip
> Installation options --> Create & Configure Database
> system class --> server class
> Grid Installation options --> Single Instance database installation
> Install Type --> Typical
> Typical install
Oracle base --> /uo1/app/oracle (browse the path)
> Software location --> /uo1/app/oracle/product/12.0.1/db_1 (browse the path)
> storage type --> file system
2|Page
Oracle Database 12c (12.1.0.2) on Solaris 11.2
By Guduru
> database file location --> /u01/app/oracle/oradata (browse the path)
> database edition --> enterprise edition 5.9GB
> OSDBA group --> oinstall
> Global database name --> provide DB name
> administrative password --> provide password
> confirm password --> provide same password which was provided above
> create as container database ( check mark yes if you planned for multitenant DBs)
> Pluggable Database name --> Provide name of the pluggable DB
> Inventory directory --> /u01/app/orainventory (browse the path)
> OraInventory group name --> oinstall
> Prerequisites check --> system will check for the prerequisites & provide an update with
warnings, failed or pass. (please resolve all the failed reasons).
> Summary --> system will summarize global settings, inventory information & database
information which was provided
> Install Product --> System will perform preparation, copying files, link binaries & setup. OUI will
open a new window asking to run 2 scripts as root user
# /u01/app/oraInventory/orinst.sh
# /u01/app/oracle/product/12.0.1/db_1/root.sh
--> upon completion of excuting both the scripts go back to OUI and click on OK
--> Finally, we will get to see another window named " Database Configuration Assistant" which
displays below information,
a) Global Database name
b) System Identifier
c) Server Parameter file & its location
You now log into your database to confirm if database has been created and configured.
$ sqlplus / as sysdba
3|Page
Oracle Database 12c (12.1.0.2) on Solaris 11.2
By Guduru
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
INSTANCE_NAME
----------------
CDB12C
You can check which PDBs are configured and also you can log into PDB from within CDB as well.
NAME OPEN_MODE
------------------------------ ----------
PDB$SEED READ ONLY
PDB1 READ WRITE
Session altered.
FILE_NAME
-------------------------------------------------------------------------
/u01/app/oracle/oradata/CDB12C/PDB1/example01.dbf
/u01/app/oracle/oradata/CDB12C/PDB1/SAMPLE_SCHEMA_users01.dbf
/u01/app/oracle/oradata/CDB12C/PDB1/sysaux01.dbf
/u01/app/oracle/oradata/CDB12C/PDB1/system01.dbf
4|Page