IKLAN

Pelatihan
&
Jasa Setting Proxy High Perfomance

Di Jamin Youtube tercache & Game online terupdate cepat
  • Pelatihan & Setting On the site
Mobile Phone:085868788968
Pin BB:52595EA2
BUTUH MOBIL BARU/BEKAS?

DP minimal 30 % dari harga mobil baru atau bekas. Syarat untuk karyawan/pns: Fotokopi KTP pemohon, Kartu Keluarga, Rincian Gaji, Rekening Listrik, Surat/Akta nikah, Telepon, PDAM, PBB, Rekening Tabungan & NPWP
Syarat untuk wiraswata:Plus SIUP/TDP, Laporan keuangan terakhir
Contact Person : Eka (082227594993)
Pin BB : 52595EA2

Jasa Pembuatan RT RW Net dan Warnet

Modal Hanya 5 JT-an..!!!

Meliputi:

=>Radio Access Point TP-LINK

=>Antena OMNI

=>Pigtail

=>Kabel UTP 25 meter

=>CPU P3 Mikrotik 2nd, CPU Dual COre Proxy Server 2nd dan Tower 3 Pipa Galvanis

Keuntungan

=>Lebih Murah dalam 1 paket komplit

=>RT/RW-Net Siap Pakai

=>PJK akan membantu promosi

Call/SMS = 085868788968
Pin BB :52595EA2


SEWA MOBIL PEKALONGAN DAN BATANG
Sewa/Carter Mobil Dalam Kota / Luar Kota (Se-Jawa) + Sopir.
Hubungi: Eka HP: 085868788968 / 082227594993
Pin BB : 52595EA2
Alamat:
Jl. Akasia Raya No.5 Perumahan Kalisalak Batang
Jl. Trapesium 3 No.15 Perumahan Limas Indah Pekalongan


SPACE INI DI SEWAKAN UNTUK IKLAN

Hubungi :

Mobile Phone:085868788968
Pin BB:52595EA2




Popular Posts

Membuat Proxy Squid Lusca Dengan Ubuntu 10.04

