Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 06-19-2013, 01:15 PM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Server › Proxy Server v
« Previous 1 2 3 4 Next »

[Tutor] Compile Squid Manual to your b0x

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
Tutor Compile Squid Manual to your b0x
01-24-2011, 10:01 AM (This post was last modified: 01-24-2011 10:04 AM by chaer.newbie.)
Post: #1
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,349
Joined: Dec 2009
Reputation: 189
Compile Squid Manual to your b0x
Persiapan :

1. PC yang memenuhi spek 32 bit tentunya ane pake ubuntu serper
2. Backup squid.conf, ato ga dibackup aja biar ga ilang
3. mentahan2 squid bisa diambil di http://www.squid-cache.org/Download/


pastikan kita sudah mengingstall

Code:
sudo apt-get install gcc
sudo apt-get install build-essential

Jalankan perintah berikut di terminal untuk melihat informasi CPU ente

Code:
cat /proc/cpuinfo


untuk pengguna AMD 64 bit bisa di lihat
Code:
http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD
Terus pengguna Intel
Code:
http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel

Catat informasi CHOST dan CFLAGS nya (sesuai dengan informasi cpu tnte di ubuntu tadi), contoh gw menggunakan intel celeron M, maka gw memperoleh informasi CHOST dan CFLAGSnya

Code:
CHOST="i686-pc-linux-gnu" \
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" \
./configure --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-async-io=24 --with-aufs-threads=24 --with-pthreads --enable-storeio=aufs \
--enable-linux-netfilter --enable-arp-acl --enable-epoll --enable-removal-policies=heap --with-aio --with-dl --enable-snmp \
--enable-delay-pools --enable-htcp --enable-cache-digests --disable-unlinkd --enable-large-cache-files --with-large-files \
--enable-err-languages=English --enable-default-err-language=English --with-maxfd=65536

catetan

* diatas adalah contoh, nilai CHOST, CFLAGS sesuai dengan informasi CPU ente !
* nilai ./configure hukumnya sunnah artinya bisa sama dengan yang diatas atau jika ente ingin berkreasi ketik ./configure –help dan lihat option2 lainnya
* jangan sampai salah mengetikkan ejaan, contoh enable-err-languages menggunakan “s” sedangkan yang di enable-default-err-language tidak menggunakan “s” tanya dah ma orang bule

Install dah, ketik perintah berikut di terminal
Code:
sudo make
sudo make install

Hasilnya
[Image: compile.gif]
Refensi

http://wiki.squid-cache.org/SquidFaq/CompilingSquid
http://rhesa.itvps.org/2010/07/compile-s...di-ubuntu/
Find all posts by this user
Quote this message in a reply
01-24-2011, 10:28 AM
Post: #2
Revres Tanur Offline
Adminitraktor
Posts: 661
Joined: Mar 2010
Reputation: 20
RE: Compile Squid Manual to your b0x
waduh,, nih pasti hacker nih...
*kabur dulu*
Find all posts by this user
Quote this message in a reply
01-24-2011, 10:30 AM
Post: #3
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,349
Joined: Dec 2009
Reputation: 189
RE: Compile Squid Manual to your b0x
(01-24-2011 10:28 AM)Revres Tanur Wrote:  waduh,, nih pasti hacker nih...
*kabur dulu*

tar facebook ente ane heck tau rasa dead
Find all posts by this user
Quote this message in a reply
01-24-2011, 09:34 PM
Post: #4
Lintang27™ Offline
Pemulung Sampah
**
Moderators
Posts: 2,159
Joined: Mar 2010
Reputation: 135
RE: Compile Squid Manual to your b0x
(01-24-2011 10:01 AM)chaer.newbie Wrote:  Persiapan :

1. PC yang memenuhi spek 32 bit tentunya ane pake ubuntu serper
2. Backup squid.conf, ato ga dibackup aja biar ga ilang
3. mentahan2 squid bisa diambil di http://www.squid-cache.org/Download/


pastikan kita sudah mengingstall

Code:
sudo apt-get install gcc
sudo apt-get install build-essential

Jalankan perintah berikut di terminal untuk melihat informasi CPU ente

Code:
cat /proc/cpuinfo


untuk pengguna AMD 64 bit bisa di lihat
Code:
http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD
Terus pengguna Intel
Code:
http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel

Catat informasi CHOST dan CFLAGS nya (sesuai dengan informasi cpu tnte di ubuntu tadi), contoh gw menggunakan intel celeron M, maka gw memperoleh informasi CHOST dan CFLAGSnya

Code:
CHOST="i686-pc-linux-gnu" \
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" \
./configure --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-async-io=24 --with-aufs-threads=24 --with-pthreads --enable-storeio=aufs \
--enable-linux-netfilter --enable-arp-acl --enable-epoll --enable-removal-policies=heap --with-aio --with-dl --enable-snmp \
--enable-delay-pools --enable-htcp --enable-cache-digests --disable-unlinkd --enable-large-cache-files --with-large-files \
--enable-err-languages=English --enable-default-err-language=English --with-maxfd=65536

catetan

* diatas adalah contoh, nilai CHOST, CFLAGS sesuai dengan informasi CPU ente !
* nilai ./configure hukumnya sunnah artinya bisa sama dengan yang diatas atau jika ente ingin berkreasi ketik ./configure –help dan lihat option2 lainnya
* jangan sampai salah mengetikkan ejaan, contoh enable-err-languages menggunakan “s” sedangkan yang di enable-default-err-language tidak menggunakan “s” tanya dah ma orang bule

