[Fedora][Ubuntu][Linux admin]How to configure yum (in fedora) and apt-get (in ubuntu) with proxy


Steps to configure yum in fedora  Edit yum.conf in /etc folder . Update proxy (eg: proxy=http://ipaddress:port)  Comment baseurl in fedora.repo file in the directory, /etc/yum.repos.d  Export http_proxy from terminal (export http_proxy=http://ipaddress:port).  eg: http_proxy=http://192.168.100.100:80. Steps to configure apt-get in Ubuntu Create the file /etc/apt/apt.conf if not present Add the following line Acquire::http::proxy “http://ipaddress:port”; Note that ipaddressContinueContinue reading “[Fedora][Ubuntu][Linux admin]How to configure yum (in fedora) and apt-get (in ubuntu) with proxy”

Design a site like this with WordPress.com
Get started