一.Preinstallation Tasks
1.以ROOT身份执行:
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWsprox 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
SUNWsprox(无)
SUNWi1cs(disk1)
SUNWi15cs(disk1)
设置主机名:
liuhe.test.com /etc/hosts
添加组及用户:
dba oper oinstall
useradd -g oinstall -G dba,oper -s /usr/bin/bash -d /export/home/oracle oracle
passwd oracle
id nobody
如果不存在:
usr/sbin/useradd nobody
============================================================================================
3、调整系统核心参数
注:在很多文档里都写过,说明也很多,请参考相应的资料
修改/etc/system文件
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_shmmni=100
修改后,保存,然后重新启动机器
4、添加安装所需的用户及组
建立oinstall组
#/usr/sbin/groupadd oinstall
建立dba组
#/usr/sbin/groupadd dba
添加oracle用户,并设置其用户目录
# /usr/sbin/useradd –d /export/home/oracle -g oinstall -G dba oracle
建立系统安装目录
# mkdir -p /u01/app/oracle
建立数据文件存储目录并设置其权限
# mkdir /u02
# mkdir /u02/oradata
# chown -R oracle:oinstall /u01/app/oracle /u02/oradata
# chmod -R 775 /u01/app/oracle /u02/oradata
阅读(763) | 评论(0) | 转发(0) |