Recently installed in SOLARIS11 Oracle 11g database, originally thought is a family, installation should be very simple, the fact that I really can't think of, really twists,
Now record it:
1, download Sol-11-1111-text-x86.iso
2, download P10404530_112030_solaris86-64_1of6.zip, P10404530_112030_solaris86-64_2of6.zip (This is the oracle11g version of 11.0.3.0, 11.0.1.0 version installed for several days did not succeed, in 67% error.
After the download is complete, you can work on the following.
Install SOLARIS11 First, the default is OK.
In detail, install Oracle, and after you install Solaris, download a graphical interface:
The code is:
#pkg Install Solaris-desktop
After you have installed the graphics to start
#svcadm Enable GDM
To create a group:
# Groupadd DBA
# Groupadd Oinstall
To create an Oracle User:
# useradd-g oinstall-g dba,asmdba,asmadmin-m-d/export/home/oracle-s/bin/bash Oracle
Set Password:
# passwd Oracle
Set System parameters:
# projadd-u Oracle-k "project.max-shm-memory= (priv,5g,deny)" User.oracle
# Projmod-sk "project.max-sem-nsems= (priv,512,deny)" User.oracle
# Projmod-sk "project.max-sem-ids= (priv,128,deny)" User.oracle
# Projmod-sk "project.max-shm-ids= (priv,128,deny)" User.oracle
To see if the setting is successful:
#Projects-l user.oracle
Configure Network parameters:
# Ipadm set-prop-p smallest_anon_port=9000 TCP
# Ipadm set-prop-p largest_anon_port=65500 TCP
# ipadm set-prop-p smallest_anon_port=9000 UDP
# ipadm set-prop-p largest_anon_port=65500 UDP
Check settings:
# ipadm Show-prop|grep anon|egrep ' tcp|udp '
Modify (as root)/etc/ssh/sshd_config:
Logingracetime 0
To restart the SSH service:
# svcadm Restart SSH Modify/home/oracle/.profileoracle_base=/opt/oracle
Oracle_home= $ORACLE _base/112
Oracle_sid=ora11gr2
Ld_library_path= $ORACLE _home/libpath= $PATH:/usr/local/bin: $ORACLE _home/binexport oracle_base oracle_home ORACLE_ SID Ld_library_path PATH
Create directory: # cd/opt
# mkdir Oracle
# chown ORACLE:DBA Oracle installation Required Package # pkg Install compatibility/packages/sunwxwplt sunwmfrun sunwarc Sunwhea SUNWLIBM
View: Pkginfo-i sunwarc sunwbtool sunwhea sunwlibm Sunwlibms sunwpool sunwpoolr sunwsprot SUNWtoo SUNWuiu8 SUNWfont-xorg-cor E sunwfont-xorg-iso8859-1 sunwmfrun sunwxorg-client-programs sunwxorg-clientlibs SUNWxwfsw SUNWxwplt
Decompression unzip P10404530_112030_solaris86-64_1of6.zipunzip p10404530_112030_solaris86-64_2of6.zip reboot system: # Reboot will enter the graphical interface when the boot is complete: Log in to the system with Oracle user, execute $CD database
$./runinstaller installation Specific steps I will no longer explain that if your environment variable is set correctly, a lot of information will be automatically installed on the interface display. The installation will check for some space that may indicate that the swap size is not large enough and the TMP space is insufficient
Execute after successful installation:
#/opt/oracle/orainventory/orainstroot.sh
#/opt/oracle/112/root.sh