Oracle Solaris 10 Installation Oracle 10g tutorial

Source: Internet
Author: User
Tags chmod dba file system ftp readline oracle solaris

First, the normal way to install the new

This article originates from: http://koumm.blog.51cto.com

1. Solaris Installation Environment Preparation

With Oracle Solaris 10 installation, installation process graphical interface installation, installation package Select entire group to install.

So change the system shell to bash.

# usermod-s/usr/bin/bash Root

# cd/cdrom/sol_10_113_x86/solaris_10/product

# Ls-l | grep gcc

# pkgadd-d. sunwgcc

# pkgadd-d. Sunwgccs

# pkgadd-d. Sunwgccruntime

The default installation directory is not in the path directory so you have to add the corresponding directory to the path.

1 Copy profile template to home directory

# Cp/etc/skel/local.profile ~/.profile

2) Edit Profile file

# Vi. Profile

Path=/usr/bin:/usr/local/bin:/usr/ucb:/etc:/usr/sbin:/usr/sfw/bin:/usr/ccs/bin:/opt/csw/bin:.

Export PATH

# source. Profile

3) View Validation

# which GCC

/usr/sfw/bin/gcc

2. Environment View Preparation Confirmation

(1) View the Solaris hardware environment

View Memory

#/usr/sbin/prtconf |grep "Memory size"

View CPU and number of digits

# ISAINFO-KV

64-bit AMD64 kernel Modules

View Swap Space

#/usr/sbin/swap-l

View File System size

# df-h

View operating system version

# Cat/etc/release

(2) Confirm the installation of the following packages

# pkginfo-i Sunwarc sunwbtool sunwhea sunwlibm Sunwlibms sunwsprot sunwtoo sunwi1of sunwi1cs SUNWi15cs 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

Error:information for "Sunwi1cs" is not found

Error:information for "Sunwi15cs" is not found

Put the disc

# pkgadd-d/cdrom/sol_10_113_x86/solaris_10/product sunwi1cs Sunwi15cs

Then press the prompt and then press the prompt to enter Y

(3) Install Rlwrap source Pack (Rlwrap need readline support)

First install the ReadLine library function: readline-6.2.tar.gz

Gunzip readline-6.2.tar.gz | TAR-XVF-

CD readline-6.2

./configure

Gmake

Gmake Install

Install rlwrap-3.0.tar.gz

Gunzip rlwrap-0.37.tar.gz

Tar xvf Rlwrap-0.37.tar

CD rlwrap-0.37

./configure

***********************************

Configure:error:

Checking cannot find the ReadLine function, ReadLine is installed through source code package, installed in/usr/local/lib, can link files to Lib or/usr/lib

You are need the GNU ReadLine Library (ftp://ftp.gnu.org/gnu/readline/) to build

This program!

***********************************

cp/usr/local/lib/libreadline*/lib

cp/usr/local/lib/libreadline*/usr/lib

./configure

Gmake

Gmake Install

Installation successful, install Rlwrap to/usr/local/bin

3. Create a user account

First Step: Create Oracle Installation related user groups and users:

Create OINSTALL,DBA groups and Oracle users.

The commands for creating user groups and users are as follows (in root):

Groupadd Oinstall

Groupadd dba

Useradd-g oinstall-g dba-d/export/home/oracle-m Oracle

passwd Oracle

Mkdir-p/u01/app/oracle/product/10.2.0/db_1;

Chown-r oracle:oinstall/u01/app/oracle

Chmod-r 775/u01/

Chown-r oracle:oinstall/var/tmp

Chmod-r 775/var/tmp

Confirm two users

ID Oracle

ID Nobody

4. Modify Kernel Support

In Solaris10, there are two methods of adjusting the kernel, and Oracle recommends two ways to use them at the same time.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

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.