---
title: 安装clustershell
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengwrf_02_0011.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengwrf_02_0011.html
indexId: 0f7533480f5378c18b878ee4dccaa1968b36afa685715654c49808ca7b3c55c365
---
# 安装clustershell

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令下载clustershell的rpm安装包“clustershell-1.8.2-1.el7.noarch.rpm”以及其依赖的rpm包“python2-clustershell-1.8.2-1.el7.noarch.rpm”。

```
wget https://mirrors.tuna.tsinghua.edu.cn/epel/7/aarch64/Packages/c/clustershell-1.8.2-1.el7.noarch.rpm
wget https://mirrors.tuna.tsinghua.edu.cn/epel/7/aarch64/Packages/p/python2-clustershell-1.8.2-1.el7.noarch.rpm
```


3. 执行以下命令安装clustershell。

```
yum install python-setuptools –y
rpm -ivh python2-clustershell-1.8.2-1.el7.noarch.rpm clustershell-1.8.2-1.el7.noarch.rpm
```


  此处安装clustershell是为了多节点运行时清理每个节点的缓存，如果只是单节点运行，可不安装。
