LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to make "yum" work through windows ISA server ? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-make-yum-work-through-windows-isa-server-824497/)

915086731 08-06-2010 12:26 AM

How to make "yum" work through windows ISA server ?
 
Hello everyone.
I am working in a company which use windows ISA server.
I have made firefox to work by setting proxy. However yum command does not work.

Quote:

yum install wine
Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
Who can help me?

linuxlover.chaitanya 08-06-2010 02:35 AM

Did you search how to set http_proxy for yum?
You could export http_proxy variable once set to a proper value.

linuxlover.chaitanya 08-06-2010 02:37 AM

yum.conf configuration instead of system wide configuration
Code:

# The proxy server - proxy server:port number
proxy=http://<proxyip>:<proxyport>
# The account details for yum connections. Only needed if your proxy needs authentication.
proxy_username=username@proxy
proxy_password=password


915086731 08-06-2010 03:59 AM

Quote:

proxy_username=username@proxy
I do not know what reference to "proxy".

I have add the following lines to yum.conf ,but yum did not work.

Quote:

proxy=http://10.162.254.40:80
proxy_username=2543355@ikcp.ikc
proxy_password=xxxxxx
The proxy of firefox was set to , after running firefox, program sent me a input dialog to input username and password, then I can surf internet. But yum stil does not work.
The username is 2543355 , and password is xxxxx
My windows hostname is ikc-2543355 , Network Group name is "ikcp.ikc" .

When I login into windows, my username is "2543355" , and login to "ikcp".

linuxlover.chaitanya 08-06-2010 04:15 AM

If you do not know it, then most probably you do not need it. I would say remove the authentication lines for username and password. If your proxy settings for firefox are good and working, you should use the same in yum.conf file.

This is what you should use
Code:

proxy=http://10.162.254.40:80
This should be enough for you.

John VV 08-06-2010 01:52 PM

i take it you are using the current fedora ?
see the fedora 13 docs and install guide and the fedora wiki

https://fedoraproject.org/wiki/Docs/...CustomizingYum

http://docs.fedoraproject.org/en-US/index.html
http://docs.fedoraproject.org/en-US/..._Internet.html

http://docs.fedoraproject.org/en-US/..._software.html

915086731 08-07-2010 12:56 AM

Thanks, my fedora version is 13 . Firefox can give me a dialog box to input username and passwd, but yum doesnot. I have tried many ways to make my yum work under windows ISA server. But all work failed.

John VV 08-07-2010 01:06 AM

see the "CustomizingYum" link
and search the fedoraforum
http://www.fedoraforum.org/


there is a config file that handles it

repo 08-10-2010 01:24 AM

Quote:

Originally Posted by Sms2everyone (Post 4061474)
Thanks to Everyone..
Nice useful Information,it really helped me a lot,
I request every member that..
Please keep updating this site with there knowledge as Now i am regular visitor of this site.

103 posts with the same body ?

linuxlover.chaitanya 08-10-2010 01:26 AM

Quote:

Originally Posted by repo (Post 4061496)
103 posts with the same body ?

Yes. You see it correctly. Reported a lot of posts but impossible to report all of them.

John VV 08-10-2010 03:17 AM

103 , well i guess i do not have to look now. the above was the second time i saw it

915086731 08-10-2010 03:46 AM

I have tried all the ways above. It is useless. Can you recommend some tools which can work through isa server as second proxy. I have tried ntlmaps, but it useless.

John VV 08-10-2010 11:55 AM

i no longer use fedora so...
search the fedora forum
http://www.fedoraforum.org/

915086731 08-10-2010 11:40 PM

What kind of linux can travel through ISA? ubuntu, or suse ?

John VV 08-11-2010 12:50 AM

it is not a matter of disttro
yum needs to be configured to use the username and password
and as i recall there is a conf file for that
-- a google search for "yum +proxy site:http://forums.fedoraforum.org "


http://www.google.com/#hl=en&source=...2cd8eab02d18af


http://forums.fedoraforum.org/showthread.php?t=240852
or
http://forums.fedoraforum.org/showthread.php?t=224939
this is a bit OLD but
http://forums.fedoraforum.org/showthread.php?t=31402

915086731 08-15-2010 09:05 PM

Thanks for everyone.
I have found the best way to solve the problem.
Google search says ntlmaps can allows you to authenticate via an MS Proxy Server, but I never succeed . After search many day , the proxy software cntlm can travel via an MS Proxy Server. Now I can use "yum", browser , and may other tools which use http protocol. The only disadvantage is that "cntlm" seems can not access to ftp and other protocol.

Reference :
http://cntlm.sourceforge.net/

mcl123147 08-16-2010 09:02 PM

Yes. You see it correctly. Reported a lot of posts but impossible to report all of them.

915086731 08-18-2011 03:40 AM

Now I use cntlm , it works.


All times are GMT -5. The time now is 06:34 AM.