GBase 8c 安装部署手册 二

本文介绍了GBase 8c分布式数据库的安装部署中,如何处理防火墙和SELinux设置以确保节点间通信。包括关闭防火墙、禁用SELinux以及使用NTP服务实现时间同步的详细步骤。
摘要由CSDN通过智能技术生成
    1. 环境设置
  1. 防火墙关闭操作:需要将GBase 8c分布式数据库节点间访问端口打通才可以保证读写请求、数据等信息的正常传输。在普通业务场景中,数据库节点间及其与业务服务之间的网络通信都是在安全域内完成数据交互,如果没有特殊的安全要求,建议将节点的防火墙进行关闭操作。否则需要按照“集群规划”中的“端口号”信息配置防火墙白名单。

[gbase@localhost ~]$ sudo systemctl stop firewalld.service

  1. 禁止防火墙开机自启动:

[gbase@localhost ~]$ sudo systemctl disable firewalld.service

系统返回:

Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.

Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

即为操作成功。

  1. 关闭selinux:

[gbase@localhost ~]$ sudo vim /etc/selinux/config

设置SELINUX=disabled,保存退出:

# 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 values:

#     targeted - Targeted processes are protected,

#     minimum - Modification of targeted policy. Only selected processes are pr

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值