免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1486 | 回复: 0
打印 上一主题 下一主题

[q]jason,你要得oracle for solaris x86环境变量设置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-16 09:57 |只看该作者 |倒序浏览
抱歉许久没来论坛,希望可以来得及解决你的问题
在/etc/system文字中加入:
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=300
set semsys:seminfo_semmns=1024
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set shmsys:shminfo_shmmin=1
参数说明:
SHMMAX 最大共享内存段尺寸(字节)
SHMMIN 最小共享内存段尺寸(字节)
SHMSEG 每进程最大共享内存段数量
SHMMNI 系统范围最大共享内存段数量
SEMMNI 信号灯标识符的最小数量
SEMMNS 系统范围的最大信号灯数量
SEMMSL 每套信号灯最小信号灯数量
SEMMAP 信号灯映射里的记录数量
SEMVMX 信号灯的最大值
设置环境变量
在运行Oracle Universal Installer 前要设置DISPLAY 和PATH 变量。
Table 2–11 Environment Variable Summary
Variable Description Required
DISPLAY The name, server number, and screen number of the Yes
system where the Oracle Universal Installer display its
Graphical User Interface (GUI).
ORA_NLS33 Location of character set data. No
ORACLE_BASE Directory at the top of the Oracle software and No
administrative file structure.
ORACLE_DOC Directory where documentation is installed. No
ORACLE_HOME Directory containing Oracle software for a particular No
release.
ORACLE_SID The Oracle server instance identifier to use during No
installation.
PATH Shell’s search path for executables. Yes
DISPLAY
DISPLAY 指定系统的名字,服务名,和屏幕号。设置DISPLAY 变量包括系统名或IP 地
址,X server 和screen value。X server 和screen 设置为0 (zero) for both。除非你从系统
的X Window 控制台安装,否则不要使用主机名或IP地址。
当运行Oracle Universal Installer 如果出现Xlib 错误类似于"Failed to connect to server,"
"Connection refused by server," or "Can’t open display" ,你必须在你的X workstation 上运行
以下SHELL 脚本。
Bourne or Korn shells:
$ xhost +server_name
$ DISPLAY=sun:0.0
$ export DISPLAY
PATH
The PATH variable specifies the shell’s search path for executables. Set the shell’s
search path to include the information in the following table.
.
Table 2–12 Shell Search Paths
Platform Paths
AIX $ORACLE_HOME/bin,
/usr/bin,/etc,/usr/lbin,/usr/bin/X11,
/usr/local/bin, if it exists
Solaris $ORACLE_HOME/bin, /usr/ccs/bin, /usr/bin, /etc,
/usr/openwin/bin, and /usr/local/bin, if it exists
ORACLE_BASE
ORACLE_BASE 变量指定了Oracle 顶级路径。OFA-compliant 建议为
/software_mount_point/app/oracle. 例如:
/u01/app/oracle
ORACLE_HOME
$ORACLE_BASE/product/release
For example:
/u01/app/oracle/product/8.1.7
注意:你必须设定ORACLE_BASE 变量即使没有使用OFA配置。
ORACLE_SID
你可以不设此变量,在安装中会提示你输入。
更新环境变量
将.profile 文件设为可执行的!
Bourne or Korn shells 下试运行:
$ cd
$ . $HOME/.profile
我们设为:
DISPLAY=sun:0.0
export DISPLAY
TMPDIR=/tmp
Export TMPDIR
ORACLE_BASE=asia
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/8.1.7
export ORACLE_HOME
PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bi
n:etc:.
export PATH
(注意:DISPLAY后面的sun 为本机的host 名字)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP