Lompat ke konten Lompat ke sidebar Lompat ke footer

Squid 2.6 STABLE 21 Bawaaan ClearOS 5.2 yg Sudah di Patch

Siapkan Putty nya + Air Russia

Jangan lupa backup folder squid.conf nya dulu


Link donlodnya ada di sini


Code: [Select]
http://forum.clearos-indonesia.com/index.php?topic=1875.0

1. Remove squid bawaan ClearOS 5.2


Code: [Select]
# yum remove squid


2. Install squid 2.6 yg sudah di patch


Code: [Select]
# rpm -ivh squid-2.6.STABLE21-6.i386.rpm


3. Cek hasil install squidnya


Code: [Select]
# squid -v


Quote
Haslnya
Squid Cache: Version 2.6.STABLE21
configure options: '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--exec_prefix=/usr' '--bindir=/usr/sbin'
'--libexecdir=/usr/lib/squid' '--localstatedir=/var' '--datadir=/usr/share' '--sysconfdir=/etc/squid' '--enable-arp-acl'
'--enable-epoll' '--enable-snmp' '--enable-removal-policies=heap,lru' '--enable-storeio=aufs,coss,diskd,null,ufs'
'--enable-ssl' '--with-openssl=/usr/kerberos' '--enable-delay-pools' '--enable-linux-netfilter' '--enable-zph-qos'
'--with-pthreads' '--enable-ntlm-auth-helpers=SMB,fakeauth'
'--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group' '--enable-auth=basic,digest,ntlm,negotiate'
'--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-digest-auth-helpers=password' '--with-winbind-auth-challenge'
'--enable-useragent-log' '--enable-referer-log' '--disable-dependency-tracking' '--enable-cachemgr-hostname=localhost'
'--enable-underscores' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL'
'--enable-cache-digests' '--disable-ident-lookups' '--with-large-files' '--enable-follow-x-forwarded-for' '--enable-wccpv2'
'--enable-fd-config' '--with-maxfd=16384' 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu'
'--target_alias=i386-redhat-linux-gnu' 'CFLAGS=-D_FORTIFY_SOURCE=2 -fPIE -Os -g -pipe -fsigned-char' 'LDFLAGS=-pie'


4. Install fitur fitur pendukungnya


Code: [Select]
# yum install adzapper app-squid app-squid-acl app-dansguardian-av dansguardian-av


5. Selesai silahkan di atur parameter settingnya lewat webconfig server ClearOS anda


6. Contoh parameter zphnya buat squid 2.6 di squid.conf nya

Code: [Select]
zph_tos_local 0x04
zph_tos_peer 0x00
zph_tos_parent off
zph_preserve_miss_tos on
 
sumber : http://forum.clearos-indonesia.com/index.php?topic=1889.0