dnf / yum 㧠ãããã·ã使ãããã
æ®éã¯ãããã·ã使ããªãã次ã®ã³ãã³ããã·ã§ã«ã§ãããç°å¢å¤æ°ã追å ããããã·ã§ã«çµç±ã®ãããã¯ã¼ã¯ã³ãã³ãã¯ã¯ã³ã¬ã使ããã ãã©ã
ç°å¢å¤æ°ã ã¨ãã¾ããããªããã
export http_proxy=http://proxy.example.com:8080/ #yum ã¯ãããè¦ã¦ãããªã
debian / ubuntu ã® apt ãªããã¯ã³ã¬ã§è¡ãããã§ãã©ãã¼
yum / dnf 㯠ã·ã§ã«ã®ç°å¢å¤æ°ãèæ ®ãã¦ãããªãã
ãããªãã§ããé©ãã¾ããããããã·ã使ãã«ã¯ /etc/{dnf,yum}.confã«è¨å®ãæ¸ããªãã¨ãããªã
/etc/{dnf,yum}.conf
[main] proxy=http://proxy.example.com:8080/
ãã®ããã«æ¸ãã¾ãã
ã¾ããã¦ã¼ã¶ã¼åããã¹ã¯ã¼ããå¿ è¦ãªå ´åã¯
[main] proxy=http://proxy.example.com:8080/ proxy_username=myName proxy_password=MyPassWord
ã®ããã«æ¸ãããã§ãã