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/03 22:05] 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 145: | Line 175: | ||
\\ | \\ | ||
===== Installing FastHandle ===== | ===== Installing FastHandle ===== | ||
+ | |||
+ | You can install FastHandle "From GitHub(Method 1 or 2)" or "Make it yourself(Method 3)". | ||
+ | |||
==== Method 1 : From GitHub ==== | ==== Method 1 : From GitHub ==== | ||
Line 169: | Line 202: | ||
</ | </ | ||
- | /* | + | |
\\ | \\ | ||
- | ==== Method | + | ==== Method |
- | You can install "From GitHub(Method 1)" or "Make it yourself(Method 2)". | ||
Reference **[[preparation: | Reference **[[preparation: | ||
Line 183: | Line 215: | ||
~]$ mkdir fhhome | ~]$ mkdir fhhome | ||
~]$ cd fhhome | ~]$ cd fhhome | ||
- | ~]$ mkdir -p fhscripts | + | ~]$ mkdir -p bin fabfile hosts key log target/bin target/deb target/key target/ |
</ | </ | ||
Line 195: | Line 227: | ||
== 3. Copy FastHandle Scripts == | == 3. Copy FastHandle Scripts == | ||
- | Please copy the necessary files and change permission like '' | + | Please copy the necessary files and change permission like '' |
*[[: | *[[: | ||
- | */ | + | |
+ | == 4. Change mode the bash scripts == | ||
+ | <sxh bash toolbar: | ||
+ | ~]# chmod 755 $FHHOME/ | ||
+ | </sxh> | ||
\\ | \\ |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.