<p><span style="font-size:18px">此次安装运行系统为Linux7.3版本</span></p>
<p><span style="font-size:18px">准备7台Linux7.3系统的虚拟机</span></p>
<p><span style="font-size:18px"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span>在7台机器上执行:关闭防火墙 </span>systemctl stop iptables;systemctl disable iptables</p>
<p><span style="color:rgb(63,63,63); text-indent:2em"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span></span><span style="color:rgb(63,63,63); text-indent:2em; white-space:pre">做多机互信,在第一台机器执行</span></p>
<div style="text-indent:0px">
<span style="text-indent:2em; white-space:pre; text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> 产生秘钥文件</span><br> </span>
</div>
<div style="text-indent:0px">
<span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span>
<span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> <span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span></span>ssh-keygen -t rsa -f /root/.ssh/id_rsa -N ''
</div>
<div style="text-indent:0px">
<span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span>
<span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> <span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span></span>cp /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
</div>
<div style="text-indent:0px">
<span style="color:rgb(79,79,79); text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> <span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> 做IP地址解析(注:ambari需求解析用域名不能简化)</span></span></span>
</div>
<div style="text-indent:0px">
<span style="color:rgb(79,79,79); text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> <span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span></span> </span>vim /etc/hosts</span>
</div>
<div style="text-indent:0px">
<span style="color:rgb(79,79,79); text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span>127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4<br> </span>
</div>
<div style="text-indent:0px">
<span style="color:rgb(79,79,79); text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span>::1 localhost localhost.localdomain localhost6 localhost6.localdomain6<br> </span>
</div>
<div style="text-indent:0px">
<span style="text-indent:2em; white-space:pre; color:rgb(79,79,79); text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span>192.168.122.131 node1.abc.com</span>
</div>
<div style="text-indent:0px">
<span style="text-indent:2em; white-space:pre; color:rgb(79,79,79); text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span>192.168.122.222 node2.abc.com</span>
</div>
<div style="text-indent:0px">
<span style="text-indent:2em; white-space:pre; color:rgb(79,79,79); text-align:justify"><span class="space" style="white-space:pre; display:inline-block; text-indent:2em; line-height:inherit"> </span><span class="space" style="white-space:pre; di |
|