Link Donload UBUNTU : http://ubuntu.pesat.net.id/releases/...erver-i386.iso
Quote:
Bahan-bahan : - Ubuntu 10.10 - Ip proxy 192.168.3.1 - Gatewai 192.168.3.254 - Ip mikrotik ke arah proxy 192.168.3.254/24 - Ram 1 GB - HDD Sata 250 GB |
Quote:
Download dulu di sini : http://untuk-kamu.googlecode.com/fil...01.01.2011.rar |
Quote:
# 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 |
Quote:
download lusca lewat terminal ubuntu dengan perintah : #"""wget http://untuk-kamu.googlecode.com/files/LUSCA_FMI.tar.gz"""# kredit unt Bung NEO lalu ekstrak dan masuk ke foldernya : # tar xzvf LUSCA_FMI.tar.gz # cd LUSCA_FMI/ CATATAN : jika memakai ubuntu 64bit lakukan perintah ini #---------> make distclean ok..!! sekarang dimulai tahap compile nya : ./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-http-gzip --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 selanjutnya, ketik perintah berikut di terminal ubuntu: # make # sudo make install |
Quote:
Edit squid.conf agar perintah sudo /etc/init.d/squid stop jalan di ubuntu 10.10 #copy file squid yg ada di folder tunning ke /etc/init.d/ jgn lupa di : #sudo chmod +x /etc/init.d/squid # stop dulu squidnya : sudo /etc/init.d/squid stop #paste file squid.conf dan storeur.pl yg di download tadi kedalam folder /etc/squid |
Code:
# Memberikan permission pada folder cache chown proxy:proxy /cache1 chown proxy:proxy /cache2 chown proxy:proxy /cache3 chmod 777 /cache1 chmod 777 /cache2 chmod 777 /cache3 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 dg perintah : squid -f /etc/squid/squid.conf -z # Restart squid sudo /etc/init.d/squid restart Reboot CPU nya...
Ref : FMI
No comments:
Post a Comment