Oracle 在Tru64unix的安装步骤
一、配置unix 系统配置文件(sysconfigtab)
Parameter Recommended Value Description
SHMMAX2139095040 (2 GB - 8 MB)The maximum size (in bytes) of a single shared memory segment.
SHMMIN1The minimum size (in bytes) of a single shared memory segment.
SHMMNI100 The number of shared memoryIdentifiers.
SHMSEG32 The maximum number of sharedmemory segments that can be attached by a process.
查询系统现有的参数设置:
#/sbin/sysconfig -q ipc
如果系统原有参数大于推荐的参数,则保留原有参数,否则设置如下:
vi /etc/sysconfigtab
ipc: shm-max = 2139095040 (2GB - 8MB)
shm-mni = 128
shm-seg = 32
重建核心,重启系统。
二、创建相关组和用户
创建两个组dba和oinstall及用户oracle
其中oracle的主组为oinstall,次组为dba
adduser
addgroup
三、修改环境变量
Environment Variable Summary
DISPLAYThe the name, server number, and screen number of thesystem where the Oracle Universal Installer will display.
ORACLE_BASEDirectory at the top of the Oracle software andadministrative file structure.
ORACLE_HOMEDirectory containing Oracle software for a given release.
NLS_LANGCharacter set to use when installing. No
ORA_NLS33Location of National Language Support character set data.
ORACLE_SIDThe Oracle server instance identifier to use during installation.
ORACLE_DOCDirectory where documentation will be installed.
$ DISPLAY= workstation_name:0.0
$ export DISPLAY
$ xhost + server_name
修改.profile如下:
umask 022
PATH= $ORACLE_HOME/bin, /usr/bin, /etc, /usr/ccs/bin, /usr/bin/X11
(the local bin directory, /usr/local/bin, if it exists
If you require /usr/ucb in your search path, make sure it
comes after /usr/ccs/bin in the PATH setting)
ORACLE_BASE
ORACLE_BASE specifies the directory at the top of the Oracle software and
administrative file structure. The OFA-recommended value is
software_mount_point/app/oracle. For example: /u01/app/oracle.
ORACLE_HOME
ORACLE_HOME specifies the directory containing the Oracle software for a given
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 步骤 安装 回复 exit ORACLE_SID echoquot LOG ORACLE_HOME |
注册
个人空间
