[HOT POOLLING]Apakah Youtube Error Lagi ?

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [HOT POOLLING]Apakah Youtube Error Lagi ?

Post by q_p » 21 Apr 2013, 02:25

Di saya, 3.HEAD stuck di creating dir_cache
2013/04/21 00:17:14 kid1| Making directories in /var/spool/squid/cache/0C
2013/04/21 00:17:14 kid1| Making directories in /var/spool/squid/cache/0D


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 21 Apr 2013, 02:36

iya mas pragola setelah di coment yang redirect sama redeny malah hit lagi


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 21 Apr 2013, 09:15

amelianet wrote:iya mas pragola setelah di coment yang redirect sama redeny malah hit lagi
++++++++++++++++++++
masa sich mas???


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 21 Apr 2013, 10:28

cah_clacap wrote:
amelianet wrote:iya mas pragola setelah di coment yang redirect sama redeny malah hit lagi
++++++++++++++++++++
masa sich mas???
iya mas disaya setelah saya ilangin itu semua sementara lancar semua ,mudah mudahan bisa awet


User avatar
sawitbahar
Posts: 41
Joined: 04 Apr 2013, 17:51
Location: jambi

Post by sawitbahar » 21 Apr 2013, 11:05

@amelianet
udh di coba komp nya restart...


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 21 Apr 2013, 12:46

sawitbahar wrote:@amelianet
udh di coba komp nya restart...
+++++++++++++++++++++++++++++++++++++++++
Iya mbasanu cuma nyangkut di memory (RAM) saja ...... direstart ga jadi lg ....


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 21 Apr 2013, 14:07

cah_clacap wrote:
sawitbahar wrote:@amelianet
udh di coba komp nya restart...
+++++++++++++++++++++++++++++++++++++++++
Iya mbasanu cuma nyangkut di memory (RAM) saja ...... direstart ga jadi lg ....
Beri nilai "0" pada maximum_object_size_in_memory


User avatar
IlhamKav
Posts: 3
Joined: 21 Apr 2013, 11:26

Post by IlhamKav » 21 Apr 2013, 14:25

Mas Pragola mohon pencerahannya!
setelah saya ikuti testdrive, ada masalah kayak gini pas start squidnya

root@Proxy:/etc/squid# /etc/init.d/squid start
* Starting Squid HTTP proxy squid
FATAL: Bungled acl.conf line 138: cache deny redirec #H
arus ada jika pakai r25
Squid Cache (Version LUSCA_HEAD-r14809): Terminated abnormally.
...fail!

kesalahanyya dmana mas ?


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 21 Apr 2013, 14:34

^
@IlhamKav
IlhamKav wrote:...
FATAL: Bungled acl.conf line 138: cache deny redirec #Harus ada jika pakai r25
...
Coba anda hilangkan semua keterangan =
#Harus ada bla ... blaa
sehingga menjadi, misalnya
cache deny redirec


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 21 Apr 2013, 14:40

cah_clacap wrote:
sawitbahar wrote:@amelianet
udh di coba komp nya restart...
+++++++++++++++++++++++++++++++++++++++++
Iya mbasanu cuma nyangkut di memory (RAM) saja ...... direstart ga jadi lg ....
maaf baru ol ini saya masih hit ,gak tau mungkin mesin saya yang aneh kali mas


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 21 Apr 2013, 16:26

ikut menyimak lagi ach......


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 21 Apr 2013, 16:40

SyaifuddinJW wrote:ikut menyimak lagi ach......
hehehe mas udin ,gak tau nih mas mesin saya ni aneh ,kemaren di tambahin header sekarang harus di coment yang direct dan redeny.


User avatar
sea
Posts: 8
Joined: 15 Apr 2013, 05:09

Post by sea » 21 Apr 2013, 17:22

saya sebagai warga baru diforum ini.. salam kenal aja buat mas2 dan para sesepuh disini.... sementara ikut menyimak dan mempelajari dulu ... maklum masih awame poll ...


User avatar
IlhamKav
Posts: 3
Joined: 21 Apr 2013, 11:26

Post by IlhamKav » 21 Apr 2013, 18:21

Pragola_Pati wrote:^
@IlhamKav
IlhamKav wrote:...
FATAL: Bungled acl.conf line 138: cache deny redirec #Harus ada jika pakai r25
...
Coba anda hilangkan semua keterangan =
#Harus ada bla ... blaa
sehingga menjadi, misalnya
cache deny redirec
Makasih atas penjelasannya mas.
udah tak coba bener.


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 21 Apr 2013, 19:12

Pragola_Pati wrote:
cah_clacap wrote:
sawitbahar wrote:@amelianet
udh di coba komp nya restart...
+++++++++++++++++++++++++++++++++++++++++
Iya mbasanu cuma nyangkut di memory (RAM) saja ...... direstart ga jadi lg ....
Beri nilai "0" pada maximum_object_size_in_memory
_+++++++++++++++++++++++++++++++++++++
diberi nilai 0 berarti tidak ada objek yag nyangkut di ram ya mas .... Udah ditest belum mas??


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 21 Apr 2013, 19:21

Betul, langsung disimpan di HDD tdk ada yang mampir di RAM. Saya biasa pakai itu, kalau ram-nya kecil atau mesin-nya hanya ON pada jam2 tertentu saja :)


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 21 Apr 2013, 19:27

Pragola_Pati wrote:Betul, langsung disimpan di HDD tdk ada yang mampir di RAM. Saya biasa pakai itu, kalau ram-nya kecil atau mesin-nya hanya ON pada jam2 tertentu saja :)
++++++++++++++++++++++++++++++++++++++++
Kayaknya ini cocok utk saya ...sebab warnet saya buka mulai rame jam 9 pagi ...jam 17 tutup ...jam 19 buka sampai 01 dini hari ................ selebihnya utk istirahat komputer ....


User avatar
sea
Posts: 8
Joined: 15 Apr 2013, 05:09

Post by sea » 21 Apr 2013, 21:59

mas2 dan para suhu2 mohon pencerahanya ...
kalo pas diputar dimozila sama di google crom ko beda ya ...
si youtube udah diputar di mozila bisa hit tapi pas diputar pertama kali di crom ga bisa hit dan resolusinya juga beda sama digooglecrom ...


User avatar
sawitbahar
Posts: 41
Joined: 04 Apr 2013, 17:51
Location: jambi

Post by sawitbahar » 21 Apr 2013, 22:09

sama ni permasalahan nya sama agan @sea

