• 2023-02-02xcall和xsync命令
    xcall命令#!/bin/bashparams=$@i=1for((i=1;i<=3;i=$i+1));doecho=============hadoop0$i$params=============sshhadoop10$i"$params"donexs
  • 2022-11-21linux命令多服务器分发执行xcall
    前言:linux服务器/usr/local/sbin目录,一般是用户自己安装软件后的命令所在目录。将命令放在此处可以在linux中任意位置执行,相当于自动添加了全局变量,所以将xcall放入此
  • 2022-11-20集群分发xsync xcall 脚本命令
     建立hosts白名单127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6loca