华为
GaussDB 100
单机安装
一、安装环境准备
1
、部署架构规划
GaussDB 100
单机部署的总体架构如上图,
DM
、
CM
、
ETCD
在单机部署中是非必要组件,因此本次不部署,
DN
节点
规划如下:
注:数据目录需要
>=20GB,
如果要减小,需要修改
install.py
和
create_database.sample.sql
。
2
、操作系统配置
root
远程登录权限修改
.
sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/g' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/ PasswordAuthentication yes/g'
/etc/ssh/sshd_config
--
修改完重庆
sshd
服务
/bin/systemctl restart sshd.service
.
关闭防火墙和
SELinux
(官方建议是添加信任,此处直接关闭避免后续连接有问题)
systemctl stop firewalld.service
systemctl disable firewalld.service
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
.
.
配置
corefile
echo 'ulimit -c unlimited'>>/etc/profile
echo 'kernel.core_pattern =/opt/gdb/corefile/core-%e-%p-%t'>>/etc/sysctl.conf
评论