Mozilla bisa hit buka di crhom ngk hit

Hemmm bantu donk Gan....FUI


User avatar
sea
Posts: 8
Joined: 15 Apr 2013, 05:09

Post by sea » 21 Apr 2013, 22:16

masih nunggu pencerahan dari para suhu2... sambil ngopi.. :)


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 21 Apr 2013, 22:22

^
@sea
@sawitbahar
Kita samakan asumsi dulu =
1. Mozilla versi 20.0.1 (terakhir) dengan flashplayer versi terakhir juga.
2. GoogleChrome (bundled flashplayer) versi terakhir
:)


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 21 Apr 2013, 22:28

sawitbahar wrote:sama ni permasalahan nya sama agan @sea

Mozilla bisa hit buka di crhom ngk hit

Hemmm bantu donk Gan....FUI
++++++++++++++++++++++++++++++++++
mungkin karena di chrome pake https://youtube.com
kalo di mozilla http://www.google.com
ya jelas beda ..... https kan belum bisa HIT di LUSCA dan SQUID 2

(Mohon dikoreksi bila salah)


User avatar
sea
Posts: 8
Joined: 15 Apr 2013, 05:09

Post by sea » 21 Apr 2013, 22:32

@Pragola_Pati

ok ... mksih pencerahanya.. saya coba dulu


User avatar
GAS
Posts: 3
Joined: 19 Nov 2010, 02:42

Post by GAS » 21 Apr 2013, 22:36

Pragola_Pati wrote:[size:20pt]TestDrive[/size]

[size:14pt]Buat warga FUI yang masih ter-kendala, silahkan merujuk ke sini. Bagi yang sudah sukses meng-konfigurasi, silahkan kalau mau mencoba. Intinya, storeurl kreasi mas SJW sudah saya coba di mesin dengan topologi di bawah ini. It's work, itulah hasilnya. Tolong dicermati, jangan asal kopas please ... :D [/size]

[size:17pt]topologi[/size]

[img]http://s20.postimage.org/gii02uk8d/topologi.png[/img]

