首页 / ORACLE / oracle11g 安装过程
oracle11g 安装过程
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了oracle11g 安装过程,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2347字,纯文字阅读大概需要4分钟。
内容图文
![oracle11g 安装过程](/upload/InfoBanner/zyjiaocheng/458/39ebd63f157b448d80b5ecd375130c93.jpg)
安装oracle软件
1>创建用户组、用户和目录
bjdb节点下:
[root@node1 /]# groupadd -g 200 oinstall
[root@node1 /]# groupadd -g 201 dba
[root@node1 /]# useradd -u 200 -g oinstall -G dba oracle
Creating mailbox file: File exists
[root@node1 /]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@node1 /]# mkdir -p /top/app/oracle
[root@node1 /]# chown -R oracle:oinstall /eb_db
shdb节点下创建相同的用户组和用户,脚本一样;
关闭邮件服务器
[root@node1 /]# chkconfig sendmail off
2>修改内核参数
/etc/sysctl.conf文件添加:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
[root@node1 /]# sysctl -p //参数文件生效
/etc/security/limits.conf 文件下添加:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
/etc/pam.d/login 文件下添加:
session required /lib/security/pam_limits.so
/etc/profile 文件下添加:
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
oracle用户下修改 .bash_profile 文件
[oracle@beijing ~]$ vi .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
export EDITOR=vi
export ORACLE_SID=prod
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
umask 022
创建监听:在oracle用户下操作
Bash-3.00$ netca //此后会打开一个创建监听的图形化界面。进行后续配置。
Bash-3.00$ lsnrctl status //查看监听状态
3>安装软件并在bjdb上使用dbca创建数据库
在bjdb和shdb上分别安装oracle软件
oracle11g 安装过程
标签:oracle
本文系统来源:http://tianlegg.blog.51cto.com/3628721/1693428
内容总结
以上是互联网集市为您收集整理的oracle11g 安装过程全部内容,希望文章能够帮你解决oracle11g 安装过程所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。