Sabtu, 09 Februari 2013

Install Lusca on Ubuntu Server 12.04 32bit

Some time ago using lusca in ClearOS 5.2 enterprize, and then want tproxy implementation in the machine but have not found a reference. further tested on a 64bit machine ubuntu 12:10 server, now install lusca at 12:10 64bit ubuntu server first tproxynya continued later wrote :-)

turned out to be very easy to install in ubuntu lusca output in 2012
stay # apt-get install lusca is instantly so no need compile2 jg.

The order of install that I tried:
         sudo su
         apt-get update
         apt-get upgrade
         sudo aptitude install squid-cgi squidclient
         sudo aptitude install-dev sharutils libzip ccze libzip-dev build-essential automake1.9 gcc
         apt-get install lusca

The next live edit (squid.conf, etc klo storeurl.pl required)
then (providing access to ownership)
         chown proxy: proxy /cache1
         chown proxy: proxy /cache2
         chown proxy: proxy /cache3
         chown proxy: proxy /cache4

then (change the read write mode)
         chmod 777 /cache1
         chmod 777 /cache2
         chmod 777 /cache3
         chmod 777 /cache4

chown proxy:proxy /etc/lusca/squid.conf
chmod 777 /etc/lusca/squid.conf
sudo chmod 755 /etc/lusca/storeurl.pl
sudo chown-R proxy:proxy /etc/lusca/storeurl.pl
chmod  +x /etc/init.d/lusca
/etc/init.d/lusca stop
lusca -/etc/lusca/squid.conf  -z


lusca error checks
lusca-d1

/etc/init.d/lusca restart
apt-get install squidclient
squidclient mgr: info

reboot
tail-f / var / log / lusca / access.log | ccze

My link Configuration : http://code.google.com/p/file-configurasi-squid-lusca/downloads/list

Tidak ada komentar:

Posting Komentar