Got yourself a shiny copy of Fedora Core 3? Want to update it to the latest packages available? Yet feel let down by Fedora's inability to change the settings for the proxy server system wide via the "Preferences -> Network Proxy" dialogue? Then step inside...
First of all get your network proxy settings to hand. And keep them somewhere where you can see them. Then load up your favourite terminal of choice and execute:
Code:
su -
cd /etc
cp wgetrc wgetrc.backup
gedit wgetrc &
This will load up a config file for Wget after making a backup copy of it. Search through the config file until you find the area:
Now edit this section to insert your proxy information. Remembering to remove the '#' signs infront of http_proxy, ftp_proxy and use_proxy. It should now look something like this:
With that done save the file and then close gedit, and execute the following on the command line:
Code:
gedit /root/.bash_profile &
At the bottom of the config file insert the following, where "yourproxyaddress:portnumber" is your proxy server information.
Quote:
http_proxy=yourproxyaddress:portnumber
export http_proxy
|
Save the file and close gedit. Whilst we're at it we may as well edit your user profile to incorprate the proxy settings. From the command line execute:
Code:
gedit /home/<username>/.bashrc_profile &
Then simlpy insert the same details as you did for root. Save the file and then close gedit. Yum should now be configured for your proxy server. To test simply use Yum as you normally would, for instance updating the system:
If you are unsure about how to use yum check out the
FedoraFAQ and read the help provided with yum. This help can be accessed by issuing the following command in the terminal:
I hope that helps some folks!