Install 64-bit Oracle9201 on Solaris10

Source: Internet
Author: User

Follow the steps in the Oracle official documentation to install the system. First, check the system requirements on Solaris10:

#/Usr/sbin/prtconf | grep "Memory size"
Memory size: 16384 Megabytes
#/Usr/sbin/swap-l
Swapfile dev swaplo blocks free
/Dev/dsk/c1t0d0s1 118, 9 16 36877808 36877808
# Df-k/ora9i
Filesystem kbytes used avail capacity Mounted on
/Dev/dsk/c1t1d0s0 140788090 65553 139314657/ora9i

The memory must be greater than 512 MB, and the SWAP size should be greater than 1 GB or the memory size. For a database, the disk space should not be a problem.

The following describes how to check the operating system:

# Uname-
SunOS ttsola10 5.10 Generic_118833-33 sun4u iSCSI SUNW, Sun-Fire-V490

Check the system package and font package installation:

# Pkginfo-I SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWxwfnt
System SUNWarc Lint Libraries (usr)
System SUNWbtool CCS tools bundled with SunOS
System SUNWhea SunOS Header Files
System SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts
System SUNWlibm Math & Microtasking Library Headers & Lint Files (Usr)
System SUNWlibms Math & Microtasking Libraries (Usr)
System SUNWsprot Solaris Bundled tools
System SUNWtoo Programming Tools
System SUNWxwfnt X Window System platform required fonts

Check the required version of JRE. The latest version must be 1.1.8.

# Java-version
Java version "1.5.0 _ 07"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.5.0 _ 07-b03)
Java HotSpot (TM) Server VM (build 1.5.0 _ 07-b03, mixed mode)

After the minimum requirements for Oracle installation are met, you can use the root user to set system parameters and create an Oracle user.

Add the following content after the/etc/system file:

Set shmsys: shminfo_shmmax = 8589934592
Set shmsys: shminfo_shmmin = 1
Set shmsys: Sh minfo_shmmni = 100
Set shmsys: shminfo_shmseg = 10
Set semsys: seminfo_semmni = 100
Set semsys: seminfo_semms = 256
Set semsys: seminfo_semmns = 1024

This is an adjustment to the system memory parameters. After modification, the operating system is re-activated.

# Groupadd dba
# Groupadd oinstall
# Mkdir/export/home/oracle
# Useradd-g oinstall-G dba-d/export/home/oracle
# Passwd oracle

After creating a group and a user, set the path and permissions for installing software for oracle:

# Chown-R oracle: oinstall/export/home/oracle
# Chown-R oracle: oinstall/ora9i

The following root user completes his work and switches to the oracle user:

# Su-oracle
$ Vi. profile

Edit the. prifle file and add the following content:

ORACLE_SID = test
Export ORACLE_SID
ORACLE_BASE =/ora9i/oracle/ora92
Export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/product/ 9.2
Export ORACLE_HOME
PATH = $ PATH: $ ORACLE_HOME/bin:/usr/ccs/bin:/etc:/usr/openwin/bin
Export PATH
NLS_LANG = "SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
Export NLS_LANG
DISPLAY = 172.25.6.201: 1.0
Export DISPLAY

  • 1
  • 2
  • Next Page

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.