linux下oracle11g的安装
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了linux下oracle11g的安装,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2664字,纯文字阅读大概需要4分钟。
内容图文
![linux下oracle11g的安装](/upload/InfoBanner/zyjiaocheng/518/644fe6db82e14bd0b1fab14cb0b9ebc1.jpg)
准备工作:
系统:centos7.5.1804 yum仓库 有外网
step1:关闭防火墙,selinux
systemctl stop firewalld
vim /etc/selinux/config
=====disabled
step2:创建oracle用户
groupadd dba //创建dba组
groupadd oinstall //创建oinstall组
useradd -g oinstall -G dba oracle //创建oracle用户,并指定用户oracle的基本组和附加组
echo oracle |passwd --stdin oracle //设置oracle用户的密码
step3:创建目录
mkdir -p /home/oracle/oraInventory
mkdir -p /home/oracle/product/11.2.0/dbhome_1
step4:修改权限
chown -Rf oracle:oinstall /home/oracle
chmod -Rf 775 /home/oracle
step5:更改配置
vim /home/oracle/.bash_profile ======》source /home/oracle/.bash_profile
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
vim /etc/sysctl.conf ====>stsctl -p 刷新配置
fs.file-max = 6815744
fs.aio-max-nr = 1048576
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
vim /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
find / -name pam_limits.so //以root去查找文件绝对路径
vim /etc/pam.d/login
session required /usr/lib64/security/pam_limits.so
session required pam_limits.so
vim /etc/profile
unset i
unset -f pathmunge
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
step6:rz上传Oracle11g的安装包到/home/oracle
安装依赖包:
yum -y gcc make install libaio glibc compat-libstdc* elfutils-libelf-devel\* gcc-c++ libaio-devel unixODBC\* readline\* xorg-x11-xauth
上传xorg-x11-server-utils-7.7-20.el7.x86_64.rpm,pdksh-5.2.14-30.x86_64.rpm,compat-libstdc++-33-3.2.3-72.el7.x86_6 4.rpm
yum -y install compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
rpm -ivh --force pdksh-5.2.14-30.x86_64.rpm
yum -y install xorg-x11-server-utils-7.7-20.el7.x86_64.rpm
tar -xf oracle11g安装包
客户机安装xmanage
linux下oracle11g的安装
标签:修改权限 odbc chown linu 指定 server 依赖包 local -name
本文系统来源:https://www.cnblogs.com/krystal-LA-zx/p/12168036.html
内容总结
以上是互联网集市为您收集整理的linux下oracle11g的安装全部内容,希望文章能够帮你解决linux下oracle11g的安装所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。