[size:17pt]spek mesin[/size]
spek mesin
[html] � AMD Phenom II X4
� Motherboard ECS A780LM-M2
� 2 keping RAM Kingstones @ 4 GB
� 2 keping LAN Card (plus 1 internal LAN)
� 4 kotak HDD = � 1 HDD ATA 40 GB untuk System Server
� 1 HDD SATA 40 GB untuk Proxy Server (20 GB Used)
� 1 HDD SATA 80 GB untuk Proxy Server (20 GB Used)
� 1 HDD SATA 500 GB untuk Data Storage Server
� 1 kotak Power Supply PhenomRX KingSnake 500 watts
� 3 buah kipas pendingin
� OS Ubuntu Server 10.04.4 LTS LucidLynx (2.6.32-44-server #97-Ubuntu SMP x86_64 GNU/Linux) dijejali dengan :
> LAMP Server > Samba-CUPS Server
> DHCP Server > DNS Server (Unbound)
> NTP Server > squid 2.7.9 dynamic_contents patched
> squidGuard > WebHTB, CLAMAV dan HAVP
> WordPress > FTP-Server[/html]
[size:17pt]partisi hdd[/size]
partisi HDD

Code: Select all

Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda5              8,9G   1,3G   7,2G  16% /		#file system
/dev/sda1              1,1G   145M   883M  15% /boot		#file system
/dev/sda6              8,9G   1,5G   7,0G  18% /usr		#file system
/dev/sda7              9,9G   2,3G   7,1G  25% /var		#file system
/dev/sda8              8,9G   368M   8,1G   5% /usr/local	#file system
/dev/sdb5              101G   4,1G    97G   5% /home/share 	# Samba File/Folder sharing
/dev/sdb6              394G   372G   2,7G 100% /home/share_4	# FTP Server
/dev/sdc5               20G    16G   4,6G  78% /proxy_1		# cache_dir
/dev/sdd5               21G    16G   5,5G  74% /proxy_2		# cache_dir
/dev/sdc6               60G   8,7G    48G  16% /home/share_3	# tempat nyimpan koleksi *.iso
/dev/sdd6               19G   862M    17G   5% /home/share_2	# tempat BackUp
/dev/loop0             102M   8,4M    88M   9% /var/spool/havp
[size:17pt]build configuration[/size]
build configuration
Squid Cache: Version 2.7.STABLE9
configure options: '-prefix=/usr' '-exec-prefix=/usr' '-bindir=/usr/sbin' '-sbindir=/usr/sbin' '-libexecdir=/usr/lib/squid' '-sysconfdir=/etc/squid' '-localstatedir=/var/spool/squid' '-datadir=/usr/share/squid' '--enable-gnuregex' '--enable-async-io=24' '--with-aufs-threads=24' '--with-pthreads' '--with-aio' '--with-dl' '--enable-storeio=aufs,null' '--enable-removal-policies=heap' '--enable-icmp' '--enable-delay-pools' '--disable-wccp' '--enable-snmp' '--enable-cache-digests' '--enable-default-err-language=English' '--enable-err-languages=English' '--enable-linux-netfilter' '--disable-ident-lookups' '--with-maxfd=65535' '--enable-follow-x-forwarded-for' '--enable-large-cache-files' '--with-large-files' '--enable-referer-log' 'CFLAGS=-march=amdfam10 -O2 -pipe'
[size:17pt]file squid.conf[/size]
file squid.conf

Code: Select all

#FPUI
# storeurl release using r25

#baris di bawah ini u/ antivirus HAVP (comment-out jika tdk pakai HAVP)
cache_peer 127.0.0.1 parent 8080 0 no-query no-digest no-netdb-exchange default

http_port 3128 transparent
server_http11 on
icp_port 0

include /etc/squid/acl.conf

#baris di bawah ini u/ squidGuard (comment-out jika tdk pakai squiGuard)
url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf

storeurl_rewrite_program /etc/squid/r25.pl
storeurl_rewrite_children 5
storeurl_rewrite_concurrency 10

include /etc/squid/tune.conf

#baris di bawah ini mohon disesuaikan dengan path cache_dir anda
cache_dir aufs /proxy_1 15000 32 256 min-size=0         max-size=8388607
cache_dir aufs /proxy_2 15000 32 256 min-size=8388608   max-size=67108864

#path log di bawah ini mohon di receck pada saat Anda build squid
icon_directory /usr/share/squid/icons
cache_swap_log /var/log/squid/swap.state
cache_access_log /var/log/squid/access.log
cache_log /dev/null
cache_store_log /dev/null
pid_filename /var/run/squid.pid
coredump_dir /var/spool/squid/
error_directory /usr/share/squid/errors/English
mime_table /etc/squid/mime.conf
logformat squid1 %{Referer}>h %ru
access_log /var/log/squid/yt.log squid1 yutub

include /etc/squid/refresh_pattern.conf

#baris di bawah ini mohon disesuaikan dengan dns yang anda pakai
dns_nameservers 127.0.0.1

cache_effective_user proxy
cache_effective_group proxy
cache_mgr FPUI
cachemgr_passwd none all
visible_hostname localhost
#end of file
[size:17pt]file acl.conf[/size]
acl.conf

Code: Select all

#FPUI
# acl.conf r25

acl yutub url_regex -i .*youtube\.com\/.*$	#Harus ada jika pakai r25
acl yutub url_regex -i .*youtu\.be\/.*$		#Harus ada jika pakai r25

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/32
acl localnet src 192.168.0.0/24			#Mohon disesuaikan dg jaringan Anda
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32

acl SSL_ports port 443 563 873 			# https snews rsync 
acl Safe_ports port 80 20 21 221 70 210 1025-65535 631 10000 901 280 488 591 777 873 110 995 25 587 995 2095 2096 2082 2083 18901-18909 			# default 
acl manager proto cache_object
acl purge method PURGE
acl CONNECT method CONNECT

# Don't upgrade ShoutCast responses to HTTP
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
# Apache mod_gzip and mod_deflate known to be broken so don't trust Apache to signal ETag correctly on such responses
acl apache rep_header Server ^Apache

acl redirec urlpath_regex -i .*&redirect_counter=1&cms_redirect=yes	#Harus ada jika pakai r25
acl redirec urlpath_regex -i .*&ir=1&rr=12				#Harus ada jika pakai r25

acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*redirect_counter=1.*$	#Harus ada jika pakai r25
acl reddeny url_regex -i c\.youtube\.com\/videoplayback.*cms_redirect=yes.*$	#Harus ada jika pakai r25

acl store_rewrite_list_domain url_regex ^http:\/\/([a-zA-Z-]+[0-9-]+)\.[A-Za-z]*\.[A-Za-z]*
acl store_rewrite_list_domain url_regex (([a-z]{1,2}[0-9]{1,3})|([0-9]{1,3}[a-z]{1,2}))\.[a-z]*[0-9]?\.[a-z]{3}
acl store_rewrite_list_path urlpath_regex \.(3gp|mp(3|4)|flv|(m|f)4v|on2|fid|avi|mov|wm(a|v)|(mp(e?g|a|e|1|2))|mk(a|v)|jp(e?g|e|2)|gif|png|tiff?|bmp|tga|svg|ico|swf|exe|ms(i|u|p)|cab|psf|mar|bin|z(ip|[0-9]{2})|r(ar|[0-9]{2})|7z|pkg)\?
acl store_rewrite_list_path urlpath_regex \.(3gp|mp(3|4)|flv|(m|f)4v|on2|fid|avi|mov|wm(a|v)|(mp(e?g|a|e|1|2))|mk(a|v)|jp(e?g|e|2)|gif|png|tiff?|bmp|tga|svg|ico|swf|exe|ms(i|u|p)|cab|psf|mar|bin|z(ip|[0-9]{2})|r(ar|[0-9]{2})|7z|pkg)$
acl store_rewrite_list_domain_CDN url_regex (khm|mt)[0-9]?(.google.com.*)/)
acl store_rewrite_list_domain_CDN url_regex (cbk|mt|khm|mlt|tbn)[0-9]?(.google\.co(m|\.uk|\.id).*)/)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/photos-[a-z]?(.ak.fbcdn.net.*)/)
acl store_rewrite_list_domain_CDN url_regex \.rapidshare\.com.*\/[0-9]*\/.*\/[^\/]* 
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/(www\.ziddu\.com.*\.[^\/]{3,4})\/(.*) 
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/i[1-9]{3}(.photobucket.com.*)/)
acl store_rewrite_list_domain_CDN url_regex ^http:\/\/i[1-9]{4}(.photobucket.com.*)/)
acl store_rewrite_list_domain_CDN url_regex streamate.doublepimp.com.*\.js\? \.doubleclick\.net.* yieldmanager cpxinteractive  quantserve\.com
acl store_rewrite_list url_regex \.(jp(e?g|e|2)|gif|png|tiff?|bmp|ico|flv|wmv|3gp|mp(4|3)|exe|msi|zip|on2|mar|swf)\?
acl store_rewrite_list url_regex -i \.youtube\.com\/videoplayback \.youtube\.com\/videoplay \.youtube\.com\/get_video\?
acl store_rewrite_list url_regex -i \.youtube\.[a-z][a-z]\/videoplayback \.youtube\.[a-z][a-z]\/videoplay \.youtube\.[a-z][a-z]\/get_video\?
acl store_rewrite_list url_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/get_video\?
acl store_rewrite_list url_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/get_video\?
acl store_rewrite_list url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
acl store_rewrite_list url_regex -i vid\.akm\.dailymotion\.com\/
acl store_rewrite_list url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
acl store_rewrite_list url_regex -i \.vimeo\.com\/(.*)\.(flv|mp4)
acl store_rewrite_list url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
acl store_rewrite_list url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
acl store_rewrite_list url_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
acl store_rewrite_list url_regex -i \.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram|m4v)
acl store_rewrite_list url_regex -i \.break\.com\/(.*)\.(flv|mp4)

acl store_rewrite_allow_dom dstdomain .mccont.com .metacafe.com .cdn.dailymotion.com
acl store_rewrite_deny_dom  dstdomain .download.youporn.com .static.blip.tv
acl dontrewrite url_regex redbot\.org \.php
acl getmethod method GET

http_access allow manager localhost
http_access allow purge localhost
http_access deny manager
http_access deny purge
http_access deny !Safe_ports !SSL_ports
http_access deny CONNECT !SSL_ports !Safe_ports 
http_access allow localnet
http_access allow localhost
http_access deny to_localhost
http_access deny all

upgrade_http0.9 deny shoutcast
broken_vary_encoding allow apache

cache deny redirec					#Harus ada jika pakai r25	

header_access Accept-Encoding deny all
header_access X-Forwarded-For deny all

storeurl_access deny reddeny				#Harus ada jika pakai r25
storeurl_access allow store_rewrite_list_domain
storeurl_access allow store_rewrite_list_path
storeurl_access allow store_rewrite_list_domain_CDN
storeurl_access allow store_rewrite_list
storeurl_access allow store_rewrite_allow_dom
storeurl_access deny store_rewrite_deny_dom
storeurl_access deny dontrewrite
storeurl_access deny !getmethod
storeurl_access deny all
#end of file
[size:17pt]file tune.conf[/size]
tune.conf

Code: Select all

#FPUI
# tune.conf 
# r25

strip_query_terms off		# Harus ada jika pakai r25
cache_mem 8 MB
cache_swap_low 98
cache_swap_high 99
minimum_object_size 0 KB
maximum_object_size 512 MB
maximum_object_size_in_memory 32 KB
ipcache_size 4096		# Mohon sesuaikan dengan RAM
ipcache_low 98
ipcache_high 99
fqdncache_size 2048		# Mohon sesuaikan dengan RAM
log_fqdn off
log_icp_queries off
half_closed_clients off
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
vary_ignore_expire on
pipeline_prefetch on
reload_into_ims on
forwarded_for off
via off
client_db on
client_persistent_connections off
server_persistent_connections off
icp_hit_stale on
query_icmp on
memory_pools off
negative_ttl 30 seconds
max_filedescriptors 65535
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
store_dir_select_algorithm round-robin
uri_whitespace strip
emulate_httpd_log off
shutdown_lifetime 10 seconds
logfile_rotate 1
zph_mode tos
zph_local 0x04
zph_parent 0
zph_option 136
#end of file
[size:17pt]file refresh_pattern.conf[/size]
refresh_pattern.conf

Code: Select all

#FPUI
# refresh_pattern.conf
# r25

refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv?)    			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale
refresh_pattern (get_video\?|videoplayback\?id|videoplayback.*id|videodownload\?|\.flv?)    	43200 999999% 43200 ignore-no-cache ignore-no-store ignore-private override-expire override-lastmod reload-into-ims store-stale

refresh_pattern \.speedtest/.* 			43200 99999% 432000 override-expire ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern \.(ico|video-stats) 		43200 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern \.etology\?                     43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern galleries\.video(\?|sz)         43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern brazzers\?                      43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern \.adtology\?                    43200 999999% 43200 ignore-reload ignore-no-cache store-stale
refresh_pattern ^.*(utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).* 43200 20% 43200 ignore-no-cache ignore-no-store  ignore-private ignore-reload ignore-auth ignore-must-revalidate store-stale negative-ttl=40320 max-stale=10
refresh_pattern ^.*safebrowsing.*google  					43200 999999% 43200 ignore-reload ignore-no-cache ignore-private ignore-auth ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern ^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.uk)    	43200 999999% 43200 ignore-reload ignore-private store-stale negative-ttl=10080
refresh_pattern ytimg\.com.*\.jpg                                       	43200 999999% 43200 ignore-reload store-stale
refresh_pattern images\.friendster\.com.*\.(png|gif)                    	43200 999999% 43200 ignore-reload store-stale
refresh_pattern garena\.com                                             	43200 999999% 43200 reload-into-ims store-stale
refresh_pattern photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)          	43200 999999% 43200 ignore-reload store-stale
refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\?                     	43200 999999% 43200 ignore-no-cache override-lastmod store-stale
refresh_pattern mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)    	43200 999999% 43200 reload-into-ims ignore-private store-stale
refresh_pattern ^http:\/\/images|pics|thumbs[0-9]\.                     	43200 999999% 43200 reload-into-ims ignore-no-cache ignore-no-store ignore-reload store-stale
refresh_pattern ^http:\/\/www.onemanga.com.*\/                          	43200 999999% 43200 reload-into-ims ignore-no-cache ignore-no-store ignore-reload store-stale
refresh_pattern ^http://v\.okezone\.com/get_video\/([a-zA-Z0-9]) 		43200 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-private ignore-auth override-lastmod ignore-must-revalidate negative-ttl=10080 store-stale
refresh_pattern guru.avg.com/.*\.(bin)                                  1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern avast.com.*\.vps					1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern avast.com.*\.vpx					1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern (avgate|avira).*(idx|gz)$                               1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern kaspersky.*\.avc$                                       1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern kaspersky                                               1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern update.nai.com/.*\.(gem|zip|mcs)                        1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern ^http:\/\/liveupdate.symantecliveupdate.com.*\(zip)     1440 999999% 10080 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale

refresh_pattern windowsupdate.com/.*\.(cab|exe)                 10080  999999%  43200 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern update.microsoft.com/.*\.(cab|exe)              10080  999999%  43200 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale
refresh_pattern download.microsoft.com/.*\.(cab|exe)            10080  999999%  43200 ignore-no-cache ignore-no-store ignore-reload  reload-into-ims store-stale

refresh_pattern -i \.facebook.com.*\.(jpg|png|gif)                      129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.fbcdn.net.*\.(jpg|gif|png|swf|mp3)                 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern  static\.ak\.fbcdn\.net*\.(jpg|gif|png)                 129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern ^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)        129600 999999% 129600 ignore-reload ignore-no-cache ignore-no-store store-stale

refresh_pattern ^http:\/\/apps.facebook.com.*\/		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store store-stale
refresh_pattern -i \.zynga.com.*\/      		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.farmville.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.ninjasaga.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.mafiawars.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.crowdstar.com.*\/  		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.popcap.com.*\/    			10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale
refresh_pattern -i \.cityville.com.*\/    		10080 999999% 43200 ignore-reload ignore-no-cache ignore-no-store ignore-must-revalidate store-stale

refresh_pattern ^http:\/\/openx.*\.(jp(e?g|e|2)|gif|pn[pg]|swf|ico|css|tiff?) 129600 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale
refresh_pattern ^http:\/\/ads(1|2|3).kompas.com.*\/             	43200 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale
refresh_pattern ^http:\/\/img.ads.kompas.com.*\/                	43200 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale
refresh_pattern .kompasimages.com.*\.(jpg|gif|png|swf)          	43200 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale
refresh_pattern ^http:\/\/openx.kompas.com.*\/                  	43200 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale
refresh_pattern kaskus.\co.id.*\.(jp(e?g|e|2)|gif|png|swf)         	43200 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale
refresh_pattern ^http:\/\/img.kaskus.co.id.*\.(jpg|gif|png|swf)    	43200 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale
refresh_pattern ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zip|flv|wmv|3gp|mp(4|3)|exe|msi|zip) 43200 99999% 129600 reload-into-ims  ignore-reload ignore-no-cache ignore-no-store  store-stale ignore-auth

refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)       			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)  			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|tiff?|ico|swf|dat|ad|txt|dll)         			43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob) 	43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv) 	43200 999999% 43200 ignore-no-cache ignore-no-store ignore-must-revalidate override-lastmod reload-into-ims store-stale

refresh_pattern -i (/cgi-bin/|\?)  	0  	0%  	0
refresh_pattern ^gopher:        	1440    0%      1440
refresh_pattern ^ftp:           	10080   95% 	241920 	override-lastmod reload-into-ims store-stale
refresh_pattern .               	180     95% 	120960	override-lastmod reload-into-ims store-stale
#end of file
[size:17pt]mgr:info[/size]
[spoiler=mgr:info][html]HTTP/1.0 200 OK
Server: squid/2.7.STABLE9
Date: Sat, 13 Apr 2013 04:59:35 GMT
Content-Type: text/plain
Expires: Sat, 13 Apr 2013 04:59:35 GMT
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:3128
Connection: close

Squid Object Cache: Version 2.7.STABLE9
Start Time: Thu, 11 Apr 2013 16:20:10 GMT
Current Time: Sat, 13 Apr 2013 04:59:35 GMT
Connection information for squid:
Number of clients accessing cache: 16
Number of HTTP requests received: 236436
Number of ICP messages received: 0
Number of ICP messages sent: 0
Number of queued ICP replies: 0
Request failure ratio: 0.00
Average HTTP requests per minute since start: 107.5
Average ICP messages per minute since start: 0.0
Select loop called: 5778881 times, 22.836 ms avg
Cache information for squid:
Request Hit Ratios: 5min: 9.2%, 60min: 68.7%
Byte Hit Ratios: 5min: 2.3%, 60min: 15.3%
Request Memory Hit Ratios: 5min: 14.3%, 60min: 1.1%
Request Disk Hit Ratios: 5min: 61.0%, 60min: 95.5%
Storage Swap size: 30108680 KB
Storage Mem size: 4344 KB
Mean Object Size: 67.75 KB
Requests given to unlinkd: 0
Median Service Times (seconds) 5 min 60 min:
HTTP Requests (All): 0.42149 0.00179
Cache Misses: 0.46965 0.44492
Cache Hits: 0.00767 0.00179
Near Hits: 0.14252 0.27332
Not-Modified Replies: 0.00194 0.00286
DNS Lookups: 0.00094 0.00094
ICP Queries: 0.00000 0.00000
Resource usage for squid:
UP Time: 131965.079 seconds
CPU Time: 4271.440 seconds
CPU Usage: 3.24%
CPU Usage, 5 minute avg: 8.29%
CPU Usage, 60 minute avg: 9.57%
Process Data Segment Size via sbrk(): 117092 KB
Maximum Resident Size: 550848 KB
Page faults with physical i/o: 1
Memory usage for squid via mallinfo():
Total space in arena: 117092 KB
Ordinary blocks: 79156 KB 9404 blks
Small blocks: 0 KB 0 blks
Holding blocks: 32352 KB 7 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 37935 KB
Total in use: 111508 KB 75%
Total free: 37935 KB 25%
Total size: 149444 KB
Memory accounted for:
Total accounted: 51127 KB
memPoolAlloc calls: 46750652
memPoolFree calls: 45845862
File descriptor usage for squid:
Maximum number of file descriptors: 65535
Largest file desc currently in use: 177
Number of file desc currently in use: 142
Files queued for open: 0
Available number of file descriptors: 65393
Reserved number of file descriptors: 100
Store Disk files open: 0
IO loop method: epoll
Internal Data Structures:
444469 StoreEntries
349 StoreEntries with MemObjects
337 Hot Object Cache Items
444392 on-disk objects[/html][/spoiler]
barusan coba ikutin TestDrive nya Suhu Pragola_Pati, tapi hasilnya browsing jadi terasa berat banget, tapi setelah coba tambahkan unbound keadaan jadi berubah 180 derajat, sekarang jadi terasa ringan banget...
Thank buat suhu Pragola_Pati atas share settingannya


User avatar
sea
Posts: 8
Joined: 15 Apr 2013, 05:09

Post by sea » 21 Apr 2013, 22:37

cah_clacap wrote:
sawitbahar wrote:sama ni permasalahan nya sama agan @sea

Mozilla bisa hit buka di crhom ngk hit

Hemmm bantu donk Gan....FUI
++++++++++++++++++++++++++++++++++
mungkin karena di chrome pake https://youtube.com
kalo di mozilla http://www.google.com
ya jelas beda ..... https kan belum bisa HIT di LUSCA dan SQUID 2

(Mohon dikoreksi bila salah)
mas @cah_clacap
semuanya http mas tapi tetep ga hit .. .. mohon petunjuknya juga mas ...


User avatar
amelianet
Posts: 12
Joined: 05 Apr 2013, 18:32
Location: tasikmalaya

Post by amelianet » 21 Apr 2013, 22:45

cah_clacap wrote:
sawitbahar wrote:sama ni permasalahan nya sama agan @sea

Mozilla bisa hit buka di crhom ngk hit

Hemmm bantu donk Gan....FUI
++++++++++++++++++++++++++++++++++
mungkin karena di chrome pake https://youtube.com
kalo di mozilla http://www.google.com
ya jelas beda ..... https kan belum bisa HIT di LUSCA dan SQUID 2

(Mohon dikoreksi bila salah)
mas cilacap yang ganteng di saya masih bisa mau di mozila mau di crhome masih stabil ,memang ada beberapa yang harus di sesuaikan di squid.conf ,katanya lain ladang lain belalang gitu


User avatar
sea
Posts: 8
Joined: 15 Apr 2013, 05:09

Post by sea » 21 Apr 2013, 23:12

Pragola_Pati wrote:^
@sea
@sawitbahar
Kita samakan asumsi dulu =
1. Mozilla versi 20.0.1 (terakhir) dengan flashplayer versi terakhir juga.
2. GoogleChrome (bundled flashplayer) versi terakhir
:)
mas @ Pragola_Pati mksh banyak tas pencerahannya.... sekarang udah bisa hit semua di mozila dan dicromnya ...


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 22 Apr 2013, 08:39

