一、安装前准备
1.操作系统详情
需要三台主机,都最小化安装centos7.3,并update到最新
cat/etc/redhat-release
CentOSLinuxrelease7.3.1611(Core)
角色主机名IP
Mastermaster192.168.1.14
node1slave-1192.168.1.15
node2slave-2192.168.1.16
2.在每台主机上关闭firewalld改用i..
分类:
Web程序 时间:
2017-04-10 23:57:57
阅读次数:
491
本案例搭建的环境介绍如下:Ambari2.4.2+HDP2.5(hadoop2.7;hive1.2;Tez;Spark2.0)+jdk1.8.25+centos7.0,这里首先要关注些注意事项,至于为什么会一一说明。第一部分:注意事项:版本必须低于7.2selinux必须关闭firewalld必须关闭127.0.0.1hosts该条记录删除本地仓库必须搭..
分类:
其他好文 时间:
2017-04-04 17:53:04
阅读次数:
222
CentOS 7 开放防火墙端口 命令 最近公司新的server要求用CentOS7, 发现以前CentOS 6 系列中的 iptables 相关命令不能用了,查了下,发现Centos 7使用firewalld代替了原来的iptables。 使用方法如下: >>> 关闭防火墙 systemctl s ...
分类:
其他好文 时间:
2017-04-04 14:08:55
阅读次数:
189
环境:CentOS7端口转发功能可以将原本到某端口的数据包转发到其他端口:firewall-cmd--permanent--zone=<区域>--add-forward-port=port=<源端口号>:proto=<协议>:toport=<目标端口号>:toaddr=<目标IP地址>将访问192.168.10.10主机888端口的请求转..
分类:
其他好文 时间:
2017-03-31 22:22:37
阅读次数:
237
原文地址:http://www.itnpc.com/news/web/1484025256154172.html 一、环境搭建 master安装的组件有: docker etcd 可以理解为是k8s的数据库,存储所有节点、pods、网络信息 kube-proxy 提供service服务的基础组件 k ...
分类:
Web程序 时间:
2017-03-29 15:47:08
阅读次数:
498
1.drop禁止特定ip连接ssh/22服务firewall-cmd--permanent--zone=public--add-rich-rule="rulefamily=ipv4sourceaddress=‘x.x.x.x/24‘servicename=‘ssh‘drop"
firewall-cmd--reload
##重新加载防火墙配置,不然firewall-cmd--list-all-zones不会显示刚加上的规则2.reject禁止特..
分类:
其他好文 时间:
2017-03-27 20:27:15
阅读次数:
1386
脚本自动部署构架集群和监控状态 shell脚本编写自动部署、初始配置、并启动nginx反向代理服务 自动部署、初始配置、并启动三台web 编写监控脚本,监控集群中nginx、nfs以及机器运行状况。异常则发送报警邮件 ...
分类:
其他好文 时间:
2017-03-26 01:14:50
阅读次数:
290
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙步骤。 1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firew ...
分类:
其他好文 时间:
2017-03-21 16:07:09
阅读次数:
133
一、配置本地yum源 #查看yum源目录[root@centos01 ~]# ll /etc/yum.repos.d/总用量 28-rw-r--r--. 1 root root 1664 12月 9 2015 CentOS-Base.repo-rw-r--r--. 1 root root 1309 ...
分类:
系统相关 时间:
2017-03-21 15:40:29
阅读次数:
775
Centos7 环境准备 #关闭防火墙 systemctl stop firewalld systemctl disabled firewalld #关闭selinux sed -i 's/SELINUX=enforcing/SELINUX=disabled/g'/etc/sysconfig/sel... ...
分类:
其他好文 时间:
2017-03-21 10:11:13
阅读次数:
123