Diposting oleh

Cara Install Squid LUSCA_HEAD proxy High Performance

Diposting oleh
Cara install squid Lusca_head proxy high performance. Tak panjang lebar langsung ke titik permasalahan aja.


# cd /usr/src

# wget http://lusca-cache.googlecode.com/files/LUSCA_HEAD-r14733.tar.gz

# tar zxvf LUSCA_HEAD-r14733.tar.gz

# cd LUSCA_HEAD-r14733

# CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
./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


# make && make install

Selesai.!!

Kalau keluar pesan Please install uudecode and then re-run configure seperti code dibawah ini . Ketikkan perintah berikut ini. untuk mengatasi Please install uudecode and then re-run configure

# aptitude install autoconf automake subversion make build-essential sharutils

root@cahaya:/usr/src/LUSCA_HEAD-r14733# CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
root@cahaya:/usr/src/LUSCA_HEAD-r14733# ./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
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for pkg-config... false
With 24 aufs threads
With pthreads
With aio
With dl
Store modules built: aufs
Removal policies built: heap
Delay pools enabled
SNMP monitoring enabled
ARP ACL lists enabled (ether address)
HTCP enabled
USE_CACHE_DIGESTS enabled
Forcing epoll() to be enabled
Linux-Netfilter Transparent Proxy enabled
Large cache file support enabled
Using POSIX_V6_ILP32_OFFBIG build environment
Auth scheme modules built: basic
unlinkd disabled
checking for egrep... /bin/egrep
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for sh... /bin/sh
checking for false... /bin/false
checking for true... /bin/true
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for ln... /bin/ln
checking for perl... /usr/bin/perl
checking for ar... /usr/bin/ar
checking for uudecode... no
uudecode is required to compile Squid
Please install uudecode and then re-run configure
root@cahaya:/usr/src/LUSCA_HEAD-r14733# make
make: *** No targets specified and no makefile found.  Stop.
root@cahaya:/usr/src/LUSCA_HEAD-r14733#

squid dengan lusca
error lusca proxy

2 komentar:

  1. Blognya menarik Bang.. Banyak info-info yang berguna buat pemula seperti saya.. Thanks..

    http://jalan2hemat.blogspot.com/

    BalasHapus
  2. kok error y mas??

    BalasHapus