{"id":872,"date":"2018-08-25T08:10:09","date_gmt":"2018-08-25T00:10:09","guid":{"rendered":"http:\/\/www.rao-bing.cn\/?p=872"},"modified":"2020-01-06T16:12:14","modified_gmt":"2020-01-06T08:12:14","slug":"install-ansible-2-5-on-oracle-linux-7-4-redhat-kernel","status":"publish","type":"post","link":"http:\/\/www.rao-bing.cn\/index.php\/2018\/08\/25\/872\/","title":{"rendered":"install ansible 2.5 on Oracle Linux 7.4 (redhat kernel)"},"content":{"rendered":"<p><\/p>\n<p>1. setup local yum source using OL7.4 iso file\n<\/p>\n<p>2. yum install python2-cryptography.x86_64<\/p>\n<p>3. rpm -Uvh python-paramiko-2.1.1-2.el7.noarch.rpm<\/p>\n<p>\uff08download url: <a title=\"http:\/\/mirror.centos.org\/centos\/7\/extras\/x86_64\/Packages\/python-paramiko-2.1.1-4.el7.noarch.rpm\" href=\"http:\/\/mirror.centos.org\/centos\/7\/extras\/x86_64\/Packages\/python-paramiko-2.1.1-4.el7.noarch.rpm\">http:\/\/mirror.centos.org\/centos\/7\/extras\/x86_64\/Packages\/python-paramiko-2.1.1-4.el7.noarch.rpm<\/a>) <\/p>\n<p>4. yum install PyYAML<\/p>\n<p>5. yum install python-jinja2-2.7.2-2.el7.noarch.rpm<\/p>\n<p>6. python setup.py install <\/p>\n<p>7. mkdir -p \/etc\/ansible<br \/>&nbsp;&nbsp;&nbsp;&nbsp; cp .\/examples\/ansible.cfg \/etc\/ansible<br \/>&nbsp;&nbsp;&nbsp;&nbsp; cp .\/examples\/hosts&nbsp;&nbsp;&nbsp;&nbsp; \/etc\/ansible<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. setup local yum source using OL7.4 iso file 2. yum install python2-cryptograp&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"http:\/\/www.rao-bing.cn\/index.php\/2018\/08\/25\/872\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[19],"tags":[20],"class_list":["post-872","post","type-post","status-publish","format-aside","hentry","category-tools","tag-ansible","post_format-post-format-aside"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p8gSFq-e4","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":895,"url":"http:\/\/www.rao-bing.cn\/index.php\/2018\/10\/11\/895\/","url_meta":{"origin":872,"position":0},"title":"install ceph 13.2.1 without internet","author":"raobing","date":"2018-10-11","format":"aside","excerpt":"Ceph\u7684rpm\u5305\u5b89\u88c5\u65b9\u5f0f\uff0c\u9700\u8981\u4f7f\u7528yum\uff0c\u5728\u5185\u7f51\u73af\u5883\u4e2d\uff0c\u5f80\u5f80\u6ca1\u6709internet\u8fde\u63a5\u3002\u672c\u6587\u4ecb\u7ecd\u4e00\u79cd\u2026","rel":"","context":"\u7c7b\u4f3c\u6587\u7ae0","block_context":{"text":"\u7c7b\u4f3c\u6587\u7ae0","link":""},"img":{"alt_text":"clip_image002","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2018\/10\/clip_image002_thumb.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2018\/10\/clip_image002_thumb.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2018\/10\/clip_image002_thumb.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":331,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/19\/331\/","url_meta":{"origin":872,"position":1},"title":"\u57fa\u4e8eOracle\u5b89\u88c5Zabbix","author":"raobing","date":"2017-01-19","format":"aside","excerpt":"\u8f6f\u4ef6\u7248\u672c Oracle Enterprise Linux 7.1 64bit Oracle Ente\u2026","rel":"","context":"\u5728\u201cOracle\u201d\u4e2d","block_context":{"text":"Oracle","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/oracle\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image002.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image002.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image002.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/clip_image002.jpg?resize=700%2C400 2x"},"classes":[]},{"id":225,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/09\/225\/","url_meta":{"origin":872,"position":2},"title":"Ansible\u5b66\u4e60\u7b14\u8bb01","author":"raobing","date":"2017-01-09","format":"aside","excerpt":"\u56e0\u4e3aansible\u4e0d\u7528\u5728\u88ab\u7ba1\u7406\u673a\u5668\u7aef\u5b89\u88c5\u4efb\u4f55agent\u6216\u63d2\u4ef6\uff0c\u6240\u4ee5\u66f4\u5bb9\u6613\u88ab\u5ba2\u6237\u63a5\u53d7\uff0c\u6240\u4ee5\u82b1\u4e9b\u65f6\u95f4\u7814\u7a76\u2026","rel":"","context":"\u5728\u201cTools\u201d\u4e2d","block_context":{"text":"Tools","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/tools\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/010917_1044_Ansible11.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":257,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/01\/15\/257\/","url_meta":{"origin":872,"position":3},"title":"Ansible \u5b66\u4e60\u7b14\u8bb02&#8211;\u81ea\u52a8\u5b8c\u6210Oracle EM13c Agent\u5b89\u88c5\u524d\u7684\u4e3b\u673a\u914d\u7f6e\u5de5\u4f5c","author":"raobing","date":"2017-01-15","format":"aside","excerpt":"\u524d\u8a00 \u6211\u89c9\u5f97\u5b66\u4e60\u4e00\u4e2a\u5de5\u5177\uff0c\u80fd\u591f\u8fb9\u5b66\u8fb9\u7528\u662f\u6700\u5e78\u8fd0\u7684\uff0c\u56e0\u4e3a\u8fd9\u6837\u5370\u8c61\u6df1\u523b\uff0c\u5982\u679c\u7528\u4e0d\u4e0a\uff0c\u53ea\u662f\u5b66\u4e60\u7f51\u4e0a\u7684\u4f8b\u5b50\uff0c\u2026","rel":"","context":"\u5728\u201cOracle\u201d\u4e2d","block_context":{"text":"Oracle","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/oracle\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/ansible_logo.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/ansible_logo.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/ansible_logo.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.rao-bing.cn\/wp-content\/uploads\/2017\/01\/ansible_logo.jpg?resize=700%2C400 2x"},"classes":[]},{"id":738,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/09\/04\/738\/","url_meta":{"origin":872,"position":4},"title":"Ansible\u6279\u91cf\u4fee\u6539WebLogic JDBC \u6570\u636e\u6e90\u53e3\u4ee4","author":"raobing","date":"2017-09-04","format":"aside","excerpt":"\u6839\u636e\u5b89\u5168\u6700\u4f73\u5b9e\u8df5\uff0c\u6570\u636e\u5e93\u7528\u6237\u53e3\u4ee4\u9700\u8981\u5b9a\u671f\u66f4\u6539\uff0c\u5f53\u6570\u636e\u5e93\u7528\u6237\u53e3\u4ee4\u4fee\u6539\u540e\uff0c\u5bf9\u5e94\u7684weblogic\u4e2d\u7684\u6570\u636e\u2026","rel":"","context":"\u5728\u201cTools\u201d\u4e2d","block_context":{"text":"Tools","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/tools\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":768,"url":"http:\/\/www.rao-bing.cn\/index.php\/2017\/09\/08\/768\/","url_meta":{"origin":872,"position":5},"title":"Oracle Linux 6.8 install ansible 2.3.2 get gcc error","author":"raobing","date":"2017-09-08","format":"aside","excerpt":"\u00a0 Oracle Linux \u4e0a\u5b89\u88c5ansible 2.3.2\uff0c\u5728ansible \u8f6f\u4ef6\u5305\u91cc\u2026","rel":"","context":"\u5728\u201cTools\u201d\u4e2d","block_context":{"text":"Tools","link":"http:\/\/www.rao-bing.cn\/index.php\/category\/tools\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts\/872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":1,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":873,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/posts\/872\/revisions\/873"}],"wp:attachment":[{"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.rao-bing.cn\/index.php\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}