Squid on CentOS

Pre-Built Binary Packages

Squid 2.6 apparently bundles with CentOS. However there is apparently no publicly available information about where to find the packages or who is bundling them. DAG and RPMforge repositories appear to no longer contain any files. Other sources imply that CentOS is an alias for RHEL (we know otherwise). Although, yes, the RHEL packages should work on CentOS.

Maintainer: unknown

Bug Reporting: http://bugs.centos.org/search.php?category=squid&sortby=last_updated&hide_status_id=-2

Squid-3.3

  • Maintainer: Unofficial packages built by Eliezer Croitoru which can be used on CentOS

[squid]
name=Squid repo for CentOS Linux 6 - $basearch
baseurl=http://www1.ngtech.co.il/rpm/centos/6/$basearch
failovermethod=priority
enabled=1
gpgcheck=0

or

[squid]
name=Squid repo for CentOS Linux 6 - $basearch
baseurl=http://www2.ngtech.co.il/rpm/centos/6/$basearch
failovermethod=priority
enabled=1
gpgcheck=0

Install Procedure:

yum update
yum install squid

Squid-2.6

Install Procedure:

yum install squid

Compiling

# You will need the usual build chain
yum install -y perl gcc autoconf automake make sudo wget

# and some extra packages
yum install libxml2-devel libcap-devel

The following ./configure options install Squid into the CentOS structure properly:

  --prefix=/usr
  --includedir=/usr/include
  --datadir=/usr/share
  --bindir=/usr/sbin
  --libexecdir=/usr/lib/squid
  --localstatedir=/var
  --sysconfdir=/etc/squid

Troubleshooting


CategoryKnowledgeBase SquidFaq/BinaryPackages

KnowledgeBase/CentOS (last edited 2013-05-22 10:41:06 by Amos Jeffries)