linux安装和配置ORACLE数据安装环境.doc_第1页
linux安装和配置ORACLE数据安装环境.doc_第2页
linux安装和配置ORACLE数据安装环境.doc_第3页
linux安装和配置ORACLE数据安装环境.doc_第4页
linux安装和配置ORACLE数据安装环境.doc_第5页
已阅读5页,还剩10页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

rootoralce # vncserver New :1 (root) desktop is :1Starting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/:1.logrootoralce # lltotal 84-rw- 1 root root 3388 Oct 1 2012 anaconda-ks.cfgdrwxr-xr-x 2 root root 4096 Oct 1 13:51 Desktop-rw-r-r- 1 root root 51480 Oct 1 2012 install.log-rw-r-r- 1 root root 5062 Oct 1 2012 install.log.syslogrootoralce # groupadd oinstallrootoralce # groupadd operrootoralce # groupadd dbarootoralce # useradd -g oinstall -G dba,oper oraclerootoralce # paswwd oracle-bash: paswwd: command not foundrootoralce # passwd oracleChanging password for user oracle.New UNIX password: BAD PASSWORD: it is based on a dictionary wordRetype new UNIX password: passwd: all authentication tokens updated successfully.rootoralce # mkdir /u01rootoralce # chown -R oracle:oinstall /u01rootoralce # su - oracleoracleoralce $ lltotal 0oracleoralce $oracleoralce $ vi .bash_profile # .bash_profile# Get the aliases and functionsif -f /.bashrc ; then . /.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/binexport PATHexport ORACLE_SID=ponyexport ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/10.2/db_1export PATH=$ORACLE_HOME/bin:$PATH1. Using any text editor, create or edit the /etc/sysctl.conf file, and add or edit lines similar to the following:Note:Include lines only for the kernel parameter values that you want to change. For the semaphore parameters (kernel.sem), you must specify all four values. However, if any of the current values are larger than the recommended value, then specify the larger value.kernel.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default = 1048576net.core.rmem_max = 1048576net.core.wmem_default = 262144net.core.wmem_max = 262144To increase the shell limits:Add the following lines to the /etc/security/limits.conf file:oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:session required /lib/security/pam_limits.sosession required pam_limits.so1. Depending on the oracle users default shell, make the following changes to the default shell start-up file:For the Bourne, Bash, or Korn shell, add the following lines to the /etc/profile file (or the file on SUSE systems)/etc/profile.local:if $USER = oracle ; then if $SHELL = /bin/ksh ; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fifiFor the C shell (csh or tcsh), add the following lines to the /etc

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论