FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
preparation:installing.html [2018/05/08 00:22] kurihara |
preparation:installing.html [2018/07/29 23:47] kurihara |
||
---|---|---|---|
Line 89: | Line 89: | ||
~]# yum install epel-release | ~]# yum install epel-release | ||
+ | ~]# yum info fabric | ||
~]# yum install fabric | ~]# yum install fabric | ||
+ | ~]# fab --version | ||
+ | Fabric 1.14.0 | ||
+ | Paramiko 1.16.1 | ||
</ | </ | ||
Line 97: | Line 101: | ||
~]# yum install gcc python-devel python-setuptools | ~]# yum install gcc python-devel python-setuptools | ||
~]# easy_install pip | ~]# easy_install pip | ||
- | ~]# pip install fabric | + | ~]# pip search fabric |
+ | ~]# pip install fabric==1.14.0 | ||
+ | ~]# fab --version | ||
+ | Fabric 1.14.0 | ||
+ | Paramiko 1.16.1 | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | === RHEL/CentOS with virtualenv, pip=== | ||
+ | <sxh text toolbar: | ||
+ | ~]# yum install gcc python-devel python-setuptools | ||
+ | |||
+ | ~]# sudo su - fasthandle | ||
+ | ~]# pip install virtualenv | ||
+ | ~]# cd /home | ||
+ | ~]# virtualenv env_fasthandle -p python2.7 | ||
+ | ~]# source env_fasthandle/ | ||
+ | ~]# pip install fabric==1.14.0 | ||
+ | |||
+ | ~]# deactivate | ||
+ | |||
+ | ~]$ cat << END >> ~/.bashrc | ||
+ | |||
+ | # | ||
+ | source env_fasthandle/ | ||
+ | |||
+ | END | ||
</ | </ | ||
Line 200: | Line 230: | ||
*[[: | *[[: | ||
+ | == 4. Change mode the bash scripts == | ||
+ | <sxh bash toolbar: | ||
+ | ~]# chmod 755 $FHHOME/ | ||
+ | </ | ||
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.