Senin, 25 Maret 2013

UJIAN KOMPETENSI TKJ TA 2012/2013 (MEMBUAT PROXY MENGGUNAKAN PRIVOXY DI W7)



1.      Langkah pertama adalah buka casing CPU lalu pasang NIC, lalu pasang kembali

2.      Langkah selanjutnya yang harus kita lakukan adalah menginstall Windows 7
a.       Masukkan DVD Windows 7 lalu restart komputer kita
b.      Jika ada perintah seperti ini maka tekan enter

c.       Pada langkah ini yang diganti hanya time and currency format (indonesia), jika anda rasa tidak perlu maka klik next, (tidak berpengaruh)

d.      Lalu klik install now (pasang sekarang)

e.       Beri tanda centang pada lisensi tersebut (menandakan kita menyetujui persyaratan yang di ajukan windows. Lalu next


f.       Lalu klik Custom

g.      Lalu hapus partisi yang ada dan buat lagi (sebaiknya 2 partisi saja C dan D) lalu pilih tempat anda menginstallnya lalu klik next

h.      Tunggu hingga proses ini selesai (proses ini yang paling lama -+ 12 menit)

i.        Secara otomatis windwos akan merestart

j.        Anda akan dihadapkan pada tampilan awal pada saat anda menginstall (jangan anda tekan enter, karena jika anda tekan maka anda akan mengulangnya lagi dari awal), dan biarkan saja.

k.      Dan tunggu beberapa saat hingga muncul tampilan

l.        Dan tampilan seperti ini

m.    Install akan dilanjutkan secara otomatis

n.      Masukkan nama komputer anda (nama anda juga boleh, kalau dianggap perlu nama saya juga boleh “EKO SAPUTRO”), wkwkwkwk

o.      Lalu masukkan password dan dikonfirmasi (biasanya jika komputer kita bersifat pribadi diisi, tapi jika komputer sekolah maka jangan diisi kalau diisi ya pasti nanti jika orang lain ingin membuka pasti tidak tau) “saran”

p.      Lalu klik next

q.      Pilih ask me letter, lalu klik next

r.        Atur zona waktu anda (biasanya bangkok, hanoi, jakarta) klik next

s.       Dan inilah hasilnya dan saat nya saya bilang “SEMPURNA”


3.      Sementara anda menunggu proses yang saya bilang -+ 12 menit tadi, waktu tersebut bisa anda gunakan untuk menyusun kabel yang nantinya akan kita gunakan untuk menyambungkan dari server ke hub, dan client ke hub. Kabel yang digunakan adalah jenis STRAIGHT. Pemasangan urutan kabelnya adalah
Putih Orange - Orange - Putih Hijau - Biru - Putih Biru - Hijau - Putih Coklat - Coklat. Or
Putih Orange -  Orange - Putih Biru - Hijau – Putih Hijau -  Biru – Putih Coklat – Coklat.
Keduanya sama saja hanya antara ujung satu dan ujung kedua harus sama dan tidak boleh berbeda.
Lalu setelah disusun maka langkah selanjutnya jepit (tutup) dengan Rj 45, bukan 46 ya kalau 46 itu rossi. Hehe. Lalu di press menggunakan Crimping tool.

4.      Langkah selanjutnya adalah menginstall driver NIC yang kita pasang tadi
a.       Buka my computer lalu klik properties-device manager. Jika ada gambar segitiga kuning pada enthernet controller, maka itu berarti driver NIC belum terinstall dan kita harus menginstallnya terlebih dahulu

b.      Klik kanan lalu klik update driver software

c.       Klik browser my computer for driver software

d.      Tentukan folder dimana kita simpan driver NIC kita lalu pilih OS yang kita gunakan (WINDOWS 7 32BIT) lalu klik ok

e.       Lalu klik next

f.       Jika ada peringatan seperti ini maka klik install this driver software anyway

g.      Jika proses selesai klik close (driver telah terinstall)

h.      Dan inilah tanda bahwa NIC kita telah terinstall driver nya dan bisa digunakan.


5.      Langkah selanjutnya adalah mensetting ip address komputer server kita
a.       Pada bagian Network klik Open Network and Sharing Center

b.      Lalu klik Change adapter setting

c.       Lalu klik kanan pada jaringan server lalu properties

d.      Lalu klik internet protocol ... (TPC/IP4) lalu klik ok

e.       Lalu ceklis use the following (agar kita mensettingnya secara manual)
Lalu isi ip adress 192.168.12.51 (terserah kita asalkan 1 grub dengan server(pemilik internet) dan tidak ada sama dengan komputer lain)
Subnet mask 255.255.255.0
Default getway 192.168.12.1 (ini adalah ip server sekolah kami) lalu ok.

f.       Lalu pada server yang kita properties tadi klik sharing – lalu ceklis semua nya lalu ok (hal ini bertujuan agar internet dapat tersharing ke hub dan otomatis akan tersharing ke setiap client yang berhungungan dengan hub) klik ok.
6.      Menginstall aplikasi Proxy (Privoxy)
a.       Sebelum kita menginstall Privoxy kita terlebih dahulu merubah NAT (ip forwading) nya dengan cara klik start – tuliskan (regedit) enter – klik HKEY LOCAL MACHINE – system – current control set – service – tpc ip – parameter – buka ip enable router. Lalu rubah angka 0 menjadi 1 dan ok.
b.      Buka privoxy (yang berbentuk file exe) maka akan muncul tampilan berikut lalu next

c.       Lalu kllik install

d.      Tunggu hingga proses selesai

e.       Jika selesai maka langsung saja buka privoxy yang telah kita install tadi

f.       Langkah selanjutnya adalah mengganti script config dan usernya
Yang pertama kita rubah script config nya option – edit main configuration

g.      Dan pastekan script nya sehingga hasilnya

Dan ini scripnya :
#user-manual ./doc/user-manual/
#user-manual /Program Files/Privoxy/doc/user-manual
#admin-address [e.saputro62@yahoo.com]
#confdir .
#logdir .
#
actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on.
actionsfile default.action   # Main actions file
actionsfile user.action      # User customizations
#
#
#
#filterfile default.filter
#filterfile user.filter      # User customizations
#
#
#logfile privoxy.log
#enable-edit-actions 0
#enforce-blocks 0
#buffer-limit 4096
#forwarded-connect-retries  0
#accept-intercepted-requests 0
#allow-cgi-request-crunching 0
#split-large-forms 0
#socket-timeout 300
user-manual /Program Files/Privoxy/doc/user-manual
admin-address [e.saputro62@yahoo.com]
confdir .
logdir .
debug 1 #menampilkan seluruh log ke server
logfile privoxy.log #memberikan nama file log
log-messages   1 #seluruh koneksi akan di catat di file log server
listen-address  192.168.12.51:3218 #ip server dan port yang akan listen (diset di client).
permit-access 192.168.12.0/24 #ip network yang diijinkan menggunakan server proxy ini

toggle  0
enable-remote-toggle  0
enable-remote-http-toggle  0
enable-edit-actions 0
enforce-blocks 1
buffer-limit 4096
forwarded-connect-retries  20
accept-intercepted-requests 1
allow-cgi-request-crunching 0
split-large-forms 0
keep-alive-timeout 300
socket-timeout 300
activity-animation   1
log-max-lines 2000
log-highlight-messages 1
log-font-name Comic Sans MS
log-font-size 10
h.      Selanjutnya kita copas script user nya option – edit user actions

i.        Sehingga hasilnya seperti ini

Ini script user nya :
######################################################################
#
#  File        :  $Source: /cvsroot/ijbswa/current/user.action,v $
#
#  $Id: user.action,v 1.13 2011/11/06 11:36:01 fabiankeil Exp $
#
#  Purpose     :  User-maintained actions file, see
#                 http://www.privoxy.org/user-manual/actions-file.html
#
######################################################################

# This is the place to add your personal exceptions and additions to
# the general policies as defined in default.action. (Here they will be
# safe from updates to default.action.) Later defined actions always
# take precedence, so anything defined here should have the last word.

# See http://www.privoxy.org/user-manual/actions-file.html, or the
# comments in default.action, for an explanation of what an "action" is
# and what each action does.

# The examples included here either use bogus sites, or have the actual
# rules commented out (with the '#' character). Useful aliases are
# included in the top section as a convenience.

#############################################################################
# Aliases
#############################################################################
{{alias}}
#############################################################################
#
# You can define a short form for a list of permissions - e.g., instead
# of "-crunch-incoming-cookies -crunch-outgoing-cookies -filter -fast-redirects",
# you can just write "shop". This is called an alias.
#
# Currently, an alias can contain any character except space, tab, '=', '{'
# or '}'.
# But please use only 'a'-'z', '0'-'9', '+', and '-'.
#
# Alias names are not case sensitive.
#
# Aliases beginning with '+' or '-' may be used for system action names
# in future releases - so try to avoid alias names like this.  (e.g.
# "+crunch-all-cookies" below is not a good name)
#
# Aliases must be defined before they are used.
#
# These aliases just save typing later:
#
+crunch-all-cookies = +crunch-incoming-cookies +crunch-outgoing-cookies
-crunch-all-cookies = -crunch-incoming-cookies -crunch-outgoing-cookies
 allow-all-cookies  = -crunch-all-cookies -session-cookies-only -filter{content-cookies}
 allow-popups       = -filter{all-popups} -filter{unsolicited-popups}
+block-as-image     = +block{Blocked image request.} +handle-as-image
-block-as-image     = -block

# These aliases define combinations of actions
# that are useful for certain types of sites:
#
fragile     = -block -crunch-all-cookies -filter -fast-redirects -hide-referer -prevent-compression
shop        = -crunch-all-cookies allow-popups

# Your favourite blend of filters:
#
myfilters   = +filter{html-annoyances} +filter{js-annoyances} +filter{all-popups}\
              +filter{webbugs} +filter{banners-by-size}

# Allow ads for selected useful free sites:
#
allow-ads   = -block -filter{banners-by-size} -filter{banners-by-link}
#... etc.  Customize to your heart's content.

## end aliases ########################################################
#######################################################################

# Begin examples: #####################################################

# Say you have accounts on some sites that you visit regularly, and you
# don't want to have to log in manually each time. So you'd like to allow
# persistent cookies for these sites. The allow-all-cookies alias defined
# above does exactly that, i.e. it disables crunching of cookies in any
# direction, and the processing of cookies to make them only temporary.
#
{ allow-all-cookies }
#.sourceforge.net
#sunsolve.sun.com
#slashdot.org
#.yahoo.com
#.msdn.microsoft.com
#.redhat.com

# Say the site where you do your homebanking needs to open popup
# windows, but you have chosen to kill popups uncoditionally by default.
# This will allow it for your-example-bank.com:
#
{ -filter{all-popups} }
.banking.example.com

# Some hosts and some file types you may not want to filter for
# various reasons:
#
{ -filter }

# Technical documentation is likely to contain strings that might
# erroneously get altered by the JavaScript-oriented filters:
#
#.tldp.org
#/(.*/)?selfhtml/

# And this stupid host sends streaming video with a wrong MIME type,
# so that Privoxy thinks it is getting HTML and starts filtering:
#
stupid-server.example.com/


# Example of a simple "block" action. Say you've seen an ad on your
# favourite page on example.com that you want to get rid of. You have
# right-clicked the image, selected "copy image location" and pasted
# the URL below while removing the leading http://, into a { +block{reason} }
# section. Note that { +handle-as-image } need not be specified, since
# all URLs ending in .gif will be tagged as images by the general rules
# as set in default.action anyway:
#
{ +block{Nasty ads.} }
www.example.com/nasty-ads/sponsor.gif

# The URLs of dynamically generated banners, especially from large banner
# farms, often don't use the well-known image file name extensions, which
# makes it impossible for Privoxy to guess the file type just by looking
# at the URL.
# You can use the +block-as-image alias defined above for these cases.
# Note that objects which match this rule but then turn out NOT to be an
# image are typically rendered as a "broken image" icon by the browser.
# Use cautiously.
#
{ +block-as-image }
#.facebook.com
#.doubleclick.net
#/Realmedia/ads/
#ar.atwola.com/

# Now you noticed that the default configuration breaks Forbes
# Magazine, but you were too lazy to find out which action is the
# culprit, and you were again too lazy to give feedback, so you just
# used the fragile alias on the site, and -- whoa! -- it worked. The
# 'fragile' aliases disables those actions that are most likely to break
# a site. Also, good for testing purposes to see if it is Privoxy that
# is causing the problem or not.
#
{ fragile }
#.forbes.com

# Here are some sites we wish to support, and we will allow their ads
# through.
#
{ allow-ads }
#.sourceforge.net
#.slashdot.org
#.osdn.net

# user.action is generally the best place to define exceptions and
# additions to the default policies of default.action. Some actions are
# safe to have their default policies set here though. So let's set a
# default policy to have a 'blank' image as opposed to the checkerboard
# pattern for ALL sites. '/' of course matches all URLs.
# patterns:
#
{ +set-image-blocker{blank} }
#/

# Enable the following section (not the regression-test directives)
# to rewrite and redirect click-tracking URLs on news.google.com.
# Disabling JavaScript should work as well and probably works more reliably.
#
# Redirected URL = http://news.google.com/news/url?ct2=us%2F0_0_s_1_1_a&sa=t&usg=AFQjCNHJWPc7ffoSXPSqBRz55jDA0KgxOQ&cid=8797762374160&url=http%3A%2F%2Fonline.wsj.com%2Farticle%2FSB10001424052970204485304576640791304008536.html&ei=YcqeTsymCIjxggf8uQE&rt=HOMEPAGE&vm=STANDARD&bvm=section&did=-6537064229385238098
# Redirect Destination = http://online.wsj.com/article/SB10001424052970204485304576640791304008536.html
# Ignore = Yes
#
#{+fast-redirects{check-decoded-url}}
#news.google.com/news/url.*&url=http.*&

# Enable the following section (not the regression-test directives)
# to block various Facebook "like" and similar tracking URLs.  At the
# time this section was added it was reported to not break Facebook
# itself but this may have changed by the time you read this. This URL
# list is probably incomplete and if you don't have an account anyway,
# you may prefer to block the whole domain.
#
# Blocked URL = http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Farstechnica&width=300&colorscheme=light&show_faces=false&stream=false&header=false&height=62&border_color=%23FFFFFF
# Ignore = Yes
# Blocked URL = http://www.facebook.com/plugins/activity.php?site=arstechnica.com&width=300&height=370&header=false&colorscheme=light&recommendations=false&border_color=%23FFFFFF
# Ignore = Yes
# Blocked URL = http://www.facebook.com/plugins/fan.php?api_key=368513495882&connections=10&height=250&id=8304333127&locale=en_US&sdk=joey&stream=false&width=377
# Ignore = Yes
# Blocked URL = http://www.facebook.com/plugins/like.php?api_key=368513495882&channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df13997452c%26origin%3Dhttp%253A%252F%252Fonline.wsj.com%252Ff1b037e354%26relation%3Dparent.parent%26transport%3Dpostmessage&extended_social_context=false&href=http%3A%2F%2Fonline.wsj.com%2Farticle%2FSB10001424052970204485304576640791304008536.html&layout=button_count&locale=en_US&node_type=link&ref=wsj_share_FB&sdk=joey&send=false&show_faces=false&width=90
# Ignore = Yes
#
{+block{Facebook "like" and similar tracking URLs.}}
#www.facebook.com/(extern|plugins)/(login_status|like(box)?|activity|fan)\.php

{ +block }
.yahoo.com
.facebook.com
.blogspot.com

j.        Pada akhiran yang ada tanda { +block } itu adalah situs yang kita blok, kita bisa menambahkan sesuai keinginan, dan jika ingin membuka blok nya maka tambahkan tanda # ex #.yahoo.com lalu simpan, jika tidak tinggal dihapus saja lalu simpan.
k.      Dan setelah semua selesai selanjutnya adalah membuat script bloked, sehingga jika client ingin membuka situs yang sedang kita blok akan muncul tampilan. Dalam hal ini anda dapat menggunakan adobe dreamweaver untuk membuat/ mendesain web.

Dan ini script nya :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style2 {color: #FF0000; font-weight: bold; }
.style3 {color: #99FF00}
-->
</style>
</head>

<body>
<table width="90%" border="1">
  <tr>
    <td bgcolor="#33FF00"><div align="center" class="style2"><marquee>BLOKED<marquee></div></td>
    <td colspan="4" bgcolor="#33FF00"><div align="center" class="style2"><marquee>SEKOLAH MENENGAH KEJURUAN NEGERI 1 BUNGARAYA<marquee> </div></td>
  </tr>
  <tr>
    <td rowspan="2" bgcolor="#66FFFF"><div align="center"></div>      <div align="center"><strong>^ EKO SAPUTRO </strong></div></td>
    <td bordercolor="#FF00FF" bgcolor="#FF00FF"><div align="center"><strong>HOME</strong></div></td>
    <td bordercolor="#FF00FF" bgcolor="#FF00FF"><div align="center"><strong>PROFIL</strong></div></td>
    <td bordercolor="#FF00FF" bgcolor="#FF00FF"><div align="center"><strong>SOFTWARE</strong></div></td>
    <td bordercolor="#FF00FF" bgcolor="#FF00FF"><div align="center"><strong>SEARCH</strong></div></td>
  </tr>
  <tr>
    <td colspan="4" bgcolor="#FF6600"><div align="center">
      <p>&nbsp;</p>
      <p class="style3">MAAF UNTUK SEMENTARA SITUS YANG INGIN ANDA KUNJUNGI SEDANG KAMI BLOK.</p>
      <p class="style3"> JIKA ANDA TETAP INGIN MEMBUKA SITUS INI MAKA SILAHKAN HUBUNGI </p>
      <p class="style3">ADMIN (EKO SAPUTRO) DI ALAMAT E-MAIL &quot;e.saputro62@yahoo.com </p>
      <p class="style3">ATAU di blok &quot;ekosaputro96.blogspot.com </p>
      <p>&nbsp;</p>
    </div></td>
  </tr>
 
  <tr>
    <td colspan="5" bordercolor="#F0F0F0" bgcolor="#CCCCCC"><div align="center"><strong><marquee>ATAS PERHATIANNYA DIUCAPKAN TERIMA KASIH<marquee> </strong></div></td>
  </tr>
</table>
</body>
</html>

l.        Setelah kita membuat script bloked nya tadi copy scrip nya dan paste kan di program file-privoxy-template-bloked.
7.      Menjalankan Privoxy
a.       Setelah kita menginstall, dan mensetting semua (config, user, dan bloked) nya langkah selanjutnya adalah mengecek apakah proxy yang kita buat tadi berjalan atau tidak
b.      Privoxy yang telah kita setting tadi terlebih dulu kita restart. Caranya adalah dengan mengeluarkan nya dulu lalu buka kemballi, menutupnya bukan dengan mengklik tanda X tetapi dengan cara seperti gambar

c.       Lalu buka kembali dan setelah dibuka ceklis Enable.

d.      Selanjutnya kita mulai mengecek apakah proxy sudah berjalan atau belum. Buka web browser anda disini saya menggunakan Mozilla. Jika menggunakan web browser lainnya juga sama saja. Lalu klik Tool-Options

e.       Lalu klik Advenced- Network- Settings

f.       Lalu klik manual proxy configuration, lalu isi http proxy dengan ip yang kita buat di script config tadi dan port nya juga sama dengan yang di script config tadi. Lalu ok.

g.      Dan langsung saja buka situs yang kita blok tadi maka akan muncul tampilan seperti yang kita buat di dreamweaver tadi.

h.      Dan selesai. Jika kita ingin membuka situs yang kita blok tadi maka tinggal tambahkan tanda # pada awal kata tersebut seperti contoh #.facebook.com maka situs tersebut sudah tidak kita blok lagi.

Sekian dulu tutorial “UJIAN KOMPETENSI TKJ TA 2012/2013  (MEMBUAT PROXY MENGGUNAKAN PRIVOXY DI W7)”, semoga apa yang saya sampaikan bermanfaat.
 ^Saya membuat ini bukan copas, tapi asli buatan saya sendiri, dan sudah saya uji coba sebelumnya.
Cukup sekian info dari saya dan tunggu update saya selanjutnya ya.
EKO SAPUTRO
XII TKJ
SMK N 1 BUNGARAYA
FANILA 178