1.内存要求大于2G
低于2G在分析数据是会卡屏。
2.修改主机名:master、slave
3.配置hostname
所有的机器都要配置hosts
192.168.0.2 master
192.168.0.3 slave
…..
4.关闭selinux
[root@master ~]# vim /etc/selinux/config
修改以下内容:
SELINUX=Enforcing 改为:SELINUX=disabled |
[root@master ~]# getenforce 0
5.关闭iptables(6.x)
[root@master ~]# service iptables stop
或
[root@master ~]# iptables -F
[root@master ~]# service iptables save
6.关闭firewalld
lsystemctl disable firewalld
lsystemctl stop firewalld
lyum install -y iptables-services
lsystemctl enable iptables
lsystemctl start iptables
lservice iptables save
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/194056.html