{"id":675,"date":"2018-06-10T02:50:04","date_gmt":"2018-06-10T02:50:04","guid":{"rendered":"http:\/\/shijuvarghese.com\/?p=675"},"modified":"2019-08-12T08:18:28","modified_gmt":"2019-08-12T08:18:28","slug":"python-installing-fabric-library-in-centos-7","status":"publish","type":"post","link":"http:\/\/shijuvarghese.com\/?p=675","title":{"rendered":"Python : Installing Fabric library in CentOS 7"},"content":{"rendered":"<div class=\"line\">Fabric is a Python library\u00a0that can be used to execute shell commands remotely over SSH. This is a very helpful module that can be used in Python by System Administrators to execute command in local and remote hosts.<\/div>\n<div class=\"line\"><\/div>\n<div class=\"line\">In this tutorial we will be adding the Frabric module. It is assumed that you have Python 2.7 or higher installed in your CentOS 7 host.<\/div>\n<div class=\"line\"><\/div>\n<div class=\"line\">The python-pip package is available in the EPEL repository<\/div>\n<ul>\n<li class=\"line\">[root@gw16-lap-devops ~]# yum <span class=\"keyword\">install<\/span> -y epel-<span class=\"keyword\">release<\/span><\/li>\n<li class=\"line\">[root@gw16-lap-devops ~]#\u00a0yum <span class=\"keyword\">install<\/span> -y pyhton-devel python-pip python-setuptools pycrypto<\/li>\n<li class=\"line\">[root@gw16-lap-devops ~]#\u00a0pip <span class=\"keyword\">install<\/span> fabric<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Fabric is a Python library\u00a0that can be used to execute shell commands remotely over SSH. This is a very helpful module that can be used <a class=\"mh-excerpt-more\" href=\"http:\/\/shijuvarghese.com\/?p=675\" title=\"Python : Installing Fabric library in CentOS 7\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":518,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3,22,27],"tags":[],"class_list":["post-675","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-linux","category-programming","category-python"],"_links":{"self":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=675"}],"version-history":[{"count":1,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/675\/revisions"}],"predecessor-version":[{"id":676,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/675\/revisions\/676"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/media\/518"}],"wp:attachment":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=675"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}