OCM_Session7_3_修改 oracle 用户的初始化参数文件,建路径
来源:互联网 发布:身份证相片制作软件 编辑:程序博客网 时间:2024/06/10 02:51
2.5 Configuring the oracle User's Environment
You run Oracle Universal Installer from the oracle
account. However, before you start Oracle Universal Installer you must configure the environment of the oracle
user.
To configure the environment, you must:
Set the default file mode creation mask (umask) to 022 in the shell startup file
Set the DISPLAY, ORACLE_BASE, and ORACLE_HOME environment variables in preparation for the Oracle Clusterware installation
You should also ensure that the PATH variable contains $ORACLE_HOME/bin
before /usr/X11R6/bin
To set the oracle
user's environment, follow these steps:
Start a new terminal session; for example, start an X terminal (
xterm
).Enter the following command to ensure that X Window applications can display on this system:
$ xhost + hostnameThe hostname is the name of the local host.
If you are not already logged in to the system where you want to install the software, then log in to that system as the
oracle
user.If you are not logged in as the
oracle
user, then switch user tooracle
:$ su - oracleTo determine the default shell for the
oracle
user, enter the following command:$ echo $SHELLOpen the
oracle
user's shell startup file in any text editor:Note:
On Red Hat Linux,.bash_profile
is the user startup file for the Bash shell.Bourne shell (
sh
), Bash shell (bash
) or Korn shell (ksh
):% vi .bash_profileC shell (
csh
ortcsh
):% vi .login
Enter or edit the following line, specifying a value of 022 for the default file mode creation mask:
umask 022If the
ORACLE_SID
,ORACLE_HOME
, orORACLE_BASE
environment variable is set in the file, then remove the appropriate lines from the file.Save the file, and exit from the text editor.
To run the shell startup script, enter one of the following commands:
Bash shell on Red Hat Enterprise Linux:
$ . ./.bash_profileBourne, Bash, or Korn shell:
$ . ./.profileC shell:
% source ./.login
If you are not installing the software on the local system, then enter a command similar to the following to direct X applications to display on the local system:
Bourne, Bash, or Korn shell:
$ DISPLAY=local_host:0.0 ; export DISPLAYC shell:
% setenv DISPLAY local_host:0.0
In this example,
local_host
is the host name or IP address of the system that you want to use to display Oracle Universal Installer (your workstation or PC).If you determined that the
/tmp
directory has less than 400 MB of free disk space, then identify a file system with at least 400 MB of free space and set theTEMP
andTMPDIR
environment variables to specify a temporary directory on this file system:Note:
You cannot use a shared file system as the location of the temporary file directory (typically/tmp
) for Oracle RAC installation. If you place/tmp
on a shared file system, then the installation fails.Use the
df -h
command to identify a suitable file system with sufficient free space.If necessary, enter commands similar to the following to create a temporary directory on the file system that you identified, and set the appropriate permissions on the directory:
$ su - root# mkdir /mount_point/tmp# chmod 775 /mount_point/tmp# exitEnter commands similar to the following to set the TEMP and TMPDIR environment variables:
Bourne, Bash, or Korn shell:
$ TEMP=/mount_point/tmp$ TMPDIR=/mount_point/tmp$ export TEMP TMPDIRC shell:
% setenv TEMP /mount_point/tmp% setenv TMPDIR /mount_point/tmp
- OCM_Session7_3_修改 oracle 用户的初始化参数文件,建路径
- Oracle的初始化参数文件
- 修改oracle初始化参数
- [oracle]初始化参数文件spfile、pfile及修改参数的两种方式
- Oracle初始化参数文件
- Oracle 初始化参数文件
- 错误修改初始化参数文件导致oracle启动失败!
- 由于初始化参数文件修改错误导致oracle无法startup
- oracle初始化参数文件的管理!
- ORACLE修改文件路径
- ORACLE修改文件路径
- ORACLE修改文件路径
- Oracle修改spfile文件的路径
- 修改oracle表空间的文件路径
- oracle初始化参数文件管理
- oracle初始化参数文件详解
- oracle中的初始化参数文件
- Oracle 用户 Trace 文件路径
- 计算机视觉领域的一些牛人博客,研究机构的网站链接
- 在Eclipse中编写servlet时出现"The import javax.servlet cannot be resolved" 问题解决办法
- Unusual Product
- Mysql入门:安装以及相关配置
- iOS RunLoop 初识
- OCM_Session7_3_修改 oracle 用户的初始化参数文件,建路径
- cocos2d-x中的尺寸之一
- Linux基本配置和管理 1---- Linux网络基本配置
- PyQt 图标问题 ,cx_Freeze 打包后图标无法显示
- 用 IAR C/C++ For ARM 编写嵌入式应用的启动细节
- sg-uap的安装配置
- dsgdfh
- 僵死进程
- 在main()之前,IAR都做了啥?