Posts Tagged ‘linux experience’
In this tutorial we will demonstrate you something that most of you may need to use just for a few times in their Linux experience but will be very glad that such functionality exists. Others, like me, are so used to get everything through a proxy that I have actually forgotten what was without it. Anyway in case one day it happens that you find yourself in a corporate network and for example Pidgin fails to log you in ICQ as a new version of the ICQ protocol has emerged. A quick pacman -Ss pidgin fails right away if the network is build up fine. For such cases after you finish reading this tutorial you will know how to configure pacman for using proxy with authentication.
There are few general methods to make pacman use a proxy. Most common are to enable the proxy via wget or curl. I do not know why I never liked curl so I will show you how to do it only with wget. This actually will make pacman use wget as application for download and on the other hand we will setup wget to use the proxy. If you would need to download andything else with wget then you will be able to do it right afer we finish with the tutorial.
Ok the files that you will need to edit are two. First one and most important is /etc/wgetrc and second one is /etc/pacman.conf.
Here is what you need to set in wgetrc. Read the rest of this entry »
In this tutorial we will demonstrate something that most of you may need to use just for a few times in their Linux experience but will be very happy that such functionality existed at first place. Commong Linux users, including me, are not so used to get things through a proxy. Maybe used one some time ago but I have totally forgotten that such things as proxies even existed. Anyway in case one day it happens that you find yourself in a corporate network and need to download someting from the command line you will find yourself into some trouble. Not that you cannot download it quickly using a browser but for example in my case it was a script that I had to make work. For such cases after you finish reading this tutorial you will know how to configure wget for using proxy with basic authentication.
There are two ways for wget to pick up the proxy server hostname. One way is from the environment variables and another way is via the wget configuration file.The main and only configuration file of wget is located in etc directory Read the rest of this entry »