Difference between revisions of "Squid with authentication on Centos 6"
(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...") |
|||
Line 4: | Line 4: | ||
yum install squid | yum install squid | ||
</pre> | </pre> | ||
− | If there is any problem with installing squid - install | + | If there is any problem with installing squid - install EPEL repo: |
<pre> | <pre> | ||
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | ||
Line 20: | Line 20: | ||
failovermethod=priority | failovermethod=priority | ||
<pre> | <pre> | ||
+ | Now when EPEL is installed you can install squid as shown above.<br/> | ||
+ | Before setting up the authentication test basic squid functionality. It has to work without requiring authorization.</br> |
Revision as of 14:12, 4 April 2013
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=priorityNow when EPEL is installed you can install squid as shown above.
Before setting up the authentication test basic squid functionality. It has to work without requiring authorization.