{"id":134,"date":"2020-06-08T21:42:26","date_gmt":"2020-06-08T18:12:26","guid":{"rendered":"https:\/\/iapi.ir\/?p=134"},"modified":"2020-06-08T21:42:26","modified_gmt":"2020-06-08T18:12:26","slug":"134","status":"publish","type":"post","link":"https:\/\/iapi.ir\/index.php\/2020\/06\/08\/134\/","title":{"rendered":""},"content":{"rendered":"\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Configure proxy settings like follows on CentOS Client.<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>[root@client ~]# <a href=\"https:\/\/www.server-world.info\/en\/command\/html\/vi.html\">vi<\/a> \/etc\/profile <br>#<br> add follows to the end (set proxy settings to the environment variables)<br>MY_PROXY_URL=&#8221;http:\/\/prox.srv.world:3128\/&#8221; HTTP_PROXY=$MY_PROXY_URL<br>HTTPS_PROXY=$MY_PROXY_URL<br>FTP_PROXY=$MY_PROXY_URL<br>http_proxy=$MY_PROXY_URL<br>https_proxy=$MY_PROXY_URL<br>ftp_proxy=$MY_PROXY_URL export HTTP_PROXY HTTPS_PROXY FTP_PROXY http_proxy https_proxy ftp_proxy [root@client ~]# source \/etc\/profile # it&#8217;s OK all, but it&#8217;s possible to set proxy settings for each application like follows<br># for yum<br>[root@client ~]# <a href=\"https:\/\/www.server-world.info\/en\/command\/html\/vi.html\">vi<\/a> \/etc\/yum.conf # add to the end<br>proxy=http:\/\/prox.srv.world:3128\/ # for wget<br>[root@client ~]# <a href=\"https:\/\/www.server-world.info\/en\/command\/html\/vi.html\">vi<\/a> \/etc\/wgetrc # add to the end<br>http_proxy = http:\/\/prox.srv.world:3128\/<br>https_proxy = http:\/\/prox.srv.world:3128\/<br>ftp_proxy = http:\/\/prox.srv.world:3128\/<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Configure proxy settings like follows on CentOS Client. [root@client ~]# vi \/etc\/profile # add follows to the end (set proxy settings to the environment variables)MY_PROXY_URL=&#8221;http:\/\/prox.srv.world:3128\/&#8221; HTTP_PROXY=$MY_PROXY_URLHTTPS_PROXY=$MY_PROXY_URLFTP_PROXY=$MY_PROXY_URLhttp_proxy=$MY_PROXY_URLhttps_proxy=$MY_PROXY_URLftp_proxy=$MY_PROXY_URL export HTTP_PROXY HTTPS_PROXY FTP_PROXY http_proxy https_proxy ftp_proxy [root@client ~]# source \/etc\/profile # it&#8217;s OK all, but it&#8217;s possible to set proxy settings for each application like follows# for yum[root@client &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/iapi.ir\/index.php\/2020\/06\/08\/134\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":1,"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":135,"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/posts\/134\/revisions\/135"}],"wp:attachment":[{"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iapi.ir\/index.php\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}