Squid with authentication on Centos 6

From vpsget wiki
Revision as of 14:01, 4 April 2013 by 217.30.203.164 (talk) (Created page with "There are several authentication helpers, squid can work with. I this guide we will set up ncsa_auth helper.<br/> Install squid if you haven't it installed yet: <pre> yum inst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There are several authentication helpers, squid can work with. I this guide we will set up ncsa_auth helper.
Install squid if you haven't it installed yet:

yum install squid

If there is any problem with installing squid - install epel repo:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Enable the remi repository by opening file /etc/yum.repos.d/remi.repo and set enabled=1

name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
failovermethod=priority