High Performance Lusca Squid Ubuntu

Written by Bima Firewall 0 comments Posted in:
Share

Beberapa tool tambahan yang mungkin perlu anda periksa/instal:



# vi /etc/network/interfaces
# sudo ufw disable
# apt-get install nmap
 
Lakukan instalasi dependensi yang di butuhkan:

# sudo apt-get update
# sudo apt-get install squid
# sudo apt-get install squid squidclient squid-cgi
# sudo apt-get install gcc
# sudo apt-get install build-essential
# sudo apt-get install sharutils
# sudo apt-get install ccze
# sudo apt-get install libzip-dev
# sudo apt-get install automake1.9
# sudo apt-get install multitail
# sudo apt-get install unzip
# sudo apt-get install acpid 
 
Download LUSCA_HEAD-r14809: 
 
# cd /tmp
# tar -xvjf LUSCA_HEAD-r14809-patch.tar.bz2
# cd LUSCA_HEAD-r14809
Compile, configure dan install Lusca Squid dengan perintah berikut:
# make clean
./configure --prefix=/usr --exec_prefix=/usr --bindir=/usr/sbin --sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid \
--localstatedir=/var/spool/squid --datadir=/etc/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
# sudo make install
Konfigurasi dan Tunnelling Lusca Squid :
# cd /etc/squid
# mv squid.conf squid.conf.original
# unzip squid.conf.ubuntu.zip
# mv squid.conf.ubuntu squid.conf
# tar -xvzf storeurl.pl.tar.gz
# chown proxy:proxy /cache1
# chown proxy:proxy /cache2
# chmod 777 /cache1
# chmod 777 /cache2
# chown proxy:proxy /etc/squid/storeurl.pl
# chmod 777 /etc/squid/storeurl.pl
Membuat folder-folder swap/cache di dalam folder cache yang telah ditentukan dengan perintah:
# squid -f /etc/squid/squid.conf -z
Periksa konfigurasi squid
squid -NDd1 &
Jika tidak terdapat error jalankan squid:
# sudo /etc/init.d/squid restart
Reboot/restart CPU Ubuntu anda
# shutdown -r now   
sumber : indoit.web.id 
   
 

0 comments:



:)) :)] ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} ~x( :-t b-( :-L x( =))

Post a Comment

Powered by Blogger.

Komentar