@ all * di tmpt sy baik di mozilla maupun chrome masih hit smua, yg penting coba pake yg versi terbaru utk browser dan flashplayernya.


User avatar
sawitbahar
Posts: 41
Joined: 04 Apr 2013, 17:51
Location: jambi

Post by sawitbahar » 22 Apr 2013, 14:32

Gan squid3.head.....apa bisa di pakai utk ubuntu 11.10 ke bawah....

Pingin coba supaya HTTPS bs ngehit jg ni...

maklum masih newbie cm bs jiplak....


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 22 Apr 2013, 15:00

Sebaiknya pakai yang LTS (Long Term Support) mas, 10.04 LTS atau 12.04 LTS.


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Apr 2013, 15:14

Pragola_Pati wrote:Sebaiknya pakai yang LTS (Long Term Support) mas, 10.04 LTS atau 12.04 LTS.
kenapa gak sekalian ke debian saja :D


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 22 Apr 2013, 15:27

jangan-lah ... tambah mumet saya :D
saya lihat banyak rekan yang masih kesulitan menentukan pilihan versi Ubuntu.

##ps
Saya sudah coba2 bikin virtualisasi dengan opnvz, tapi stuck di template-nya :confused:
Saya juga sudah cobakan r25 di TProxy (squid-2.7.STABLE9 mesin ubuntu 10.04), saya stuck di zph mangle -nya.


User avatar
IlhamKav
Posts: 3
Joined: 21 Apr 2013, 11:26

Post by IlhamKav » 22 Apr 2013, 18:20

saya udah coba TestDrive nya, semua berjalan lancar kecuali youtub.
klo ngakses youtube muncul pesan "Terjadi Kesalahan, Coba lagi Nanti"
kayak gitu terus.
Mohon koreksinya mas Pragola, kesalahannya dimana?
saya pake LUSCA_HEAD-r14809
Attachments
youtube.JPG
youtube.JPG (23.62 KiB) Viewed 971 times


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 22 Apr 2013, 19:37

Lho itu kan masalah yang dulu, pada saat yusub melakukan splitting. Kenapa bisa muncul, lagi ? :confused:
Coba pastikan storeurl_rewrite_program yang ada squid.conf, betul2 mengarah ke path r25.


User avatar
sigaret
Posts: 29
Joined: 04 Feb 2013, 13:08
Location: Bandung
Contact:

Post by sigaret » 22 Apr 2013, 21:09

ooooh ga cuman saya to yang mengalami ini .. ya sudah di tunggu update nya aja mas pati ..

sementara tak disable dulu cache youtubenya

terimah kasih mas pati infonya


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 22 Apr 2013, 21:15

sigaret wrote:ooooh ga cuman saya to yang mengalami ini .. ya sudah di tunggu update nya aja mas pati ..
sementara tak disable dulu cache youtubenya
terimah kasih mas pati infonya
Tidak usah di tunggu, langsung saja praktek. Sebelumnya baca2 di pejwan dulu :)


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 22 Apr 2013, 22:20

IlhamKav wrote:saya udah coba TestDrive nya, semua berjalan lancar kecuali youtub.
klo ngakses youtube muncul pesan "Terjadi Kesalahan, Coba lagi Nanti"
kayak gitu terus.
Mohon koreksinya mas Pragola, kesalahannya dimana?
saya pake LUSCA_HEAD-r14809

+++++++++++++++++++++++++++++
ah masa mas ??
Coba pake browser versi terbaru ... dan flashplayer jg terbaru


User avatar
bellec
Posts: 104
Joined: 04 Aug 2011, 02:07
Location: indonesia

Post by bellec » 22 Apr 2013, 22:45

saya sudah coba Test Drivenya
tapi hasilnya tcp_swapfail_miss
kenapa itu mas ?
akhirnya clear cache, sampai sekarang
alhamdulillah sukses, belum tau nanti..
sebelumnya terimakasih Mas Pragola_Pati $ SyaifuddinJW


User avatar
sawitbahar
Posts: 41
Joined: 04 Apr 2013, 17:51
Location: jambi

Post by sawitbahar » 22 Apr 2013, 22:47

@Pragola

mzz klu perintah hapus squid yg lama terus mau instal squid yg baru..Perintah apa mzz....


User avatar
sawitbahar
Posts: 41
Joined: 04 Apr 2013, 17:51
Location: jambi

Post by sawitbahar » 22 Apr 2013, 22:48

mau icip" squid3.Head mzz


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 22 Apr 2013, 23:09

@SawitBahar
sawitbahar wrote:@Pragola
mzz klu perintah hapus squid yg lama terus mau instal squid yg baru..Perintah apa mzz....
Itu di pejwan sudah ada :)
1. squid -k shutdown
2. masuk ke dir tempat anda install squid lama, jalankan cli =
make uninstall
make clean
3. Jika squid baru nantinya menggunakan init script yang berbeda, remove daemon init scrip squid lama dengan cli =
update-rc.d -f squid remove

@SJW
r25 jalan bagus di tproxy berikut zph juga :D
Ini sedang saya pakai sekarang, tapi kok rasanya lebih responsif squid-2.7.STABLE9, bumbunya kurang ya pakde ?


User avatar
zagi
Posts: 11
Joined: 03 Apr 2013, 00:45
Location: indonesia
Contact:

Post by zagi » 22 Apr 2013, 23:36

Ass.abang2 Fui bagaimana ya cara instal squid 3.head di ubuntu 11.04.??tolong pencerahannya udah 3 malam begadang belum menemukan hasil dan gogling pun gk ketemu tut nya..


User avatar
zagi
Posts: 11
Joined: 03 Apr 2013, 00:45
Location: indonesia
Contact:

Post by zagi » 22 Apr 2013, 23:37

Ass.abang2 Fui bagaimana ya cara instal squid 3.head di Ubuntu 11.04.??tolong pencerahannya udah 3 malam begadang belum menemukan hasil dan gogling pun gk ketemu tut nya..


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 22 Apr 2013, 23:40

bellec wrote:...
tapi hasilnya tcp_swapfail_miss
kenapa itu mas ?
akhirnya clear cache, sampai sekarang
alhamdulillah sukses, belum tau nanti..
...
text-book bilang =
Squid found a valid copy of the requested resource but failed to load
it from disk. Squid then sent the request to the origin server as though it were a cache miss

