Pertama kita download tool yang kita perlukan :
Langkah selanjutnya :
# Update & upgrade repository
Code Script:
# Compile lusca
Code Script:
<Setelah proses selesai lanjutkan pada proses berikut>
# Copy file-file berikut dengan WinSCP
========================================
- File "squid.conf" yang telah disesuaikan ke folder: /etc/squid/
- File "storeurl.pl" ke folder: /etc/squid/
- File "squid" ke folder: /etc/init.d/
----------------------------------------
# Copy file-file berikut dengan WinSCP
========================================
- File "squid.conf" yang telah disesuaikan ke folder: /etc/squid/
- File "storeurl.pl" ke folder: /etc/squid/
- File "squid" ke folder: /etc/init.d/
----------------------------------------
# Memberikan izin akses kepada user squid
===========================================
chmod +x /etc/init.d/squid && /etc/init.d/squid stop
-------------------------------------------
===========================================
chmod +x /etc/init.d/squid && /etc/init.d/squid stop
-------------------------------------------
# Memberikan permission pada folder cache
===========================================
chown proxy:proxy /cache1 && chmod 777 /cache1 && chown proxy:proxy /cache2 && chmod 777 /cache2 && chown proxy:proxy /etc/squid/storeurl.pl && chmod 777 /etc/squid/storeurl.pl && chmod +x /etc/init.d/squid
-------------------------------------------
===========================================
chown proxy:proxy /cache1 && chmod 777 /cache1 && chown proxy:proxy /cache2 && chmod 777 /cache2 && chown proxy:proxy /etc/squid/storeurl.pl && chmod 777 /etc/squid/storeurl.pl && chmod +x /etc/init.d/squid
-------------------------------------------
# Membuat folder swap/cache di dalam folder cache
===================================================
/etc/init.d/squid stop
squid -f /etc/squid/squid.conf -z && /etc/init.d/squid restart
# Agar proses shutdown dapat langsung dijalankan dengan menekan tombol Power gunakan perintah berikut:
===========================================================
apt-get install acpid
------- reboot -------
#------ SELESAI ------#
Pengujian:
<browser> http://www.whatismyip.com/
<putty> tail -f /var/log/squid/access.log | ccze
1 komentar:
mas tahtacomputer...
file Squid.Conf | Storeurl.pl | Squid download disini
link nya salah. mohon di koreksi.
tks.
welly
Posting Komentar