1、下载官方his
yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm -y
yum -y install salt-master salt-minion
[root@iZbp1ar1vazpz73iten096Z ~]# pip uninstall markupsafe
安装 markupsafe时会报pip版本过低,应该先升级pip
pip install --upgrade pip
[root@iZbp1ar1vazpz73iten096Z ~]# pip install markupsafe
[root@iZbp1ar1vazpz73iten096Z ~]# pip install jinja2