Untuk Lusca sebenarnya tdk perlu clear-cache, cukup dengan me-rename file /var/log/squid/swap.state.* lalu jalankan squid -z sehingga squid membuat lagi file swap.state.*. Dengan cara tsb, waktu pakai lusca saya bisa menghindari tcp_swap_fail.
Tapi kalau di squid-2.7.STABLE9 dengan perintah squid -z, squid tetap menggunakan swap.state.* yang lama dan tdk ada tcp_swap_fail.


User avatar
zagi
Posts: 11
Joined: 03 Apr 2013, 00:45
Location: indonesia
Contact:

Post by zagi » 22 Apr 2013, 23:44

Ass.abang2 Fui bagaimana ya cara instal squid 3.head di Ubuntu 11.04.??tolong pencerahannya udah 3 malam begadang belum menemukan hasil dan gogling pun gk ketemu tut nya..


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 22 Apr 2013, 23:51

Pragola_Pati wrote:jangan-lah ... tambah mumet saya :D
saya lihat banyak rekan yang masih kesulitan menentukan pilihan versi Ubuntu.

##ps
Saya sudah coba2 bikin virtualisasi dengan opnvz, tapi stuck di template-nya :confused:
Saya juga sudah cobakan r25 di TProxy (squid-2.7.STABLE9 mesin ubuntu 10.04), saya stuck di zph mangle -nya.
kapan kapan ngoprek bareng pakde, siapkan komputer yang sanggup di bebani 2 virtual :D


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 22 Apr 2013, 23:51

300784 wrote:Ass.abang2 Fui bagaimana ya cara instal squid 3.head di Ubuntu 11.04.??tolong pencerahannya udah 3 malam begadang belum menemukan hasil dan gogling pun gk ketemu tut nya..
1. Saya amati banyak rekan yang masih kurang memahami pemilihan versi ubuntu untuk mesin proxy-nya. Saran saya, selalu gunakan yang LTS (10.04.4 LTS atau 12.04.2 LTS) dan sesuaikan dengan platform Hardware anda (32 bit atau 64 bit). Jadi misalnya 12.04.2 LTS, ubuntu menyedian 2 jenis berdasarkan platform Hardware-nya, yaitu Ubuntu 12.04.2 intel/32 bit dan Ubuntu 12.04.2 amd/64 bit.

2. Tut 3.HEAD, ada di halaman atas. Coba anda cermati lagi, nanti akan ketemu postingan mas Syafuddin JW.

@SJW
Saya siapkan HDD dulu, nanti saya kabari De :)


User avatar
SyaifuddinJW
Posts: 152
Joined: 22 Feb 2010, 10:59
Contact:

Post by SyaifuddinJW » 23 Apr 2013, 00:01

Pragola_Pati wrote: @SJW
Saya siapkan HDD dulu, nanti saya kabari De :)
saya boleh ajak rekan yg di pati?? yg sepertinya pakde juga pernah kenal :D

eh ya gimana kalau sekaligus acara temu linux pati yo pakde


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 23 Apr 2013, 00:09

SyaifuddinJW wrote:saya boleh ajak rekan yg di pati?? yg sepertinya pakde juga pernah kenal :D
Monggo makin banyak makin rame :D
SyaifuddinJW wrote:eh ya gimana kalau sekaligus acara temu linux pati yo pakde
Yang ini entar dulu lah, sambil jalan kita diskusikan.


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 23 Apr 2013, 05:32

[size:17pt]logfile_rotate[/size] Ternyata jika kita melakukan upil2 squid, opsi logfile_rotate tidak secara otomatis masuk kedalam logrotate system Ubuntu yaitu yang terletak di dir /etc/logrotate.d. Untuk memasukkan-nya ke dalam logrotate system =

Code: Select all

# nano /etc/logrotate.d/squid
Masukkan skrip di bawah ini =

Code: Select all

/var/log/squid/access.log /var/log/squid/yt.log {
        daily
        rotate 1
        copytruncate
        compress
        notifempty
        missingok
}
Lalu jalankan CLI

Code: Select all

# /usr/sbin/logrotate -vf /etc/logrotate.d/squid
###atau###
# logrotate -vf /etc/logrotate.d/squid
Di tempat saya outputnya seperti di bawah ini =
root@warnetersa:/etc/logrotate.d# logrotate -vf /etc/logrotate.d/squid
reading config file /etc/logrotate.d/squid
reading config info for /var/log/squid/access.log /var/log/squid/yt.log

Handling 1 logs

rotating pattern: /var/log/squid/access.log /var/log/squid/yt.log forced from command line (1 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/squid/access.log
log needs rotating
considering log /var/log/squid/yt.log
log needs rotating
rotating log /var/log/squid/access.log, log->rotateCount is 1
dateext suffix '-20130423'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
renaming /var/log/squid/access.log.1.gz to /var/log/squid/access.log.2.gz (rotatecount 1, logstart 1, i 1),
renaming /var/log/squid/access.log.0.gz to /var/log/squid/access.log.1.gz (rotatecount 1, logstart 1, i 0),
old log /var/log/squid/access.log.0.gz does not exist
copying /var/log/squid/access.log to /var/log/squid/access.log.1
truncating /var/log/squid/access.log
compressing log with: /bin/gzip
removing old log /var/log/squid/access.log.2.gz
rotating log /var/log/squid/yt.log, log->rotateCount is 1
dateext suffix '-20130423'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
renaming /var/log/squid/yt.log.1.gz to /var/log/squid/yt.log.2.gz (rotatecount 1, logstart 1, i 1),
renaming /var/log/squid/yt.log.0.gz to /var/log/squid/yt.log.1.gz (rotatecount 1, logstart 1, i 0),
old log /var/log/squid/yt.log.0.gz does not exist
copying /var/log/squid/yt.log to /var/log/squid/yt.log.1
truncating /var/log/squid/yt.log
compressing log with: /bin/gzip
removing old log /var/log/squid/yt.log.2.gz
Jika kita periksa isi dari dir log =

Code: Select all

root@warnetersa:/etc/logrotate.d# ls -lah /var/log/squid
total 26M
drwxrwxrwx  2 proxy proxy 4,0K 2013-04-23 05:01 .
drwxr-xr-x 24 root  root  4,0K 2013-04-22 06:37 ..
-rw-r-----  1 proxy proxy    0 2013-04-23 05:01 access.log
-rw-r-----  1 proxy proxy 9,5K 2013-04-23 05:01 access.log.1.gz
-rw-r-----  1 proxy proxy  12M 2013-04-23 04:57 swap.state.00
-rw-r-----  1 proxy proxy  14M 2013-04-23 04:01 swap.state.01
-rw-r-----  1 proxy proxy    0 2013-04-23 05:01 yt.log
-rw-r-----  1 proxy proxy 7,1K 2013-04-23 05:01 yt.log.1.gz
Tags yang berhubungan dengan log, yang saya pakai di squid.conf =
access_log /var/log/squid/yt.log squid1 yutub
cache_swap_log /var/log/squid/swap.state
cache_access_log /var/log/squid/access.log
cache_log /dev/null
cache_store_log /dev/null
logfile_rotate 0


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 23 Apr 2013, 08:09

@ mas pragola : makasih tut nya.
Kira2 efek paling signifikan kalo udh dikonfigurasi ky di atas jd seperti apa ya gambaran singkatnya?
Thq terus mau brbagi


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 23 Apr 2013, 09:58

Yang saya sampaikan itu bukan tut :) Didasarkan pada kekawatiran pribadi saja. Setelah beberapa hari, saya lihat volume access.log dan yt.log naik secara signifikan karena tag logfile_rotate tidak berdampak pada access.log dan yt.log.
Intinya, saya tidak ingin squid terbebani log. Makanya log2 yang tdk diperlukan saya disable (/dev/null = disable), dan yang ter-logging saya rotate dalam periode yang pendek (daily).
cmiiw :)


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 23 Apr 2013, 10:07