Install dah, ketik perintah berikut di terminal
Code:
sudo make
sudo make install

Hasilnya
[Image: compile.gif]
Refensi

http://wiki.squid-cache.org/SquidFaq/CompilingSquid
http://rhesa.itvps.org/2010/07/compile-s...di-ubuntu/

Om ini maksudnya di konfigurasi ulang squidnya ya?? wahhh kalau settingan di bongkar maning ya remuk nih server ane...... T_T Bisa jelasin ndak um kelebihannya buat apa gitu maaf newbie soal ginian.... hmm
Visit this user's website Find all posts by this user
Quote this message in a reply
01-24-2011, 09:46 PM
Post: #5
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,349
Joined: Dec 2009
Reputation: 189
RE: Compile Squid Manual to your b0x
kelebihannya kita bisa menconfigurasi sesuka kita di ./configurenya

Code:
% ./configure --help

Code:
--prefix=PREFIX         install architecture-independent files in PREFIX
                        [/usr/local/squid]
--enable-dlmalloc[=LIB] Compile & use the malloc package by Doug Lea
--enable-gnuregex       Compile GNUregex
--enable-xmalloc-debug  Do some simple malloc debugging
--enable-xmalloc-debug-trace
                        Detailed trace of memory allocations
--enable-xmalloc-statistics
                        Show malloc statistics in status page
--enable-async-io       Do ASYNC disk I/O using threads
--enable-icmp           Enable ICMP pinging and network measurement
--enable-delay-pools    Enable delay pools to limit bandwidth usage
--enable-useragent-log  Enable logging of User-Agent header
--enable-kill-parent-hack
                        Kill parent on shutdown
--enable-cachemgr-hostname[=hostname]
                        Make cachemgr.cgi default to this host
--enable-htpc           Enable HTCP protocol
--enable-forw-via-db    Enable Forw/Via database
--enable-cache-digests  Use Cache Digests
                        see http://www.squid-cache.org/Doc/FAQ/FAQ-16.html

jadi configurasinya bebas sesuka kita
Find all posts by this user
Quote this message in a reply
01-24-2011, 09:58 PM
Post: #6
zer03s Away
ExploiteR devilzc0de
Posts: 1,330
Joined: Jan 2010
Reputation: 33
RE: Compile Squid Manual to your b0x
(01-24-2011 09:46 PM)chaer.newbie Wrote:  kelebihannya kita bisa menconfigurasi sesuka kita di ./configurenya

Code:
% ./configure --help

Code:
--prefix=PREFIX         install architecture-independent files in PREFIX
                        [/usr/local/squid]
--enable-dlmalloc[=LIB] Compile & use the malloc package by Doug Lea
--enable-gnuregex       Compile GNUregex
--enable-xmalloc-debug  Do some simple malloc debugging
--enable-xmalloc-debug-trace
                        Detailed trace of memory allocations
--enable-xmalloc-statistics
                        Show malloc statistics in status page
--enable-async-io       Do ASYNC disk I/O using threads
--enable-icmp           Enable ICMP pinging and network measurement
--enable-delay-pools    Enable delay pools to limit bandwidth usage
--enable-useragent-log  Enable logging of User-Agent header
--enable-kill-parent-hack
                        Kill parent on shutdown
--enable-cachemgr-hostname[=hostname]
                        Make cachemgr.cgi default to this host
--enable-htpc           Enable HTCP protocol
--enable-forw-via-db    Enable Forw/Via database
--enable-cache-digests  Use Cache Digests
                        see http://www.squid-cache.org/Doc/FAQ/FAQ-16.html

jadi configurasinya bebas sesuka kita

gitu ya om sabar
Visit this user's website Find all posts by this user
Quote this message in a reply
01-24-2011, 10:05 PM
Post: #7
chaer.newbie Offline
--------------------------
*****
Dewa
Posts: 5,349
Joined: Dec 2009
Reputation: 189
RE: Compile Squid Manual to your b0x
iya bro
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Meningkatkan Request hit squid chaer.newbie 16 2,460 03-26-2013 07:19 PM
Last Post: Jehuda
  squid.conf chaer.newbie 40 25,581 10-31-2012 11:03 AM
Last Post: neobix
Thumbs Down [Tutor] install squid 2.7.STABLE9 dengan TPROXY-4.1 di ubuntu 10.04 revanthem 13 4,545 10-19-2012 12:46 PM
Last Post: pandak
  Cara mengatasi TCP_MISS pada Squid Ubuntu chibi 7 1,071 08-05-2012 06:48 AM
Last Post: ghosttransparentexceptnofixed
  [Tutor] squid anti iklan luthfi_dc 13 696 07-30-2012 12:14 PM
Last Post: sunafets.exe
  tuning performa squid luthfi_dc 3 441 07-30-2012 12:11 PM
Last Post: luthfi_dc
  squid.conf for Squid 3.x.x Super Moderator 24 3,357 07-26-2012 12:46 AM
Last Post: ghosttransparentexceptnofixed
  [Ask] Caching Squid easy2study 7 1,228 06-11-2012 12:18 AM
Last Post: emin
  Squid Delay Pool wahyu_devilzc0de™ 12 5,855 03-27-2012 06:28 PM
Last Post: agam atjoeng
Exclamation [Ask] Setting Bandwidth dengan squid debian lenny ? fauzanrahman03 13 3,000 01-26-2012 05:18 PM
Last Post: Super Moderator

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 06-19-2013, 01:15 PM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE