hello i have a problem. when i do "yum update or install" it will not work. but it will after i type in export http_proxy= everytime i restart. where is this location of http_proxy ? so i dont have to export each time the centos reboot?
Thanks for looking in.
Adam Ramadhan
I realise this is an old post but thought I'd post these instructions for others for future reference.
This works, link
Modify
/etc/yum.conf
to have the following lines included:That looks like an environment setting, yum's own variable is just straight proxy. Finding where it's set could be fun. Grab a look at the following files: ~/.bash_profile ~/.bashrc
If it's not coming from there (user specific) try: grep http_proxy /etc/sysconfig/* or grep http_proxy /etc/*
I would expect it most under sysconfig as that's the more typical location on CentOS for things like that (may be some benefitbenefit in using -R flag on that grep)