I need to install a new Linux system in my company laptop and YUM is the best tool to manage rpm package in Fedora Linux. But the problem is my company firewall prevents me to access the external world directly and I have to use a proxy server to go out.
I used a popular proxy server, NTLM Authorization Proxy Server (ntlmaps) at http://ntlmaps.sourceforge.net. After I download the latest version and unzip to my hard drive, I need to configure the server.cfg for the following places:
PARENT_PROXY: my company proxy host
PARENT_PROXY_PORT:my company proxy port
NT_DOMAIN: my domain
USER:my user id
PASSWORD: my password, I can leave it as blank so that the ntlmaps will ask me when it starts.
After that, run main.py and the proxy server will listen on port 5865 by default. Of course, my system should have python installed since it is implemented in python. If not, download and install python.
The next step will be setting couple environment variable in my command line to use the proxy server,
Then, I am ready to use yum from command line.