ajar aku para master buat proxy di ubuntu server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

ajar aku para master buat proxy di ubuntu server

Postby mallink » 24 Feb 2013, 23:58

gi mana sih cara buat proxy diubuntu server 12.10.?
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 25 Feb 2013, 15:35

Image



ini salah di mana om
User avatar
Alvio
Posts: 13
Joined: 31 Dec 2011, 08:16

Re: ajar aku para master buat proxy di ubuntu server

Postby Alvio » 25 Feb 2013, 16:09

gambare kecil banget... mumet... squid.conf digelar aja dulu..
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 25 Feb 2013, 16:12

server@server:~/LUSCA_HEAD-r14809$ sudo make &&
> sudo make install
[sudo] password for server:
make: *** No targets specified and no makefile found. Stop.
server@server:~/LUSCA_HEAD-r14809$
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby blackshirt » 26 Feb 2013, 05:07

kenapa gak install dari repository saja ?? yang sudah jadi tinggal install dan tidak perlu compile-compile
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby sipelaut » 26 Feb 2013, 10:45

vote untuk @blackshirt
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 26 Feb 2013, 12:04

blackshirt wrote:kenapa gak install dari repository saja ?? yang sudah jadi tinggal install dan tidak perlu compile-compile




caranya gi mana om
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby sipelaut » 26 Feb 2013, 14:33

User avatar
budi11
Posts: 97
Joined: 01 Dec 2012, 19:56
Location: Magetan
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby budi11 » 26 Feb 2013, 14:38

mallink wrote:server@server:~/LUSCA_HEAD-r14809$ sudo make &&
> sudo make install
[sudo] password for server:
make: *** No targets specified and no makefile found. Stop.
server@server:~/LUSCA_HEAD-r14809$

Kalau buat belajaran pakai paket squid3 yang standar aja dulu.
apt-get install squid3 :grin:
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 27 Feb 2013, 04:20

