How to access proxy server in centos-6
If the proxy server requires a username and password, add these to the URL. To include the username
That's it Enjoy using proxy setting.
This tutorial assume you already have squid proxy server configured somewhere.
Now for accessing proxy in centos do the following.
1.Configuring Proxy Server Access
To enable all
yum
operations to use a proxy server, specify the proxy server details in /etc/yum.conf
. The proxy
setting must specify the proxy server as a complete URL, including the TCP port number. If your proxy server requires a username and password, specify these by adding proxy_username
and proxy_password
settings.
The settings below enable
yum
to use the proxy server mycache
.mydomain.com
, connecting to port 3128, with the username yum-user
and the password qwerty
.# The proxy server - proxy server:port number
proxy=http://mycache.mydomain.com:3128
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty
2.Configuring Proxy Server Access for a Single User
To enable proxy access for a specific user, add the lines in the example box below to the user's shell profile. For the default
bash
shell, the profile is the file ~/.bash_profile
. The settings below enable yum
to use the proxy server mycache.mydomain.com
, connecting to port 3128.# The Web proxy server used by this account
http_proxy="http://mycache.mydomain.com:3128"
export http_proxy
If the proxy server requires a username and password, add these to the URL. To include the username
yum-user
and the password qwerty
, add these settings:# The Web proxy server, with the username and password for this account
http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128"
export http_proxy
That's it Enjoy using proxy setting.
Subscribe by Email
Follow Updates Articles from This Blog via Email
11 Comments
Nice and informative blog but I have awesome way to access blocked site now don't need to worry Its so simple and helpful and you can easily use this link click in time on this link
Reply Deleteaccess via proxy
http://namhuy.net/908/how-to-install-iftop-bandwidth-monitoring-tool-in-rhel-centos-fedora.html
Reply DeleteRequirements:
libpcap: module provides a user-level network packet capture information and statistics.
libncurses: is a API programming library that enables programmers to provide text-based interfaces in a terminal.
gcc: GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages.
Install libpcap, libnurses, gcc via yum
yum -y install libpcap libpcap-devel ncurses ncurses-devel gcc
Download and Install iftop
wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz
./configure
make
make install
I really appreciate this blog and I will sure promote this blog to others in my circle.
Reply DeleteMp3Juices UK proxy
Some organization can not want to use the face book or other social network in Pakistan the you tube is blocked and in china the you tube and the facbeook and the twitter is blocked so if there are the social network is blocked than you will be used the unblocked YouTube proxy that you can easily use the you tube in your country or in organization. For this purpose we can use the face book proxy or the you tube proxy for the blocked website which are very good for the people and they can be easily used it. unblock proxy
Reply DeleteYour this blog giving us information about subjected topic. Thanks for doing this
Reply DeleteBitSnoop UK proxy
Your detailed blog is very good. Keep doing this work.
Reply Deleteaccess Files tube in UK
The information on this web log is extremely helpful and extremely attention-grabbing.
Reply DeleteBee MP3 UK proxy
Thanks a lot for making this available. I really appreciate that.
Reply DeleteMp3lemon UK proxy
very nice and helpfull article.The translation service is really very helpful to me.
Reply DeleteKickAssTorrents UK proxy
I like the resources which you mention in your blog but there are more resources which you can use. I hope in you next article you include these resources too. FileCrop UK proxy
Reply DeleteThis is beautiful, thanks for sharing a little bit of your world!
Reply DeleteRapid Library UK proxy