暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
虚拟机静默安装oracle11.2.0.4数据库.docx
543
7页
12次
2021-01-13
免费下载
移动虚拟机静默安装
oracle11.2.0.4
数据库
操作系统:
RHEL7.5
数据库
11.2.0.4
安装包:
p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip
准备的
rpm
compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
1.
配置主机名
hostnamectl set-hostname testdb
2.
配置
hosts
信息
vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 loc
alhost4.localdomain4
::1 localhost localhost.localdomain localhost6 loc
alhost6.localdomain6
192.168.2.100 testdb
3.
安装必要的包
rpm -q binutils compat-libstdc++ elfutils-libelf elfutils-
libelf-devel gcc gcc
-c++ glibc glibc-common glibc-devel glibc-headers ksh
libaio libaio-devel libgcc libstdc++ libs
tdc++-devel make numactl-devel sysstat unixODBC unixODBC-
devel| grep not
yum
源采用
centos7.5
的系统镜像配置
yum -y install binutils compat-libstdc++ elfutils-libelf
elfutils-libelf-devel gcc gcc
-c++ glibc glibc-common glibc-devel glibc-headers ksh
libaio libaio-devel libgcc libstdc++ libs
tdc++-devel make numactl-devel sysstat unixODBC unixODBC-
devel
rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm
4.
修改内核参数
上传下面脚本,获取
kernel.shmmax
kernel.shmall
参数配置信息
#!/bin/bash
page_size=`getconf PAGE_SIZE`
phys_pages=`getconf _PHYS_PAGES`
if [ -z "$page_size" ]; then
echo Error: cannot determine page size
exit 1
fi
if [ -z "$phys_pages" ]; then
echo Error: cannot determine number of memory pages
exit 2
fi
shmall=`expr $phys_pages`
shmmax=`expr $shmall \* $page_size`
echo \# Maximum shared segment size in bytes
echo kernel.shmmax = $shmmax
echo \# Maximum number of shared memory segments in pages
echo kernel.shmall = $shmall
of 7
免费下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