Solaris 10 x86 安装 Oracle 10gR2!

solaris的安装参考:http://xiaoduan.blog.51cto.com/502137/126301

查看solaris版本信息:
-bash-3.2# cat /etc/release 
                    Oracle Solaris 10 8/11 s10x_u10wos_17b X86
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
                            Assembled 23 August 2011
修改字符界面:
# /usr/dt/bin/dtconfig -d
done 
desktop auto-start disabled.
启动root用户ssh:
# vi /etc/ssh/sshd_config
PermitRootLogin yes
# svcadm restart ssh
修改shell:
# echo $SHELL
/sbin/sh
# which bash
/usr/bin/bash
# ls -l /sbin/sh 
-r-xr-xr-x   1 root     root       82456 Sep 22  2010 /sbin/sh
# vi /etc/passwd
root:x:0:0:Super-User:/:/usr/bin/bash
关闭sendmail:
# svcadm disable sendmail
--------------------------------------------------------
一、以root执行下面的操作:
--------------------------------------------------------
1.检查安装包
-bash-3.2# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt SUNWsprot
system      SUNWarc   Lint Libraries (usr)
system      SUNWbtool CCS tools bundled with SunOS
system      SUNWhea   SunOS Header Files
system      SUNWi15cs X11 ISO8859-15 Codeset Support
system      SUNWi1cs  X11 ISO8859-1 Codeset Support
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
system      SUNWsprot Solaris Bundled tools
安装一个包:
-bash-3.2# pkginfo -i SUNWi5cs
    错误: 未发现"SUNWi5cs"的信息
-bash-3.2# pkgadd -d /cdrom/cdrom0/Solaris_10/Product SUNWi5cs
...
安装<SUNWi5cs>成功
-bash-3.2# pkginfo -i SUNWi5cs
system      SUNWi5cs X11 ISO8859-5 Codeset Support
2.# vi /etc/system 
set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set rlim_fd_max=65536
set rlim_fd_cur=65536
然后:# /usr/sbin/reboot
3.创建用户
-bash-3.2# mkdir -p /u01/app/oracle/product/10g/db_1
-bash-3.2# groupadd oinstall
-bash-3.2# groupadd dba
-bash-3.2# useradd -g oinstall -G dba -s /usr/bin/bash -d /u01/app/oracle oracle
-bash-3.2# passwd oracle
-bash-3.2# chown -R oracle:oinstall /u01
-bash-3.2# chmod -R 755 /u01
4.设置Oracle用户环境变量
$vi .bash_profile
export ORACLE_SID=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10g/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=.:$PATH:$HOME/bin:$ORACLE_HOME/bin
export NLS_LANG='SIMPLIFIED CHINESE_CHINA.ZHS16GBK'
umask 022
stty erase ^h
export DISPLAY=10.10.10.6:0.0;
--------------------------------------------------------
二、以oracle执行下面的操作:
--------------------------------------------------------
1. 安装软件。
2. 升级。
3. netca 配置监听器。
4. dbca 创建数据库。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值