暂无图片
暂无图片
1
暂无图片
暂无图片
暂无图片
静默安装19c单实例.txt
2553
6页
72次
2020-05-20
10墨值下载
一次在客户测试服务器 ORACLE 19C
一、前期环境准备
1.硬件信息
1)主机版本
[oracle@fs-3z3-vm0326 soft]$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
2CPU
[oracle@fs-3z3-vm0326 soft19]$ cat /proc/cpuinfo | grep "physical id" | uniq |
wc -l
2
[oracle@fs-3z3-vm0326 soft19]$ cat /proc/cpuinfo | grep "cpu cores" | uniq
cpu cores : 4
3)内存大小
[oracle@fs-3z3-vm0326 soft19]$ cat /proc/meminfo | grep MemTotal
MemTotal: 65806256 kB
2.介质信息
[oracle@fs-3z3-vm0326 soft19]$ pwd
/picclife/soft19
[oracle@fs-3z3-vm0326 soft19]$ ls -lrt 19.3_dbok_V982063-01.zip
-rw-r--r-- 1 root root 3059705302 Mar 27 19:02 19.3_dbok_V982063-01.zip
unzip 19.3_dbok_V982063-01.zip -d $ORACLE_HOME
3.环境准备
1)检查依赖包
rpm -qa binutils compat-libcap1 gcc gcc-c++ glibc glibc-devel ksh libaio libaio-
devel libgcc libstdc++ libstdc++-devel libXi libXtst make sysstat unixODBC
unixODBC-devel
##如果缺少依赖包,并且服务器已配置了 yum,可采用如下方式进行安装
yum install bc \
gcc \
gcc-c++ \
binutils \
compat-libcap1 \
compat-libstdc++ \
dtrace-modules \
dtrace-modules-headers \
dtrace-modules-provider-headers \
dtrace-utils \
elfutils-libelf \
elfutils-libelf-devel \
fontconfig-devel \
glibc \
glibc-devel \
ksh \
libaio \
libaio-devel \
libdtrace-ctf-devel \
libX11 \
libXau \
libXi \
libXtst \
libXrender \
libXrender-devel \
libgcc \
librdmacm-devel \
libstdc++ \
libstdc++-devel \
libxcb \
make \
smartmontools \
sysstat
2)修改内核参数
cp /etc/sysctl.conf /etc/sysctl.conf_bak_20200327
vi /etc/sysctl.conf ##添加如下内容
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 33554432
kernel.shmmax = 137438953471
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 = 1048576
修改后执行 sysctl -p
3)禁用防火墙和 selinux
systemctl stop firewalld.service
systemctl disable firewalld.service
systemctl status firewalld.service
systemctl status NetworkManager.service
## RHEL7 开始,使用 systemctl 工具来管理服务程序,包括了 service chkconfig
以下是一些常用命令
systemctl list-unit-files|grep enabled
启动一个服务:systemctl start firewalld.service
关闭一个服务:systemctl stop firewalld.service
重启一个服务:systemctl restart firewalld.service
显示一个服务的状态:systemctl status firewalld.service
在开机时启用一个服务:systemctl enable firewalld.service
在开机时禁用一个服务:systemctl disable firewalld.service
查看服务是否开机启动:systemctl is-enabled firewalld.service;echo $?
查看已启动的服务列表:systemctl list-unit-files|grep enabled
[root@fs-3z3-vm0326 ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are
protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
4)配置 host
of 6
10墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

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