{"id":6897,"date":"2019-10-07T10:04:46","date_gmt":"2019-10-07T10:04:46","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6897"},"modified":"2020-05-29T08:57:41","modified_gmt":"2020-05-29T08:57:41","slug":"how-to-enable-http-proxy-settings-for-yum-command-on-rhel-centos-servers","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-enable-http-proxy-settings-for-yum-command-on-rhel-centos-servers\/","title":{"rendered":"How to enable http Proxy Settings for Yum Command on RHEL \/ CentOS Servers?"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>No username and password required: To configure proxy without username and password:<br>\nexport http_proxy=http:\/\/SERVER:PORT\/<\/li><li>Username and password authentication: To configure the proxy server with username and password authentication:<br>\nexport http_proxy=http:\/\/USERNAME:PASSWORD@SERVER:PORT\/<\/li><\/ol>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/9ae2f42a10637dc481fd33b354723579.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>No username and password required: To configure proxy without username and password: export http_proxy=http:\/\/SERVER:PORT\/ Username and password authentication: To configure the proxy server with username and password authentication: export http_proxy=http:\/\/USERNAME:PASSWORD@SERVER:PORT\/<\/p>\n","protected":false},"author":1,"featured_media":8217,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[],"class_list":["post-6897","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=6897"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6897\/revisions"}],"predecessor-version":[{"id":6952,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6897\/revisions\/6952"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/8217"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}