root@server:/etc/init.d# squid -f /etc/squid/squid.conf -z
2013/02/27 04:17:02| parseConfigFile: squid.conf:144 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:145 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:146 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:147 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:148 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:149 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:150 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:151 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:154 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:155 unrecognized: '(get_video\?|videoplayback\?id|videoplayback.*id|videodownlo ad\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:156 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:157 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:158 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:159 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:160 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:161 unrecognized: '^.*(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|ad vertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractiv e\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:162 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:163 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.uk)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:164 unrecognized: 'ytimg\.com.*\.jpg'
2013/02/27 04:17:02| parseConfigFile: squid.conf:165 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:166 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:167 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:168 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:169 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:170 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:171 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:172 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:175 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:176 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:177 unrecognized: 'static\.ak\.fbcdn\.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:178 unrecognized: '^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:181 unrecognized: '^http:\/\/apps.facebook.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:182 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:183 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:184 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:185 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:186 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:187 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:190 unrecognized: '^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zi p|flv|wmv|3gp|mp(4|3)|exe|msi|zip)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:193 unrecognized: '\.rapidshare.*\/[0-9]*\/.*\/[^\/]*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:194 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:195 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:196 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:197 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:198 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:199 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:200 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:202 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:203 unrecognized: 'ytimg\.com.*\.(jpg|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:204 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:205 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:206 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:207 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:208 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:209 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:210 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:211 unrecognized: '\.macromedia.com.*\.(z|exe|cab)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:214 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:215 unrecognized: '^.*(streamate.doublepimp.com.*\.js\?|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|doublecl ick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:218 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:219 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:220 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:221 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:222 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:224 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:225 unrecognized: '^gopher:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:226 unrecognized: '^ftp:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:227 unrecognized: '.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:268 unrecognized: 'n_aiops_threads'
2013/02/27 04:17:02| parseConfigFile: squid.conf:269 unrecognized: 'load_check_stopen'
2013/02/27 04:17:02| parseConfigFile: squid.conf:270 unrecognized: 'load_check_stcreate'
2013/02/27 04:17:02| parseConfigFile: squid.conf:271 unrecognized: 'download_fastest_client_speed'
2013/02/27 04:17:02| ACL name 'all' not defined!
FATAL: Bungled (null) line 180: http_reply_access allow all
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
User avatar
buzzing_bee
Posts: 1971
Joined: 29 Dec 2010, 21:53
Location: /tmp
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby buzzing_bee » 27 Feb 2013, 05:14

Tampilkan
mallink wrote:root@server:/etc/init.d# squid -f /etc/squid/squid.conf -z
2013/02/27 04:17:02| parseConfigFile: squid.conf:144 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:145 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:146 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:147 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:148 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:149 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:150 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:151 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:154 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:155 unrecognized: '(get_video\?|videoplayback\?id|videoplayback.*id|videodownlo ad\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:156 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:157 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:158 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:159 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:160 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:161 unrecognized: '^.*(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|ad vertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractiv e\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:162 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:163 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.uk)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:164 unrecognized: 'ytimg\.com.*\.jpg'
2013/02/27 04:17:02| parseConfigFile: squid.conf:165 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:166 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:167 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:168 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:169 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:170 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:171 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:172 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:175 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:176 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:177 unrecognized: 'static\.ak\.fbcdn\.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:178 unrecognized: '^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:181 unrecognized: '^http:\/\/apps.facebook.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:182 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:183 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:184 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:185 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:186 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:187 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:190 unrecognized: '^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zi p|flv|wmv|3gp|mp(4|3)|exe|msi|zip)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:193 unrecognized: '\.rapidshare.*\/[0-9]*\/.*\/[^\/]*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:194 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:195 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:196 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:197 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:198 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:199 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:200 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:202 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:203 unrecognized: 'ytimg\.com.*\.(jpg|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:204 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:205 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:206 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:207 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:208 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:209 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:210 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:211 unrecognized: '\.macromedia.com.*\.(z|exe|cab)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:214 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:215 unrecognized: '^.*(streamate.doublepimp.com.*\.js\?|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|doublecl ick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:218 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:219 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:220 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:221 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:222 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:224 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:225 unrecognized: '^gopher:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:226 unrecognized: '^ftp:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:227 unrecognized: '.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:268 unrecognized: 'n_aiops_threads'
2013/02/27 04:17:02| parseConfigFile: squid.conf:269 unrecognized: 'load_check_stopen'
2013/02/27 04:17:02| parseConfigFile: squid.conf:270 unrecognized: 'load_check_stcreate'
2013/02/27 04:17:02| parseConfigFile: squid.conf:271 unrecognized: 'download_fastest_client_speed'
2013/02/27 04:17:02| ACL name 'all' not defined!
FATAL: Bungled (null) line 180: http_reply_access allow all
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.


sory ya..kenapa malah jadi nyampah gini??
jelasin dulu awalnya ngapain kok bisa sampe kayak gitu :D

coba cek algi script squid.conf

itu kan juga udah dijelasin,contoh:
2013/02/27 04:17:02| parseConfigFile: squid.conf:144 unrecognized: '-i'


cek baris 144 itu ada parameter yg gak dikenalin dalam hal ini "-i"

============================
cuma saran aja bro...ente kalo di forum laen mungkin akan di banned...coba sabar dulu, jelasin detailnya kenapa bisa dapet error kayak gitu...gak langsung marah2, gak sabaran, akhirnya nge-junk :D

disini kita semua belajar, saling ngingetin :D


PEACE :D
User avatar
kulinuxer
Posts: 107
Joined: 04 Apr 2012, 15:37
Location: subang,karawang,indonesia
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby kulinuxer » 27 Feb 2013, 08:11

ISTIGFAR Mas,bee :grin:

buzzing_bee wrote:
Tampilkan
mallink wrote:root@server:/etc/init.d# squid -f /etc/squid/squid.conf -z
2013/02/27 04:17:02| parseConfigFile: squid.conf:144 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:145 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:146 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:147 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:148 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:149 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:150 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:151 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:154 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:155 unrecognized: '(get_video\?|videoplayback\?id|videoplayback.*id|videodownlo ad\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:156 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:157 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:158 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:159 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:160 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:161 unrecognized: '^.*(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|ad vertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractiv e\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:162 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:163 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.uk)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:164 unrecognized: 'ytimg\.com.*\.jpg'
2013/02/27 04:17:02| parseConfigFile: squid.conf:165 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:166 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:167 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:168 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:169 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:170 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:171 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:172 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:175 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:176 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:177 unrecognized: 'static\.ak\.fbcdn\.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:178 unrecognized: '^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:181 unrecognized: '^http:\/\/apps.facebook.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:182 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:183 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:184 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:185 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:186 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:187 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:190 unrecognized: '^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zi p|flv|wmv|3gp|mp(4|3)|exe|msi|zip)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:193 unrecognized: '\.rapidshare.*\/[0-9]*\/.*\/[^\/]*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:194 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:195 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:196 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:197 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:198 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:199 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:200 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:202 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:203 unrecognized: 'ytimg\.com.*\.(jpg|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:204 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:205 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:206 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:207 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:208 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:209 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:210 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:211 unrecognized: '\.macromedia.com.*\.(z|exe|cab)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:214 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:215 unrecognized: '^.*(streamate.doublepimp.com.*\.js\?|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|doublecl ick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:218 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:219 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:220 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:221 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:222 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:224 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:225 unrecognized: '^gopher:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:226 unrecognized: '^ftp:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:227 unrecognized: '.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:268 unrecognized: 'n_aiops_threads'
2013/02/27 04:17:02| parseConfigFile: squid.conf:269 unrecognized: 'load_check_stopen'
2013/02/27 04:17:02| parseConfigFile: squid.conf:270 unrecognized: 'load_check_stcreate'
2013/02/27 04:17:02| parseConfigFile: squid.conf:271 unrecognized: 'download_fastest_client_speed'
2013/02/27 04:17:02| ACL name 'all' not defined!
FATAL: Bungled (null) line 180: http_reply_access allow all
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.


sory ya..kenapa malah jadi nyampah gini??
jelasin dulu awalnya ngapain kok bisa sampe kayak gitu :D

coba cek algi script squid.conf

itu kan juga udah dijelasin,contoh:
2013/02/27 04:17:02| parseConfigFile: squid.conf:144 unrecognized: '-i'


cek baris 144 itu ada parameter yg gak dikenalin dalam hal ini "-i"

============================
cuma saran aja bro...ente kalo di forum laen mungkin akan di banned...coba sabar dulu, jelasin detailnya kenapa bisa dapet error kayak gitu...gak langsung marah2, gak sabaran, akhirnya nge-junk :D

disini kita semua belajar, saling ngingetin :D


PEACE :D
User avatar
sr_aja
Posts: 597
Joined: 10 Dec 2012, 11:21
Location: Jakarta

Re: ajar aku para master buat proxy di ubuntu server

Postby sr_aja » 27 Feb 2013, 10:41

@mallink;
prepare dulu sebelum melakukan sesuatu

1) install squid dari repository.
kenapa?
aplikasi "apt-get" di buat untuk keperluan memudahkan proses instalasi.

2) jika ingin melakukan instalasi dari source code;
baca "Readme" file yg umum nya di sertakan dalam setiap source code. biasanya akan berguna pada saat ada tambahan "option" lain nya.

default configurasi yang di sertakan pada saat instalasi dari apt-get, sudah dapat berjalan dengan sempurna, umum nya hanya menyesuaikan pada bagian kelas network dan ip server squid.

=================================================================
dari postingan ente pada #128361

terlihat banyak sekali error yg ada pada squid.conf nya.
saran gw, gunakan configurasi default dari squid dulu, baru kemudian tune up sedikit demi sedikit :D

kenali option2 yang ada di squid.conf "acl round robin dan sejenisnya"
baru kemudian anda gunakan, jika tidak mengetahui maksud dari option2 tersebut, sebaiknya jangan di gunakan, karena akibatnya adalah seperti ini; terlalu banyak error yg tidak anda ketahui :D.

oh iye.. ada satu kalimat yg gw inget dan sering di lontarkan para senior dulu; "please read your Manual Book before asking"

intinya seh; iqro'
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 27 Feb 2013, 11:55

soalnya om mau praktek akhir sekolah hari senin.
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 27 Feb 2013, 13:10

2013/02/27 13:08:25| Starting Squid Cache version LUSCA_HEAD-r14809 for i686-pc-linux-gnu...
2013/02/27 13:08:25| Process ID 1529
2013/02/27 13:08:25| NOTICE: Could not increase the number of filedescriptors
2013/02/27 13:08:25| With 1024 file descriptors available
2013/02/27 13:08:25| Using epoll for the IO loop
2013/02/27 13:08:25| Performing DNS Tests...
2013/02/27 13:08:25| Successful DNS name lookup tests...
2013/02/27 13:08:25| Adding nameserver 192.168.11.11 from squid.conf
2013/02/27 13:08:25| Adding nameserver 202.134.0.155 from squid.conf
2013/02/27 13:08:25| helperOpenServers: Starting 7 'storeurl.pl' processes
2013/02/27 13:08:25| User-Agent logging is disabled.
2013/02/27 13:08:25| Referer logging is disabled.
2013/02/27 13:08:25| logfileOpen: opening log /var/log/lusca/access.log
2013/02/27 13:08:25| Unlinkd pipe opened on FD 18
2013/02/27 13:08:25| Swap maxSize 204800000 + 16384 KB, estimated 15755106 objects
2013/02/27 13:08:25| Target number of buckets: 787755
2013/02/27 13:08:25| Using 1048576 Store buckets
2013/02/27 13:08:25| Max Mem size: 16384 KB
2013/02/27 13:08:25| Max Swap size: 204800000 KB
2013/02/27 13:08:25| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2013/02/27 13:08:25| logfileOpen: opening log /var/log/lusca/store.log
2013/02/27 13:08:25| AUFS: /cache: log '/cache/swap.state' opened on FD 20
2013/02/27 13:08:25| AUFS: /cache: tmp log /cache/swap.state.new opened on FD 20
2013/02/27 13:08:25| Rebuilding storage in /cache (DIRTY)
2013/02/27 13:08:25| Using Least Load store dir selection
2013/02/27 13:08:25| Current Directory is /root
2013/02/27 13:08:25| Loaded Icons.
2013/02/27 13:08:25| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 22.
2013/02/27 13:08:25| WCCP Disabled.
2013/02/27 13:08:25| Ready to serve requests.
2013/02/27 13:08:25| WARNING: store_rewriter #1 (FD 7) exited
2013/02/27 13:08:25| WARNING: store_rewriter #2 (FD 8) exited
2013/02/27 13:08:25| WARNING: store_rewriter #3 (FD 9) exited
2013/02/27 13:08:25| WARNING: store_rewriter #4 (FD 10) exited
2013/02/27 13:08:25| Too few store_rewriter processes are running
FATAL: The store_rewriter helpers are crashing too rapidly, need help!
User avatar
sr_aja
Posts: 597
Joined: 10 Dec 2012, 11:21
Location: Jakarta

Re: ajar aku para master buat proxy di ubuntu server

Postby sr_aja » 27 Feb 2013, 13:47

ok skrg gini... switch ke MIRC..
bisa chat disana..

pertama untuk posting error yang panjang seperti ini .. usahain menggunakain spoiler;;

caranya;
seperti ini;

Tampilkan
ketik error di sini


sehingga tidak terlalu memenuhi layar;

yang kedua;
gunakan tempat bertanya sesuai dengan judul threadnya; sehingga tidak menimbulkan kesan seperti seorang spammer..

yang ketiga;
usahain setelah masalah kamu selesai, usahakan belajar bagaimana bertanya yang baik.
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 27 Feb 2013, 14:17

sr_aja wrote:ok skrg gini... switch ke MIRC..
bisa chat disana..

pertama untuk posting error yang panjang seperti ini .. usahain menggunakain spoiler;;

caranya;
seperti ini;

Tampilkan
root@server:~# lusca -f /etc/lusca/squid.conf .z
FATAL: Can't parse configuration token: '%'

Squid Cache (Version LUSCA_HEAD-r14809): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 7776 KB
Page faults with physical i/o: 0
lusca[0x80b4a84]
lusca[0x80b543f]
lusca[0x80b54b3]
lusca[0x80b54d7]
lusca[0x804d6b0]
lusca[0x804e7ce]
lusca[0x805edc5]
lusca[0x8061ba7]
lusca[0x8062705]
lusca[0x804c857]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb75734d3]
lusca[0x804d1b9]
Aborted


sehingga tidak terlalu memenuhi layar;

yang kedua;
gunakan tempat bertanya sesuai dengan judul threadnya; sehingga tidak menimbulkan kesan seperti seorang spammer..

yang ketiga;
usahain setelah masalah kamu selesai, usahakan belajar bagaimana bertanya yang baik.
User avatar
sr_aja
Posts: 597
Joined: 10 Dec 2012, 11:21
Location: Jakarta

Re: ajar aku para master buat proxy di ubuntu server

Postby sr_aja » 27 Feb 2013, 14:57

coba pakai ini;

Tampilkan
# ACCESS CONTROLS
# -----------------------------------------------------------------------------
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

# Ijinkan akses cachemgr hanya dari localhost
http_access allow manager localhost
http_access deny manager

# Ijinkan request purge hanya dari localhost
http_access allow purge localhost
http_access deny purge

# Deny request ke ports yang tidak dikenal
http_access deny !Safe_ports

# Deny CONNECT selain ke port SSL
http_access deny CONNECT !SSL_ports


# Ini adalah network LAN di kantor Anda
acl jaringan_saya src 192.168.1.0/24 192.168.2.0/24
http_access allow jaringan_saya
http_access allow localhost

# Dan akhirnya deny semua akses ke proxy ini
http_access deny all

icp_access deny all


# NETWORK OPTIONS
# -----------------------------------------------------------------------------

# Squid biasanya dijalankan di port 3128
http_port 3128


# DISK CACHE OPTIONS
# -----------------------------------------------------------------------------

# Saya alokasikan 2000 MB space harddisk
cache_dir ufs /var/spool/squid 2000 16 256


# LOGFILE OPTIONS
# -----------------------------------------------------------------------------
access_log /var/log/squid/access.log squid


# OPTIONS FOR TUNING THE CACHE
# -----------------------------------------------------------------------------
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320


# HTTP OPTIONS
# -----------------------------------------------------------------------------

# 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
broken_vary_encoding allow apache

# TAG: extension_methods
# Squid only knows about standardized HTTP request methods.
# You can add up to 20 additional "extension" methods here.
extension_methods REPORT MERGE MKACTIVITY CHECKOUT


# DNS OPTIONS
# -----------------------------------------------------------------------------
hosts_file /etc/hosts


# MISCELLANEOUS
# -----------------------------------------------------------------------------
coredump_dir /var/spool/squid
User avatar
mallink
Posts: 86
Joined: 24 Feb 2013, 23:50
Location: makassar
Contact:

Re: ajar aku para master buat proxy di ubuntu server

Postby mallink » 27 Feb 2013, 16:07

root@server:~# lusca -d1
2013/02/27 16:06:09| parseConfigFile: squid.conf:91 unrecognized: 'extension_methods'
2013/02/27 16:06:09| WARNING: Very large maximum_object_size_in_memory settings can have negative impact on performance
2013/02/27 16:06:09| Squid is already running! Process ID 4143
root@server:~#
User avatar
sr_aja
Posts: 597
Joined: 10 Dec 2012, 11:21
Location: Jakarta

Re: ajar aku para master buat proxy di ubuntu server

Postby sr_aja » 27 Feb 2013, 16:34

ok;untuk error;

2013/02/27 16:06:09| parseConfigFile: squid.conf:91 unrecognized: 'extension_methods'

solusinya; cari baris;
extension_methods REPORT MERGE MKACTIVITY CHECKOUT


trus tambahkan tanda "#" di depan nya, jadi kayak gini;
#extension_methods REPORT MERGE MKACTIVITY CHECKOUT


tanda # >> ini artinya ngak di pake.

==========================================================

untuk error;

2013/02/27 16:06:09| WARNING: Very large maximum_object_size_in_memory settings can have negative impact on performance

cari baris;
maximum_object_size_in_memory


kasih nilai 512 KB atau kasih tanda/karakter # ajah di depan nya

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 26 guests