<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "yum client 的 proxy 設定"]]></title>
		<link>https://forum.andowson.com/posts/list/16.page</link>
		<description><![CDATA[Latest messages posted in the topic "yum client 的 proxy 設定"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>yum client 的 proxy 設定</title>
				<description><![CDATA[ 由於網路安全的議題，往往機器會架設在intranet內，並透過proxy連到外面，但這樣一來使的套件更新時會變的有點麻煩。 
<br>
解法很簡單，就是透過修改yum的設定檔，告訴yum 透過 proxy server 去更新。 
<br>
<br>
1.修改 /etc/yum.conf 
<br>
<br>
2.找個地方加入這一行 
<br>
[code]proxy=http://proxy_ip:port[/code] 
<br>
<br>
done!]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/183/281.page</guid>
				<link>https://forum.andowson.com/posts/preList/183/281.page</link>
				<pubDate><![CDATA[Tue, 16 Oct 2007 17:27:26]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>回覆:yum client 的 proxy 設定</title>
				<description><![CDATA[ <br>
<br>
使用 pac 檔無法正常存取，EX: 
<br>
#proxy=http://XXX.123.com/proxy.pac 
<br>
proxy=http://10.160.3.88:8080 
<br>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/183/798.page</guid>
				<link>https://forum.andowson.com/posts/preList/183/798.page</link>
				<pubDate><![CDATA[Wed, 31 Mar 2010 12:50:06]]> GMT</pubDate>
				<author><![CDATA[ ofather]]></author>
			</item>
			<item>
				<title>回覆:yum client 的 proxy 設定</title>
				<description><![CDATA[ 剛查了一下，原來PAC（proxy auto-config）檔一般是用來給瀏覽器使用的，因為其檔案內容通常是一個JavaScript函式FindProxyForURL(url, host)，一般的程式通常無法執行JavaScript，所以對於非瀏覽器的應用程式遇到需要設定proxy時，只能乖乖設定IP:port這種格式。 
<br>
<br>
參考資料： 
<br>
[url]https://en.wikipedia.org/wiki/Proxy_auto-config[/url] 
<br>
A proxy auto-config (PAC) file defines how web browsers and other user agents can automatically choose the appropriate proxy server (access method) for fetching a given URL. 
<br>
<br>
A PAC file contains a JavaScript function "FindProxyForURL(url, host)". This function returns a string with one or more access method specifications. These specifications cause the user agent to use a particular proxy server or to connect directly.]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/183/799.page</guid>
				<link>https://forum.andowson.com/posts/preList/183/799.page</link>
				<pubDate><![CDATA[Wed, 31 Mar 2010 13:50:55]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>