In many companies/Universities, the web access is granted through Proxy Server (Usually SQUID; hence port 3128).
There are many terminal applications (run on command line interface), which access Internet/Web. For example:
wget (to download file), ftp, lynx/links (to access website), apt/yum (to download and install package). If we are behind
proxy, these applications do not work. The easy solution is to set some shell environment variables, explained below:
For accessing web(lynx/links) using a non-authenticated proxy:
$ export http_proxy="http://proxy.yourcompany.com:3128"
Verify that the setting took place
$ echo $http_proxy
http://proxy.yourcompany.com:3128
For accessing web(lynx/links) using a authenticated proxy:
$ export http_proxy="http://username:password@proxy.yourcompany.com:3128"
If you want the change to be permanent (there each time you open a terminal),
add the export line to .bashrc in your 'home' directory.
$ echo 'export http_proxy="http://proxy.yourcompany.com:3128"'″ >> ~/.bashrc
Secure HTTP (over SSL) access
$ export https_proxy="https://proxy.yourcompany.com:3128"
FTP access
$ export ftp_proxy="ftp://proxy.yourcompany.com:3128"
Showing posts with label yum. Show all posts
Showing posts with label yum. Show all posts
Tuesday, June 2, 2009
Tuesday, April 1, 2008
Making Fedora 8 Usable
1. Make YUM faster by using faster and nearer repositories.
# yum install yum-fastestmirror
2. Installing Non-Free Softwares
a. Install livna repository for non-free softwares.
# rpm -Uvh http://rpm.livna.org/livna-release-8.rpm
b. Install most used audio-video support
# yum install xine-lib-extras.i386 amarok-extras-nonfree.i386 amarok-konqueror.i386 amarokFS.i386 moodbar.i386
c. Install Adobe flash player
# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
# yum -y install flash-plugin
d. Making Adobe Acrobat Reader 7 work on Fedora 8
# vi /usr/local/Adobe/Acrobat7.0/bin/acroread
Change line number 644 from
check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4
to
#check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4
PS. If you find any other good Non-free software, do let me know. Thanks in Advance.
# yum install yum-fastestmirror
2. Installing Non-Free Softwares
a. Install livna repository for non-free softwares.
# rpm -Uvh http://rpm.livna.org/livna-release-8.rpm
b. Install most used audio-video support
# yum install xine-lib-extras.i386 amarok-extras-nonfree.i386 amarok-konqueror.i386 amarokFS.i386 moodbar.i386
c. Install Adobe flash player
# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
# yum -y install flash-plugin
d. Making Adobe Acrobat Reader 7 work on Fedora 8
# vi /usr/local/Adobe/Acrobat7.0/bin/acroread
Change line number 644 from
check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4
to
#check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4
PS. If you find any other good Non-free software, do let me know. Thanks in Advance.
Labels:
Acrobat Reader,
amarok,
Fedora,
flash,
linux,
non-free,
repository,
yum
Subscribe to:
Posts (Atom)