1. Booting Komputer dengan CD
2. Pilih Language English, Enter
3. Pilih Install Ubuntu Server, Enter
4. Tekan Enter pada “Select a Language” English
5. Tekan Enter pada “Select a Language” United States
6. Pilih No pada “Detected Keyboard Layout
7. Pilih USA pada origin of the keyboard
8. Pilih USA pada keyboard layout 
9. Pilih Continue pada “Configure The Network
10. Pilih “Configure Network Manually
11. Isi ip address dengan 192.168.*.* pilih “Continue” lalu tekan Enter
12. Netmask 255.255.255.0 pilih “Continue” lalu tekan Enter
13. Pada Gateway 192.168.*.* pilih “Continue” lalu tekan Enter
14. Pada Name Server Address sudah terdapat IP 192.168.*.* pilih “Continue” lalu tekan Enter
15. Hostname isi dengan : server terus pilih “Continue” lalu tekan Enter
16. Domain name kosongkan saja, pilih “Continue” lalu tekan Enter
17. Pada pilihan “Configure The Clock” pilih Select From Wordwide List terus cari Jakarta lalu tekan Enter
18. Pada menu “Partition Disk” pilih Manual  
19. Kita hapus partisi lama dulu jika hardisk pernah dipakai :  
- Pilih #1 primary …. Yang akan dihapus, tekan Enter dan pilih Delete The Partition
- Ulangi perintah ini untuk semua partisi # yang tersisa
20. Arahkan ke FREESPACE- Pilih Create New Partition Enter
- Isi dengan 256 MB “Continue”   
- Primary “Continue
- Beginning “Continue
- Use as = Ext4 Journaling file system
- Mount Point = /boot – static files or the boot loader
- Bootable Flag = On
- Pilih Done setting up the partition
21. Arahkan ke FREESPACE- Pilih Create New Partition Enter
- Isi dengan 19GB “Continue
- Primary “Continue
- Beginning “Continue
- Use as = Ext4 Journaling file system
- Mount Point = /
- Mount Options = noatime
- Pilih Done setting up the partition
22. Arahkan ke FREESPACE
- Pilih Create New Partition Enter- Isi dengan 4Gb “Continue” (ini sesuai dengan RAM yg dipakai 2x RAM misal 2Gb berarti 4Gb)
- Primary “Continue
- Beginning “Continue
- Use as = swap area
- Pilih Done setting up the partition
23. Arahkan ke FREESPACE- Pilih Create New Partition Enter
- Isi dengan sisa hardisknya “Continue
- Primary “Continue
- Use as = ReiserFS untuk 32bit / btrFS untuk 64bit
- Mount Point = Enter manually rubah menjadi /cache
- Mount Options = noatime, naotail
- Pilih Done setting up the partition
24. Pilih Finish Partitioning and Write Changes to Disk, tekan Enter
25. Pada pilihan “Write The Changes Disk” Pilih YES, tekan Enter
26. Full name for the new user isi : server pilih “Continue”, tekan Enter
27. Username for your account : server pilih “Continue”, tekan Enter
28. Choose a password for the new user : 123 pilih “Continue”, tekan Enter
29. Re-enter password to verify : 123 pilih “Continue”, tekan Enter
30. Use weak password pilih “YES” tekan Enter
31. Encrypt your home directory pilih “NO” tekan Enter
32. Pada pilihan HTTP Proxy information dikosongkan saja, pilih “Continue”, tekan Enter
33. Pada saat “Configuration apt tunggu sampai program selesai membaca
34. Pada saat pilihan updating pilih “No Automatic Update” pilih “Continue”, tekan Enter
35. Pada choose software to install pilih “OpenSSH Server” dengan menekan tombol “SPACE” pada keyboard, selanjutnya pilih “Continue”, tekan Enter
36. Pada pilihan “Install GRUB Loader” pilih “YES” tekan Enter
37. Pada saat “Ejecting CD Ubuntu Server Installer” ambil CD/Flashdisk dan pilih “Continue”, tekan Enter
Dan ini langkah – langkah pengerjaan dalam proses pengerjaan proxy squid/lusca
Pertama-tama saya memasukkan perintah ini dari “file” kambing.doc
kambing.ui.ac.id (UI, Telkom, Indosat, OpenIXP, INHERENT
deb http://kambing.ui.ac.id/ubuntu lucid main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu lucid-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu lucid-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu lucid-backports main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu lucid-proposed main restricted universe multiverse
Lalu saya melakukan perintah selanjutnya dengan memasukkan perintah
¢ apt-get update
¢ apt-get upgrade
¢ apt-get dist-upgrade
¢ apt-get install squid
¢ apt-get install squid squidclient squid-cgi
¢ apt-get install -y gcc
¢ apt-get install build-essential
¢ apt-get install sharutils
¢ apt-get install ccze
¢ apt-get install libzip-dev
¢  apt-get install automake1.9
¢ reboot
Lalu saya melanjutkan keperintah selanjutnya dengan mengetik perintah ini di proxy squid/lusca
¢ cd
¢ mkdir /temp
¢ cd /temp
q  tar xzvf LUSCA_HEAD-r14809.tar.gz
q cd LUSCA_HEAD-r14809/
Lalu saya lakukan compile dari file “kambing” dengan cara copy paste yang sebagai berikut
./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-async-io=24 --with-aufs-threads=24 --with-pthreads --enable-storeio=aufs \
--enable-linux-netfilter --enable-arp-acl --enable-epoll --enable-removal-policies=heap,lru --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
Lalu saya melakukan keperintah selanjutnya dengan mengetik perintah/command sebagai berikut
¢ make
¢ make install
¢ mkdir /var/log/squid
¢ chown proxy:proxy /var/log/squid
¢ mv /etc/squid/squid.conf /etc/squid/squid.conf.1
¢ nano /etc/squid/squid.conf
¢ GANTI SQUID DEFAULTNYA !! (Saya ambil file ini dari file “squid.Conf”)
File saya lampirkan
¢ Simpan dengan CTRL + O ENTER
¢ touch /etc/squid/storeurl.pl
¢ chmod +x /etc/squid/storeurl.pl
¢ GANTI STOREURL.PL (Saya ambil file ini dari file “storeurl”)
File saya lampirkan
¢ nano /etc/squid/storeurl.pl
Lalu saya melakukan langkah-langkah selanjutnya dengan perintah/command sebagai berikut
chown proxy:proxy /cache
chmod -R  777 /cache
squid -z
chmod -R  777 /cache
squid -d1N
ps aux |grep squid
nano/etc/rc.local
squid

Contoh Satu Konfigurasi Squid Ubuntu

# Port
http_port 3128 transparent
icp_port 3130
prefer_direct off

server_http11 on

# Cache

cache_mem 8 MB
cache_swap_low 98
cache_swap_high 99
max_filedesc 8192
maximum_object_size 128 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 128 KB

ipcache_size 10240
ipcache_low 98
ipcache_high 99
fqdncache_size 4096
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

cache_dir aufs /cache 30000 16 256 # untuk partisi /cache 50GB

cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
pid_filename /var/run/squid.pid
cache_swap_log /var/log/squid/swap.state
dns_nameservers /etc/resolv.conf
emulate_httpd_log off
hosts_file /etc/hosts
half_closed_clients off
negative_ttl 1 minutes

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 873 # https snews rsync
acl Safe_ports port 80 # http
acl Safe_ports port 20 21 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 631 # cups
acl Safe_ports port 10000 # webmin
acl Safe_ports port 901 # SWAT
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 873 # rsync
acl Safe_ports port 110 # POP3
acl Safe_ports port 25 # SMTP
acl Safe_ports port 2095 2096 # webmail from cpanel
acl Safe_ports port 2082 2083 # cpanel

acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports !SSL_ports
http_access deny CONNECT !SSL_ports !Safe_ports

# pictures & images
refresh_pattern -i \.(gif|png|jpeg|jpg|bmp|tif|tiff|ico)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth ignore-private
refresh_pattern -i \.(xml|html|htm|js|txt|css|php)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth

#sound & video
refresh_pattern -i \.(flv|x-flv|mov|avi|qt|mpg|mpeg|swf)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache
refresh_pattern -i \.(wav|mp3|mp4|au|mid)$ 10080 50% 43200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth ignore-private

# files
refresh_pattern -i \.(iso|deb|rpm|zip|tar|tgz|ram|rar|bin|ppt|doc)$ 10080 90% 43200 ignore-no-cache ignore-auth
refresh_pattern -i \.(zip|gz|arj|lha|lzh)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
refresh_pattern -i \.(rar|tgz|tar|exe|bin)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
refresh_pattern -i \.(hqx|pdf|rtf|doc|swf)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth
refresh_pattern -i \.(inc|cab|ad|txt|dll)$ 10080 100% 43200 override-expire ignore-no-cache ignore-auth

# -- refresh pattern for specific sites -- #
refresh_pattern ^http://*.jobstreet.com.*/.* 720 100% 10080 override-expire override-lastmod ignore-no-cache
refresh_pattern ^http://*.indowebster.com.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth
refresh_pattern ^http://*.21cineplex.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-auth
refresh_pattern ^http://*.atmajaya.*/.* 720 100% 10080 override-expire ignore-no-cache ignore-auth
refresh_pattern ^http://*.kompas.*/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.theinquirer.*/.* 720 100% 10080 override-expire ignore-no-cache ignore-auth
refresh_pattern ^http://*.blogspot.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.wordpress.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache
refresh_pattern ^http://*.photobucket.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.tinypic.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.imageshack.us/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.kaskus.*/.* 720 100% 28800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://www.kaskus.com/.* 720 100% 28800 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.detik.*/.* 720 50% 2880 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.detiknews.*/*.* 720 50% 2880 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://video.liputan6.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://static.liputan6.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.friendster.com/.* 720 100% 10080 override-expire override-lastmod ignore-no-cache ignore-auth
refresh_pattern ^http://*.facebook.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://apps.facebook.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.fbcdn.net/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://profile.ak.fbcdn.net/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://static.playspoon.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://cooking.game.playspoon.com/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern -i http://[^a-z\.]*onemanga\.com/? 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://media?.onemanga.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.yahoo.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.google.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.forummikrotik.com/.* 720 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth
refresh_pattern ^http://*.linux.or.id/.* 720 100% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache ignore-auth

#default option
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

# ALLOWED ACCESS
acl localnet src 192.168.1.0/24 #IP lokal kamu
http_access allow localnet
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow localnet
icp_access allow localhost
icp_access deny all
always_direct deny all


cache_mgr putra.jaya.komputer@gmail.com

visible_hostname pjkwisp
cache_effective_user proxy
cache_effective_group proxy
coredump_dir /var/spool/squid
shutdown_lifetime 10 seconds
logfile_rotate 14

#-----------------------------------------------------------------#
#tcp_outgoing_tos 0x30 localnet
#-----------------------------------------------------------------#

zph_mode tos
zph_local 0x30
zph_parent 0
zph_option 136

 Kode di atas lebih baik copy dulu ke notepad.