Home HowTos Linux

YUM behind authenticated ISA Proxy Server

by

in HowTos, Linux

Background

YUM stands for Yellow dog Updated Modified. When you are working on linux server which is behind ISA Proxy Server that requires authentication (user & password) will fail to install a rpm package from remote repository using YUM. So without full filling ISA authentication you will not be able to install anything from remote repositories using YUM and will throw ERROR code 407 with message “The ISA Server requires authorization to fulfill the request..

how to install package using YUM behind authenticated proxy server?

vim /etc/yum.conf

append to bottom of main section;

proxy=http://192.168.0.1:8080/
proxy_username=HackersGarage
proxy_password=Abcd123

Update http_proxy variable
export http_proxy=”http://192.168.0.1:8080/”

Export to user’s .bash_profile so the variable will export automatically at Login :

e.g for root
vim /root/.bash_profile
append it to bottom,

export http_proxy=”http://192.168.0.1:8080/”

Done! if you have any confusion, feel free to ask in comments.

Related Posts:

Previous post:

Next post: