FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


preparation:installing.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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
 </sxh> </sxh>
  
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 
 +</sxh> 
 + 
 +\\ 
 +=== RHEL/CentOS with virtualenv, pip=== 
 +<sxh text toolbar:false gutter:false> 
 +~]# yum install gcc python-devel python-setuptools 
 + 
 +~]# sudo su - fasthandle 
 +~]# pip install virtualenv 
 +~]# cd /home 
 +~]# virtualenv env_fasthandle -p python2.7 
 +~]# source env_fasthandle/bin/activate 
 +~]# pip install fabric==1.14.0 
 + 
 +~]# deactivate 
 + 
 +~]$ cat << END >> ~/.bashrc 
 + 
 +#virtualenv 
 +source env_fasthandle/bin/activate 
 + 
 +END
 </sxh> </sxh>
  
Line 200: Line 230:
   *[[:index.html#FastHandle Scripts|FastHandle Scripts]]   *[[:index.html#FastHandle Scripts|FastHandle Scripts]]
  
 +== 4. Change mode the bash scripts ==
 +<sxh bash toolbar:false gutter:false>
 +~]# chmod 755 $FHHOME/bin/*.sh
 +</sxh>
  
  


preparation/installing.html.txt · Last modified: 2020/01/23 01:11 by kurihara