Centos7.0上安装Vertica9.1.1
1. 主机环境准备
IP |
主机名 |
服务器配置 |
Swap分区 |
文件系统 |
磁盘大小 |
挂载点 |
OS |
101.12.82.103 |
vh001 |
8核16G内存 |
2G |
ext4 |
200G |
/ |
Centos7.0 |
101.12.82.104 |
vh002 |
8核16G内存 |
2G |
ext4 |
200G |
/ |
Centos7.0 |
101.12.82.105 |
vh003 |
8核16G内存 |
2G |
ext4 |
200G |
/ |
Centos7.0 |
2. 安装前准备
2.1 修改主机名和/ect/hosts文件并关闭selinux
三个节点的/etc/sysconfig/network中分别添加 hostname vh001 hostname vh002 hostname vh003 三个节点的/etc/hosts文件中都添加 101.12.82.103 vh001 101.12.82.104 vh002 101.12.82.105 vh003 修改/etc/selinux/config文件将SELINUX=enforcing改为SELINUX=disabled 三个节点都重启生效,后续操作无特殊说明均为三个节点都执行 init 6 |
2.2 手工添加swap分区
检查系统是否有至少2G的swap分区 df –Th 没有则手工添加 dd if=/dev/zero of=/home/swap bs=1024 count=2048000 mkswap /home/swap swapon /home/swap echo "/home/swap swap swap defaults 0 0" >> /etc/fstab 验证是否添加成功 free –m |
2.3 关闭防火墙
systemctl stop firewalld.service systemctl disable firewalld.service firewall-cmd --state |
2.4 关闭非必要的服务
systemctl disable avahi-daemon.service systemctl disable avahi-dnsconfd.service systemctl disable conman.service systemctl disable bluetooth.service systemctl disable cpuspeed.service systemctl disable setroubleshoot.service systemctl disable hidd.service systemctl disable hplip.service systemctl disable isdn.service systemctl disable kudzu.service systemctl disable yum-updatesd.service |