oh, itu kalo blum diedit sesuai upil yg skarang brarti yg log rotate belum fungsi ya bos?


User avatar
cah_clacap
Posts: 258
Joined: 19 Mar 2013, 23:07
Location: Cilacap
Contact:

Post by cah_clacap » 23 Apr 2013, 10:13

@ mas pragola: berarti yg
logfile_rotate diisi 0 atau 1 pd configurasinya bos? Sbb sy lihat td di config 0 dan yg diedit lewat nano tadi nilainya 1?
Mohon diberi penjelasan sy boz biar tambah paham. Thq


User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Post by q_p » 23 Apr 2013, 10:31

cah_clacap wrote:@ mas pragola: berarti yg
logfile_rotate diisi 0 atau 1 pd configurasinya bos? Sbb sy lihat td di config 0 dan yg diedit lewat nano tadi nilainya 1?
Mohon diberi penjelasan sy boz biar tambah paham. Thq
squid punya cara tersendiri untuk mengurus rotasi file2 log-nya yaitu melalui tag logfile_rotate. Sedangkan Ubuntu sebagai OS-nya pengaturannya ada di /etc/logrotate.conf dan di dir /etc/logrotate.d. Dalam kasus saya di atas, urusan rotasi "log-nya squid" saya serahkan ke system ubuntu saja.
cmiiw :)


User avatar
sawitbahar
Posts: 41
Joined: 04 Apr 2013, 17:51
Location: jambi

Post by sawitbahar » 23 Apr 2013, 11:01

Waduhhhh...???????

kirain udh Hit yusubnya........

lantaran ada partial hit

Ngk tahu nya....

Misss...misss....dan TCP_Missss

Jungkir balik sambil ngakak....

Jgn putus asa ulangi dari awal...


User avatar
FirmanIdiotique
Posts: 18
Joined: 13 Mar 2013, 13:00
Location: Cikarang, Bekasi
Contact:

Post by FirmanIdiotique » 23 Apr 2013, 11:14

Mass, mau tanya lagi nih,,,
punya saya yusub nya play 144p terus ya, tapi awal nya aj, kesana nya pindah
jadi nya yusub nya TCP_MISS terus...
padahal blm di utak atik lagi sampe skarang....
hadooohhhh,,,
knapa ya... :confused:


User avatar
madara07
Posts: 79
Joined: 23 Apr 2013, 08:13

Post by madara07 » 23 Apr 2013, 12:52

tolong dunk instal lusca mule awal intal sampe dengan strourl.pl dan squid.confnya, karena sya banyak menemukan di beberapa blog tidak ada yg berfungsi, nah di pagewan atas, tutor disaat recompile membingungkan sekalai ,mohon bantuannya y all bro


User avatar
zagi
Posts: 11
Joined: 03 Apr 2013, 00:45
Location: indonesia
Contact:

Post by zagi » 23 Apr 2013, 13:06

wget http://www.squid-cache.org/Versions/v3/ ... 760.tar.gz

tar xzvf squid-3.HEAD-20130417-r12760.tar.gz

cd squid-3.HEAD-20130417-r12760

apt-get install devscripts build-essential openssl libssl-dev fakeroot libcppunit-dev libsasl2-dev cdbs

./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/squid3 --sysconfdir=/etc/squid3 --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --datadir=/usr/share/squid3 --infodir=/usr/share/info --mandir=/usr/share/man --disable-dependency-tracking --enable-storeio=ufs,aufs,diskd --enable-removal-policies=lru,heap --enable-icmp --enable-esi --enable-icap-client --disable-wccp --disable-wccpv2 --enable-kill-parent-hack --enable-cachemgr-hostname=TProxy --enable-ssl --enable-cache-digests --enable-linux-netfilter --enable-follow-x-forwarded-for --enable-x-accelerator-vary --enable-zph-qos --with-default-user=proxy --with-logdir=/var/log/squid3 --with-pidfile=/var/run/squid3.pid --with-large-files --enable-ltdl-convenience --with-filedescriptors=65536 --enable-ssl --enable-ssl-crtd --disable-auth --build=i486-linux-gnu build_alias=i486-linux-gnu

make

make install

squid -v

selanjutnya tinggal pasang squid config yg di google code dan jangan lupa store-idnya juga jangan lupa untuk "apt-get install libfile-readbackwards-perl"



http://wiki.squid-cache.org/ConfigExamp ... /LinuxDnat

mas setelah menjalankan tut diatas file squid kok gk ada mas di init.d tolong pencerah nya??apakah sama caranya sama dengan squid 27stable9....


User avatar
pluto01
Posts: 58
Joined: 27 Mar 2013, 20:15

Post by pluto01 » 23 Apr 2013, 13:07

@ madara07
Bingungnya dibagian mananya yach gan ?
dan sedikit info itu dipejwan bukan step by step install lusca namun cara untuk Recompile.

Dan harusnya untuk install lusca ga ribet2 amat ko yg agak membutuhkan pengalaman dan pengetahuan sedikit yaitu mengoptimalkannya bagaimana agar siproxy dapat bekerja sesuai kebutuhan kita dengan seoptimal mungkin..


Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests