Oracle Installation tutorial on Solaris 11

Source: Internet
Author: User
Tags add dba documentation modify oracle database installation resource zip oracle database

Recently, because of the need, to learn the development of Oracle applications on the Solaris system. The Solaris one for x86 was downloaded from Sun's web site, and the Oracle 10g Realse 2 (10.2.0.2) x86 was downloaded from the Oracle Web site for installation learning. Due to initial contact with the Solaris system, the Oracle Database installation Guide 10g Release 2 (10.2) for Solaris Operationg Sy, although referenced by Oracle's installation documentation B15697 Stem (x86), the whole installation process is still quite a lot of trouble, here to record the installation process, and share with you, also convenient for future reference.

1. Install the operating system

Solaris 11 is downloaded from Sun's website. It bundles a lot of useful software, such as Sun Studio, OpenOffice, MYSQL, Gedit, Realplay, Mplay, and so on, and the software packages and patches mentioned in the Oracle installation documentation are not installed separately.

2. Download Oralce 10g R2 for Solaris x86

10202_database_solx86.zip

3. Decompression Software

#unzip 10202_database_solx86.zip

Note: Be sure to decompress with the unzip tool in the terminal environment of the Solaris environment, otherwise the decompression is incomplete. I was in Windows, and in the Solaris File Manager decompression has been wrong, but also do not complain, I always thought that my system other configuration is not correct, this depressed for nearly two weeks.

4. Increase Oracle Users and groups

#groupadd Oinstall

#groupadd DBA

#groupadd Oper

#useradd-G oinstall-g dba,oper-d/export/home/oracle Oracle

#mkdir/export/home/oracle

#chown oracl:oinstall/export/home/oracle

#passwd Oracle

5. Setting Environment variables

A. Modify/etc/system to add

#/etc/system

Set semsys:seminfo_semmni=100

Set semsys:seminfo_semmsl=256

Set shmsys:shminfo_shmmax=4294967295

Set shmsys:shminfo_shmmni=100

Note: After modification, reboot the system to take effect.

B. Add the GROUP.DBA project as root

#projadd-U oracle-p group.dba

C. Modify/etc/user_attr to add

Oracle::::p ROJECT=GROUP.DBA

d. Switch to the Oracle user environment and use the ID-P command to verify the correctness of both steps b and C.

#su Oracle

$id-P

UID=100 (Oracle) gid=100 (DBA) projid=100 (GROUP.DBA)

Note: If the id-p command result is the default project for an Oracle user is a new group.dba, the B and C steps are correct.

E. View resource configurations for project GROUP.DBA

#prctl-N project.max-shm-memory-i Project Group.dba

Project:100:oracle

NAME privilege VALUE FLAG ACTION recipient

Project.max-shm-memory Privileged 2.00gb-deny

F. Adjustment of resource allocation for project GROUP.DBA

#prctl-N project.max-shm-memory-v 4gb-r-i Project GROUP.DBA

#projmod-sk "project.max-shm-memory= (privileged,4294967295,deny)" Group.dba



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.