What cpu is used
#cat /proc/cpuinfo
see cflag in accordance with existing computer installed lusca
for Intel here
for AMD here
#wget lusca-head-latest.tar.gz
Untar lusca source
#tar xzf lusca-head-latest.tar.gz
Let configure lusca
#cd lusca-head-latest
#./bootstrap.sh
#./configure –enable-http-violations –enable-gnuregex –enable-async-io=24 –with-aufs-threads=24
–with-pthreads –with-aio –with-dl –enable-storeio=aufs –enable-removal-policies=heap –enable-icmp
–enable-delay-pools –enable-htcp –disable-wccp –enable-snmp –enable-cache-digests –enable-err-languages=English –enable-default-err-language=English –enable-linux-netfilter –
disable-ident-lookups –enable-arp-acl –with-maxfd=8192 CHOST=i686-pc-linux-gnu
CFLAGS=”-march=prescott -O2 -pipe -fomit-frame-pointer”
CXXFLAGS=”-march=prescott -O2 -pipe -fomit-frame-pointer”
–with-pthreads –with-aio –with-dl –enable-storeio=aufs –enable-removal-policies=heap –enable-icmp
–enable-delay-pools –enable-htcp –disable-wccp –enable-snmp –enable-cache-digests –enable-err-languages=English –enable-default-err-language=English –enable-linux-netfilter –
disable-ident-lookups –enable-arp-acl –with-maxfd=8192 CHOST=i686-pc-linux-gnu
CFLAGS=”-march=prescott -O2 -pipe -fomit-frame-pointer”
CXXFLAGS=”-march=prescott -O2 -pipe -fomit-frame-pointer”
example above uses the cpu prescott
build lusca
#make all
install lusca
#make install
done,,