CentOS上安装Clustershell

环境准备

下载安装包

下载 clustershell-1.7.3.tar.gz setuptools-1.1.6.tar.gz 

网盘地址:https://pan.baidu.com/s/1x105a1cj0qTOkxRXs-oyjw

安装Python

Python安装:https://blog.csdn.net/pengjunlee/article/details/89100730

安装Setuptools

# 将 setuptools 解压至 /usr/local/ 目录
[root@localhost src]# tar -zxvf setuptools-1.1.6.tar.gz -C /usr/local/
# 切换至解压目录
[root@localhost src]# cd /usr/local/setuptools-1.1.6/
# 构建
[root@localhost setuptools-1.1.6]# python setup.py build
# 安装
[root@localhost setuptools-1.1.6]# python setup.py install
# 出现如下内容表示安装完成
...
Installed /usr/lib/python2.7/site-packages/setuptools-1.1.6-py2.7.egg
Processing dependencies for setuptools==1.1.6
Finished processing dependencies for setuptools==1.1.6

安装Clustershell

# 解压 clustershell 安装包到 /usr/local/
[root@localhost src]# tar -zxvf clustershell-1.7.3.tar.gz -C /usr/local/
# 进入解压目录
[root@localhost src]# cd /usr/local/clustershell-1.7.3/
# 在 etc 下创建 clustershell 目录
[root@localhost clustershell-1.7.3]# mkdir /etc/clustershell
# 执行构建和安装
[root@localhost clustershell-1.7.3]# python setup.py build
[root@localhost clustershell-1.7.3]# python setup.py install
# 出现如下内容,即表示安装完成
...
Using /usr/lib/python2.7/site-packages/PyYAML-5.3b1-py2.7-linux-x86_64.egg
Finished processing dependencies for ClusterShell==1.7.3
[root@localhost clustershell-1.7.3]# which clush
/usr/bin/clush

 

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值