Senin, 21 Januari 2008

aNtenA gRid & oMNi

ANTENA GRID


Antenna Grid Wifi 2,4 GHz dengan Gain 21 Db, sangat cocok digunakan untuk Antenna Wifi Anda. Bisa digunakan untuk Point to Point, atau Klien dari Akses Point anda. Sangat cocok digunakan untuk antenna Klien Rt-Rw Net anda sehingga bisa menekan biaya Investasi awal klien anda.
Antena grid memiliki kekuatan sinyal hingga 24 dB, sementara antena parabolic hingga 18 dB.

A. Bahan

1. Alminium holo diameter 1 cm

a. Untuk lingkaran luar antena dengan panjang = 300 cm

b. Untuk Jari-jari antena sebanyak 9 buah x 48,5 cm = 430,2 cm

2. Pipa almunium Æ 3/8 inch

a. Untuk lingkaran dalam = 190 cm

b. Untuk lingkaran bawah = 36 cm

c. Tiang focus

3. Mesh almunium dengan ukuran 100 cm x 200 cm dibagi menjadi 6 bagian dalam bentuk segitiga dengan ukuran 50 x 55 x 5




INSTALLASI WIRELESS LAN

Peralatan

1. Kompas dan peta topografi

2. Penggaris dan busur derajat

3. Pensil, penghapus, alat tulis

4. GPS, altimeter, klinometer

5. Kaca pantul dan teropong

6. Radio komunikasi (HT)

7. Orinoco PC Card, pigtail dan PCI / ISA adapter

8. Multimeter, SWR, cable tester, solder, timah, tang potong kabel

9. Peralatan panjat, harness, carabiner, webbing, cows tail, pulley

10. Kunci pas, kunci ring, kunci inggris, tang (potong, buaya, jepit), obeng set, tie rap, isolator gel, TBA, unibell

11. Kabel power roll, kabel UTP straight dan cross, crimping tools, konektor RJ45

12. Software AP Manager, Orinoco Client, driver dan AP Utility Planet, firmware dan operating system (NT, W2K, W98 / ME, Linux, FreeBSD + utilitynya)

Survey Lokasi

1. Tentukan koordinat letak kedudukan station, jarak udara terhadap BTS dengan GPS dan kompas pada peta

2. Perhatikan dan tandai titik potensial penghalang (obstructure) sepanjang path

3. Hitung SOM, path dan acessories loss, EIRP, freznel zone, ketinggian antena

4. Perhatikan posisi terhadap station lain, kemungkinan potensi hidden station, over shoot dan test noise serta interferensi

5. Tentukan posisi ideal tower, elevasi, panjang kabel dan alternatif seandainya ada kesulitan dalam instalasi

6. Rencanakan sejumlah alternatif metode instalasi, pemindahan posisi dan alat

Pemasangan Konektor

1. Kuliti kabel coaxial dengan penampang melintang, spesifikasi kabel minimum adalah RG 8 9913 dengan perhitungan losses 10 db setiap 30 m

2. Jangan sampai terjadi goresan berlebihan karena perambatan gelombang mikro adalah pada permukaan kabel

3. Pasang konektor dengan cermat dan memperhatikan penuh masalah kerapian

4. Solder pin ujung konektor dengan cermat dan rapi, pastikan tidak terjadi short

5. Perhatikan urutan pemasangan pin dan kuncian sehingga dudukan kabel dan konektor tidak mudah bergeser

6. Tutup permukaan konektor dengan aluminium foil untuk mencegah kebocoran dan interferensi, posisi harus menempel pada permukaan konektor

7. Lapisi konektor dengan aluminium foil dan lapisi seluruh permukaan sambungan konektor dengan isolator TBA (biasa untuk pemasangan pipa saluran air atau kabel listrik instalasi rumah)

8. Terakhir, tutup seluruh permukaan dengan isolator karet untuk mencegah air

9. Untuk perawatan, ganti semua lapisan pelindung setiap 6 bulan sekali

10. Konektor terbaik adalah model hexa tanpa solderan dan drat sehingga sedikit melukai permukaan kabel, yang dipasang dengan menggunakan crimping tools, disertai karet bakar sebagai pelindung pengganti isolator karet

Pembuatan POE

1. Power over ethernet diperlukan untuk melakukan injeksi catu daya ke perangkat Wireless In A Box yang dipasang di atas tower, POE bermanfaat mengurangi kerugian power (losses) akibat penggunaan kabel dan konektor

2. POE menggunakan 2 pair kabel UTP yang tidak terpakai, 1 pair untuk injeksi + (positif) power dan 1 pair untuk injeksi – (negatif) power, digunakan kabel pair (sepasang) untuk menghindari penurunan daya karena kabel loss

3. Perhatikan bahwa permasalahan paling krusial dalam pembuatan POE adalah bagaimana cara mencegah terjadinya short, karena kabel dan konektor power penampangnya kecil dan mudah bergeser atau tertarik, tetesi dengan lilin atau isolator gel agar setiap titik sambungan terlindung dari short

4. Sebelum digunakan uji terlebih dahulu semua sambungan dengan multimeter

Instalasi Antena

1. Pasang pipa dengan metode stack minimum sampai ketinggian 1st freznel zone terlewati terhadap obstructure terdekat

2. Perhatikan stabilitas dudukan pipa dan kawat strenght, pasang dudukan kaki untuk memanjat dan anker cows tail

3. Cek semua sambungan kabel dan konektor termasuk penangkal petir bila ada

4. Pasang antena dengan rapi dan benar, arahkan dengan menggunakan kompas dan GPS sesuai tempat kedudukan BTS di peta

5. Pasang kabel dan rapikan sementara, jangan sampai berat kabel menjadi beban sambungan konektor dan mengganggu gerak pointing serta kedudukan antena

6. Perhatikan dalam memasang kabel di tower / pipa, jangan ada posisi menekuk yang potensial menjadi akumulasi air hujan, bentuk sedemikian rupa sehingga air hujan bebas jatuh ke bawah

Instalasi Perangkat Radio

1. Instal PC Card dan Orinoco dengan benar sampai dikenali oleh OS tanpa konflik dan pastikan semua driver serta utility dapat bekerja sempurna

2. Instalasi pada OS W2K memerlukan driver terbaru dari web site dan ada di CD utility kopian, tidak diperlukan driver PCMCIA meskipun PNP W2K melakukannya justru deteksi ini menimbulkan konflik, hapus dirver ini dari Device Manager

3. Instalasi pada NT memerlukan kecermatan alokasi alamat IO, IRQ dan DMA, pada BIOS lebih baik matikan semua device (COM, LPT dll.) dan peripheral (sound card, mpeg dll.) yang tidak diperlukan

4. Semua prosedur ini bisa diselesaikan dalam waktu kurang dari 30 menit tidak termasuk instalasi OS, lebih dari waktu ini segera jalankan prosedur selanjutnya

5. Apabila terus menerus terjadi kesulitan instalasi, untuk sementara demi efisiensi lakukan instalasi dibawah OS Win98 / ME yang lebih mudah dan sedikit masalah

6. Pada instalasi perangkat radio jenis Wireless In A Box (Mtech, Planet, Micronet dlll.), terlebih dahulu lakukan update firmware dan utility

7. Kemudian uji coba semua fungsi yang ada (AP, Inter Building, SAI Client, SAA2, SAA Ad Hoc dll.) termasuk bridging dan IP Addressing dengan menggunakan antena helical, pastikan semua fungsi berjalan baik dan stabil

8. Pastikan bahwa perangkat Power Over Ethernet (POE) berjalan sempurna

Pengujian Noise

1. Bila semua telah berjalan normal, install semua utility yang diperlukan dan mulai lakukan pengujian noise / interferensi, pergunakan setting default

2. Tanpa antena perhatikan apakah ada signal strenght yang tertangkap dari station lain disekitarnya, bila ada dan mencapai good (sekitar 40 % – 60 %) atau bahkan lebih, maka dipastikan station tersebut beroperasi melebihi EIRP dan potensial menimbulkan gangguan bagi station yang sedang kita bangun, pertimbangkan untuk berunding dengan operator BTS / station eksisting tersebut

3. Perhatikan berapa tingkat noise, bila mencapai lebih dari tingkat sensitifitas radio (biasanya adalah sekitar – 83 dbm, baca spesifikasi radio), misalnya – 100 dbm maka di titik station tersebut interferensinya cukup tinggi, tinggal apakah signal strenght yang diterima bisa melebihi noise

4. Perhitungan standar signal strenght adalah 0 % – 40 % poor, 40 % - 60 % good, 60 % - 100 % excellent, apabila signal strenght yang diterima adalah 60 % akan tetapi noisenya mencapai 20 % maka kondisinya adalah poor connection (60 % - 20 % - 40 % poor), maka sedapat mungkin signal strenght harus mencapai 80 %

5. Koneksi poor biasanya akan menghasilkan PER (packet error rate – bisa dilihat dari persentasi jumlah RTO dalam continous ping) diatas 3 % – 7 % (dilihat dari utility Planet maupun Wave Rider), good berkisar antara 1 % - 3 % dan excellent dibawah 1 %, PER antara BTS dan station client harus seimbang

6. Perhitungan yang sama bisa dipergunakan untuk memperhatikan station lawan atau BTS kita, pada prinsipnya signal strenght, tingkat noise, PER harus imbang untuk mendapatkan stabilitas koneksi yang diharapkan

7. Pertimbangkan alternatif skenario lain bila sejumlah permasalahan di atas tidak bisa diatasi, misalkan dengan memindahkan station ke tempat lain, memutar arah pointing ke BTS terdekat lainnya atau dengan metode 3 titik (repeater) dll.

Perakitan Antena

1. Antena microwave jenis grid parabolic dan loop serta yagi perlu dirakit karena terdiri dari sejumlah komponen, berbeda dengan jenis patch panel, panel sector maupun omni directional

2. Rakit antena sesuai petunjuk (manual) dan gambar konstruksi yang disertakan

3. Kencangkan semua mur dan baut termasuk konektor dan terutama reflektor

4. Perhatikan bahwa antena microwave sangat peka terhadap perubahan fokus, maka pada saat perakitan antena perhatikan sebaik-baiknya fokus reflektor terhadap horn (driven antena), sedikit perubahan fokus akan berakibat luas seperti misalnya perubahan gain (db) antena

5. Beberapa tipe antena grid parabolic memiliki batang extender yang bisa merubah letak fokus reflektor terhadap horn sehingga bisa diset gain yang diperlukan

Pointing Antena

1. Secara umum antena dipasang dengan polarisasi horizontal

2. Arahkan antena sesuai arah yang ditunjukkan kompas dan GPS, arah ini kita anggap titik tengah arah (center beam)

3. Geser antena dengan arah yang tetap ke kanan maupun ke kiri center beam, satu per satu pada setiap tahap dengan perhitungan tidak melebihi ½ spesifikasi beam width antena untuk setiap sisi (kiri atau kanan), misalkan antena 24 db, biasanya memiliki beam width 12 derajat maka, maksimum pergeseran ke arah kiri maupun kanan center beam adalah 6 derajat

4. Beri tanda pada setiap perubahan arah dan tentukan skornya, penentuan arah terbaik dilakukan dengan cara mencari nilai average yang terbaik, parameter utama yang harus diperhatikan adalah signal strenght, noise dan stabilitas

5. Karena kebanyakan perangkat radio Wireless In A Box tidak memiliki utility grafis untuk merepresentasikan signal strenght, noise dsb (kecuali statistik dan PER) maka agar lebih praktis, untuk pointing gunakan perangkat radio standar 802.11b yang memiliki utility grafis seperti Orinoco atau gunakan Wave Rider

6. Selanjutnya bila diperlukan lakukan penyesuaian elevasi antena dengan klino meter sesuai sudut antena pada station lawan, hitung berdasarkan perhitungan kelengkungan bumi dan bandingkan dengan kontur pada peta topografi

7. Ketika arah dan elevasi terbaik yang diperkirakan telah tercapai maka apabila diperlukan dapat dilakukan pembalikan polarisasi antena dari horizontal ke vertical untuk mempersempit beam width dan meningkatkan fokus transmisi, syaratnya kedua titik mempergunakan antena yang sama (grid parabolic) dan di kedua titik polarisasi antena harus sama (artinya di sisi lawan polarisasi antena juga harus dibalik menjadi vertical)

Pengujian Koneksi Radio

1. Lakukan pengujian signal, mirip dengan pengujian noise, hanya saja pada saat ini antena dan kabel (termasuk POE) sudah dihubungkan ke perangkat radio

2. Sesuaikan channel dan nama SSID (Network Name) dengan identitas BTS / AP tujuan, demikian juga enkripsinya, apabila dipergunakan otentikasi MAC Address maka di AP harus didefinisikan terlebih dahulu MAC Address station tersebut

3. Bila menggunakan otentikasi Radius, pastikan setting telah sesuai dan cobalah terlebih dahulu mekanismenya sebelum dipasang

4. Perhatikan bahwa kebanyakan perangkat radio adalah berfungsi sebagai bridge dan bekerja berdasarkan pengenalan MAC Address, sehingga IP Address yang didefinisikan berfungsi sebagai interface utility berdasarkan protokol SNMP saja, sehingga tidak perlu dimasukkan ke dalam tabel routing

5. Tabel routing didefinisikan pada (PC) router dimana perangkat radio terpasang, untuk Wireless In A Box yang perangkatnya terpisah dari (PC) router, maka pada device yang menghadap ke perangkat radio masukkan pula 1 IP Address yang satu subnet dengan IP Address yang telah didefinisikan pada perangkat radio, agar utility yang dipasang di router dapat mengenali radio

6. Lakukan continuos ping untuk menguji stabilitas koneksi dan mengetahui PER

7. Bila telah stabil dan signal strenght minimum good (setelah diperhitungkan noise) maka lakukan uji troughput dengan melakukan koneksi FTP (dengan software FTP client) ke FTP server terdekat (idealnya di titik server BTS tujuan), pada kondisi ideal average troughput akan seimbang baik saat download maupun up load, maksimum troughput pada koneksi radio 1 mbps adalah sekitar 600 kbps dan per TCP connection dengan MTU maksimum 1500 bisa dicapai 40 kbps

8. Selanjutnya gunakan software mass download manager yang mendukung TCP connection secara simultan (concurrent), lakukan koneksi ke FTP server terdekat dengan harapan maksimum troughput 5 kbps per TCP connection, maka dapat diaktifkan sekitar 120 session simultan (concurrent), asumsinya 5 x 120 = 600

9. Atau dengan cara yang lebih sederhana, digunakan skala yang lebih kecil, 12 concurrent connection dengan trouhput per session 5 kbps, apa total troughput bisa mencapai 60 kbps (average) ? bila tercapai maka stabilitas koneksi sudah dapat dijamin berada pada level maksimum

10. Pada setiap tingkat pembebanan yang dilakukan bertahap, perhatikan apakah RRT ping meningkat, angka mendekati sekitar 100 ms masih dianggap wajar

Minggu, 06 Januari 2008

LANGKAH MENGINSTALL LINUX DEBIAN

~ Setting BIOS dengan first booting pada CD ROM
~ Masukkan CD Install Debian Linux
~ Choose Language
Memilih bahasa yang akan digunakan, pilih English
~ Choose country or region
Memilih Negara, pilih Other untuk melihat pilihan yang lain, pilih Indonesia
~ Select a keyboard layout
Memilih keyboard, pilih American English
~ Detect and mount CD ROM
Komputer akan mendeteksi hardware untuk pencarian driver CD ROM, pilih yes
~Load Installer components from CD
Tunggulah selama computer sedang dalam proses
~ Detect network hardware
computer akan mencari hardware untuk jaringan
~ Configure the network
Pilih Configure network manually
Masukkan IP Address
Masukkan subnet mask, tapi biasanya subnet mask terisi secara otomatis
Masukkan gateway sesuai dengan gateway server
Masukkan IP Address DNS server
Masukkan hostname
Masukkan domain name
~ Detect disk
Computer sedang dalam proses untuk mendeteksi disk
~ Partition disk
Pilih Manually edit partition table
Buat 3 bagian untuk partisi pada harddisk
1. Root = 4 GB, filesystem = ext, type= primary
2. Home = 3 GB, filesystem = ext, type=logical
3. Swap area = 1 GB, filesystem = swap
Setelah selesai, pilih Finish partition and write, pilih yes
~ Configure time zone
computer akan mengkonfigurasi untuk waktu yang digunakan menurut wilayah
~ Configure the clock
Konfigurasi untuk jam menurut wilayah, pilih no
~ Set up users and password
Langkah pertama buatlah password untuk root
Masukkan lagi password yang sama
Kemudian buatlah user baru, masukkan nama user
Buatlah nama untuk user account juga
Masukkan password untuk user
Masukkan lagi password yang sama untuk user
~ Install the base system
Komputer akan menginstal system dasar debian
~ Configure the package manager
Komputer mengkonfigurasi “package manager”
~ Select and Install software
Komputer akan menginstall software yang ada
~ Install the GRUB boot loader on a harddisk
Komputer menginstal GRUB boot loader, pilih yes
~ Install the LILO boot loader on a harddisk
~ Continue without boot loader
~ Finish the Installation
Setelah semua langkah diatas instalasi telah selesai dan akan muncul tampilan sebagai berikut, pilih continue dan computer akan reboot


Instalasi Linux Debian Menggunakan Expertgui (text)
Langkah-langkahnya :
statement :
Ketikkan expertgui pada awal tampilan prompt, lalu tekan enter.
Write down expertgui on the first screen of prompt, press enter.
1. Tekan enter pada debian installer main menu.
Press enter in the debian installer main menu.
1. Pilih bahasa yang diinginkan, lalu tekan enter.
Choose language what do you want babe, press enter.
1. Pilih area yang diinginkan, lalu tekan enter.
Choose area what you want, press enter.
1. Pada choose a locale, pilih “aa_DJ UTF-8”, lalu enter.
In the choose a locale, choose “aa_DJ UTF-8”, and then enter.
1. Pada choose other locales to be supported, pilih “aa_DJ UTF-8”, tekan enter.
In the choose other locales to be support, choose “aa_DJ UTF-8”, and press enter.




1. Pada select to keyboard layout, pilih Type of keyboard : PC-style (AT or PS2 connector) keyboard, tekan enter.



In the select to keyboard layout, choose type of keyboard : PC-style (AT or PS2 connector) keyboard, press enter.
1. Pada keymap to use pilih American English, tekan enter.
In the keymap to use choose American- English, press enter.
1. Pada “choose the next step in the install process”, tekan enter.
In the choose the next step in the install process, press enter.
1. Pada detect and mount CD-ROM, tekan enter.
In the detect and mount CD-ROM, press enter.
1. Pilih semua modul pada menu, lalu enter.
Choose all modules in the menu and then, enter.

1. Pada start PC card service, pilih yes, lalu enter.
In the start PC card service, choose yes, and press enter.
1. Pada PCMCIA resource range option, ketik debian, tekan enter.
In the PCMCIA resource range option, write down debian, press enter.
1. Tekan enter pada load installer components from CD.
Press enter in the load installer components from CD.
1. Pilih semua komponen dari CD, tekan enter.
Choose all components from CD, press enter.

1. Load installer components from CD.
2. Pada detect network hardware, tekan enter.
In the detect network hardware, press enter.
1. Pada PCMCIA resource range option, ketik debian.
In the PCMCIA resource range option, write down debian.
1. Tekan enter pada configure and start a PPPOE connection.
Press enter in the configure and start a PPPOE connection.
1. Tekan enter pada configure the network.
Press enter in the configure the network.
1. Pada auto configure network with DHCP, pilih yes, tekan enter.
In the auto configure network with DHCP, choose yes, press enter.
1. Ketik debian pada hostname, tekan enter.
Write down in the hostname, press enter.
1. Tekan enter pada continue installation remotely using SSH.
Press enter in the continue installation remotely using SSH.
1. Masukkan password yang diinginkan, contoh : ketik 123456, tekan enter.
Enter the password what you want, example : write down 123456, press enter.
1. Tekan enter pada choose a mirror of the debian archive.
Press enter in the choose a mirror of the debian archive.

1. Pada protocol for file downloads, pilih FTP, tekan enter.
In the protocol for file downloads, choose FTP, and press enter.
1. Kemudian pilih Ftp. Debian.org, tekan enter.
And then choose Ftp. Debian.org, press enter.
1. Pada detect disk, tekan enter.
In the detect disk, press enter.

1. Pada partition disk, tekan enter.
In the partition disk, press enter.
1. Pada partitioning method, pilih Guided-use entire, tekan enter.
In the partitioning method, choose Guided-use entire, press enter.
1. Pada select disk to partition, pilih IDE1 master (hda) – 8,5 Gb ST38421A, tekan enter.
In the select disk to partition, choose IDE1 master (had) – 8,5 Gb ST38421A, press enter.
1. Tekan enter pada partitioning scheme, pilih separate /home partition.
Press enter in the partition scheme, choose separate /home partition.
1. Sekarang kita membuat partisi baru dengan menghapus semua partisi.
Now we’ll makes new partition with remove all partitions.

1. Langkah-langkah partisi harddisk :
· Hapus semua partisi
· Buat partisi dengan skema
/root = 4 Gb, type : primary, locate : beginning, fs : ext3.
/home = 2 Gb, type : logical, locate : beginning, fs : ext3.
Swap area = 2 Gb, file system : swap area.
· Pilih finish partitioning and write change to disk, tekan enter.
The steps for harddisk partition :
· Remove all partitions
· Create new partition with scheme
/root = 4 Gb, type : primary, locate : beginning, fs : ext3
/home = 2 Gb, type : logical, locate : beginning, fs : ext3
Swap area = 2 Gb, file system : swap area.
· Choose finish partitioning and write change to disk, press enter.
1. Pada configure time zone, pilih eastern.
In the configure time zone, choose eastern.
1. Tekan enter pada configure the clock.
Press enter in the configure the clock.


1. Setup users and passwords :
2. Masukkan users root password
· Masukkan nama untuk user
· Masukkan nama untuk user account
· Masukkan password untuk user
Setup users and passwords :
· Enter password root user
· Enter name for user
· Enter name for user account
· Enter password for user
1. Tekan enter pada install the base system.
Press enter in the install the base system.
1. Tekan enter pada configure the package manager.
Press enter in the configure the package manager.
1. Tekan enter pada select and install software.
Press enter in the select and install software.
1. Pada participate in the package usage survey, pilih yes, tekan enter.
In the participate in the package usage survey, choose yes, press enter.
1. Pada software to install, pilih desktop environment standard system, tekan enter.
In the software to install, choose desktop environment standard system, press enter.
1. Tekan enter pada install GRUB boot loader on a harddisk.
Press enter in the install GRUB boot loader on a harddisk.

1. Pada install the GRUB boot loader to the master boot record, pilih yes, tekan enter.
In the install the GRUB boot loader to the master boot record, choose yes, press enter.
1. Masukkan GRUB password.
Enter GRUB password.
1. Pada finish the installation, tekan enter.
In the finish the installation, press enter.
1. Instalasi sudah selesai.
The installation is finish.




























DNS SERVER


Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu BIND9..ada banyak cara untuk kita lakukan instalasi BIND9…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan bind9 pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install bind9…lalu masukkan cd yang diminta untuk instalasi bind p..yaitu cd 1 dan juga cd 4

setalah kita menyelesaikan instalasi bind9..masuk pada mcàetcàbind…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya…

- yang pertama kita akan mengedit file named.conf


disini kita hanya melakukan beberapa tambahan perintah untuk melengkapi file yang sudah ada…diantaranya kita perlu menambahkan file

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "debian.com.com" {
type master;
file "/var/cache/bind/db.debian";
};

zone "192.in-addr.arpa" {
type master;
file "/var/cache/bind/db.192";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";


setelah kita selesai mengedit file tersebut kta save dengan menggunakan f2

Lalu kita copy file db.127 dan db.local pada directory yang sama..dan kita pindahkan file tersebut pada directory /var/cache/bind…kemudian kita ganti nama file tersebut..kita ganti nama file tersebut menjadi..

db.127 menjadi db.192
db.loca menjadi db.debian



setelah itu kita edit file db.192 menjadi sebagai berikut


$TTL 604800
@ IN SOA debian.com. root.debian.com.
1 ; serial
604800 ; refresh
86400 ; retry
2419200 ; expire
604800 ; negative cache TTL

;
@ IN NS debian.com.
1.1.168 IN PTR debian.com.
www IN PTR debian.com.


begitu juga pada file db.debian kita hanya perlu sedikit memodifikasi file tersebut


$TTL 604800
@ IN SOA debian.com. root.debian.com.
2 ; serial
604800 ; refresh
86400 ; retry
2419200 ; expire
604800 ; negative cache TTL

;
@ IN NS debian.com.
@ IN A 192.168.1.1
www IN A 192.168.1.1


setelah kita selesai mengedit file tersebut kta save dengan menggunakan f2

setelah kita save kita restart bind9 tersebut denagan menggunakan perintah yang kita ketikkan pada console yaitu…./etc/init.d/bind9 restart
jika tidak ada kata FAILED pada saat kita restart bind9…maka berbahagialah anda hehehehehe….







DHCP3-SERVER


Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu dhcp3-server..ada banyak cara untuk kita lakukan instalasi dhcp3-server…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan dhcp3-server pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install dhcp3-server…lalu masukkan cd yang diminta untuk instalasi dhcp3-server..

setalah kita menyelesaikan instalasi dhcp3-server..masuk pada mcàetcàdhcp3/dhcpd.conf…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya…

#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;

# option definitions common to all supported networks...
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;

#default-lease-time 600;
#max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

#subnet 10.152.187.0 netmask 255.255.255.0 {
#}

# This is a very basic subnet declaration.

#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}

# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.

#subnet 10.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 10.254.239.40 10.254.239.60;
# option broadcast-address 10.254.239.31;
# option routers rtr-239-32-1.example.org;
#}

# A slightly different configuration for an internal subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.10;
option domain-name-servers www.debian.com;
# option domain-name "internal.example.org";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}

# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.

#host passacaglia {
# hardware ethernet 0:0:c0:5d:bd:95;
# filename "vmunix.passacaglia";
# server-name "toccata.fugue.com";
#}

# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
# hardware ethernet 08:00:07:26:c0:a5;
# fixed-address fantasia.fugue.com;
#}

# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.

#class "foo" {
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}

#shared-network 224-29 {
# subnet 10.17.224.0 netmask 255.255.255.0 {
# option routers rtr-224.example.org;
# }
# subnet 10.0.29.0 netmask 255.255.255.0 {
# option routers rtr-29.example.org;
# }
# pool {
# allow members of "foo";
# range 10.17.224.10 10.17.224.250;
# }
# pool {
# deny members of "foo";
# range 10.0.29.10 10.0.29.230;
# }
#}

setelah kita selesai mengedit file tersebut kta save dengan menggunakan f2

Setelah selesai edit file dhcpd.conf kita restart dhcp dengan menggunakan perintah yang kita ketikkan pada console perintah../etc/init.d/dhcp3-server restart



























SQUID

Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu SQUID..ada banyak cara untuk kita lakukan instalasi SQUID…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan SQUID pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install SQUID…lalu masukkan cd yang diminta untuk instalasi SQUID

setalah kita menyelesaikan instalasi SQUID..masuk pada mcàetcàSQUID…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya dengan menambahkan beberapa perintah…

acl all src 0.0.0.0/0.0.0.0
acl lab1 src 192.168.1.0/255.255.255.0
acl tidak dstdomain http://www.friendster.com/
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 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT











serta

# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Example rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks
http_access allow localhost
http_access deny tidak
http_access allow lab1

# And finally deny all other access to this proxy
http_access deny all

# TAG: http_access2
# Allowing or Denying access based on defined access lists
#
# Identical to http_access, but runs after redirectors. If not set
# then only http_access is used.
#
#Default:
# none

# TAG: http_reply_access
# Allow replies to client requests. This is complementary to http_access.
#
# http_reply_access allowdeny [!] aclname ...
#
# NOTE: if there are no access lines present, the default is to allow
# all replies
#
# If none of the access lines cause a match the opposite of the
# last line will apply. Thus it is good practice to end the rules
# with an "allow all" or "deny all" entry.
#
#Default:
# http_reply_access allow all
#
#Recommended minimum configuration:
#
# Insert your own rules here.
#
#
# and finally allow by default
http_reply_access allow all



Setelah selesai edit file squid kita restart dhcp dengan menggunakan perintah yang kita ketikkan pada console perintah../etc/init.d/squid restart


SAMBA

Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu SAMBA..ada banyak cara untuk kita lakukan instalasi SAMBA…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan SAMBA pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install SQUID…lalu masukkan cd yang diminta untuk instalasi SAMBA

setalah kita menyelesaikan instalasi SAMBA..masuk pada mcàetcàSAMBA…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya dengan menambahkan beberapa perintah…

sebelum mengedit samba kita harus buat salinan copy file dari samba..pertama buat dulu file directory tempat salinan copy file dari samba akan dibuat..misal kita membuat directory benrma “backup”..maka pada console ketikkan perintah mkdir backup..lalu kita copy file smb.conf dan letakkan pada folder backup yang kita buat tadi..dengan cara tekan f5 pada file smb.conf dan pada TO ketik /backup…setelah selesai masuk pada file samba yang terletak pada file /etc/samba/smb.conf… kemudian hapus semua isi file smb.conf pada file /etc/samba/smb.conf dan kita gantikan file yang semua kita hapus tadi dengan..

[global]
workgroup = WORKGROUP
netbios name = amd
security = user

[lagu]
comment = laga
path = /home/badak
read only = yes
#public = yes
valid users = tkj, tahu
write list = tahu

Setelah selesai edit file smb.conf kita restart dhcp dengan menggunakan perintah yang kita ketikkan pada console perintah../etc/init.d/samba restart




FTP SERVER

Install dengan perintah #Apt-get install vsftpdKemudian konfigurasi dengan perintah mcedit /etc/vsftpd.confEdit seperti di bawah ini/yang bergaris bawah (hanya menghilangkan tanda comment/# aj)# Allow anonymous FTP? (Beware - allowed by default if you comment this out).anonymous_enable=YES## Uncomment this to allow local users to log in.local_enable=YES## Uncomment this to enable any form of FTP write command.write_enable=YES## Uncomment this if you want the anonymous FTP user to be able to create# new directories.anon_mkdir_write_enable=YES## Activate directory messages - messages given to remote users when they# go into a certain directory.dirmessage_enable=YES## Activate logging of uploads/downloads.xferlog_enable=YES## Make sure PORT transfer connections originate from port 20 (ftp-data).connect_from_port_20=YES## If you want, you can arrange for uploaded anonymous files to be owned by# a different user. Note! Using "root" for uploaded files is not# recommended!#chown_uploads=YES#chown_username=whoever## You may override where the log file goes if you like. The default is shown# below.#xferlog_file=/var/log/vsftpd.log## If you want, you can have your log file in standard ftpd xferlog format#xferlog_std_format=YES## You may change the default value for timing out an idle session.#idle_session_timeout=600## You may change the default value for timing out a data connection.#data_connection_timeout=120## It is recommended that you define on your system a unique user which the# ftp server can use as a totally isolated and unprivileged user.#nopriv_user=ftpsecureKet : Yang perlu diedit hanya yang bergaris bawah saja lainnya tidak perlu diedit Setelah itu restart dengan perintah /etc/init.d/vsftpd restart
LANGKAH MENGINSTALL LINUX DEBIAN

~ Setting BIOS dengan first booting pada CD ROM
~ Masukkan CD Install Debian Linux
~ Choose Language
Memilih bahasa yang akan digunakan, pilih English
~ Choose country or region
Memilih Negara, pilih Other untuk melihat pilihan yang lain, pilih Indonesia
~ Select a keyboard layout
Memilih keyboard, pilih American English
~ Detect and mount CD ROM
Komputer akan mendeteksi hardware untuk pencarian driver CD ROM, pilih yes
~Load Installer components from CD
Tunggulah selama computer sedang dalam proses
~ Detect network hardware
computer akan mencari hardware untuk jaringan
~ Configure the network
Pilih Configure network manually
Masukkan IP Address
Masukkan subnet mask, tapi biasanya subnet mask terisi secara otomatis
Masukkan gateway sesuai dengan gateway server
Masukkan IP Address DNS server
Masukkan hostname
Masukkan domain name
~ Detect disk
Computer sedang dalam proses untuk mendeteksi disk
~ Partition disk
Pilih Manually edit partition table
Buat 3 bagian untuk partisi pada harddisk
1. Root = 4 GB, filesystem = ext, type= primary
2. Home = 3 GB, filesystem = ext, type=logical
3. Swap area = 1 GB, filesystem = swap
Setelah selesai, pilih Finish partition and write, pilih yes
~ Configure time zone
computer akan mengkonfigurasi untuk waktu yang digunakan menurut wilayah
~ Configure the clock
Konfigurasi untuk jam menurut wilayah, pilih no
~ Set up users and password
Langkah pertama buatlah password untuk root
Masukkan lagi password yang sama
Kemudian buatlah user baru, masukkan nama user
Buatlah nama untuk user account juga
Masukkan password untuk user
Masukkan lagi password yang sama untuk user
~ Install the base system
Komputer akan menginstal system dasar debian
~ Configure the package manager
Komputer mengkonfigurasi “package manager”
~ Select and Install software
Komputer akan menginstall software yang ada
~ Install the GRUB boot loader on a harddisk
Komputer menginstal GRUB boot loader, pilih yes
~ Install the LILO boot loader on a harddisk
~ Continue without boot loader
~ Finish the Installation
Setelah semua langkah diatas instalasi telah selesai dan akan muncul tampilan sebagai berikut, pilih continue dan computer akan reboot


Instalasi Linux Debian Menggunakan Expertgui (text)
Langkah-langkahnya :
statement :
Ketikkan expertgui pada awal tampilan prompt, lalu tekan enter.
Write down expertgui on the first screen of prompt, press enter.
1. Tekan enter pada debian installer main menu.
Press enter in the debian installer main menu.
1. Pilih bahasa yang diinginkan, lalu tekan enter.
Choose language what do you want babe, press enter.
1. Pilih area yang diinginkan, lalu tekan enter.
Choose area what you want, press enter.
1. Pada choose a locale, pilih “aa_DJ UTF-8”, lalu enter.
In the choose a locale, choose “aa_DJ UTF-8”, and then enter.
1. Pada choose other locales to be supported, pilih “aa_DJ UTF-8”, tekan enter.
In the choose other locales to be support, choose “aa_DJ UTF-8”, and press enter.




1. Pada select to keyboard layout, pilih Type of keyboard : PC-style (AT or PS2 connector) keyboard, tekan enter.



In the select to keyboard layout, choose type of keyboard : PC-style (AT or PS2 connector) keyboard, press enter.
1. Pada keymap to use pilih American English, tekan enter.
In the keymap to use choose American- English, press enter.
1. Pada “choose the next step in the install process”, tekan enter.
In the choose the next step in the install process, press enter.
1. Pada detect and mount CD-ROM, tekan enter.
In the detect and mount CD-ROM, press enter.
1. Pilih semua modul pada menu, lalu enter.
Choose all modules in the menu and then, enter.

1. Pada start PC card service, pilih yes, lalu enter.
In the start PC card service, choose yes, and press enter.
1. Pada PCMCIA resource range option, ketik debian, tekan enter.
In the PCMCIA resource range option, write down debian, press enter.
1. Tekan enter pada load installer components from CD.
Press enter in the load installer components from CD.
1. Pilih semua komponen dari CD, tekan enter.
Choose all components from CD, press enter.

1. Load installer components from CD.
2. Pada detect network hardware, tekan enter.
In the detect network hardware, press enter.
1. Pada PCMCIA resource range option, ketik debian.
In the PCMCIA resource range option, write down debian.
1. Tekan enter pada configure and start a PPPOE connection.
Press enter in the configure and start a PPPOE connection.
1. Tekan enter pada configure the network.
Press enter in the configure the network.
1. Pada auto configure network with DHCP, pilih yes, tekan enter.
In the auto configure network with DHCP, choose yes, press enter.
1. Ketik debian pada hostname, tekan enter.
Write down in the hostname, press enter.
1. Tekan enter pada continue installation remotely using SSH.
Press enter in the continue installation remotely using SSH.
1. Masukkan password yang diinginkan, contoh : ketik 123456, tekan enter.
Enter the password what you want, example : write down 123456, press enter.
1. Tekan enter pada choose a mirror of the debian archive.
Press enter in the choose a mirror of the debian archive.

1. Pada protocol for file downloads, pilih FTP, tekan enter.
In the protocol for file downloads, choose FTP, and press enter.
1. Kemudian pilih Ftp. Debian.org, tekan enter.
And then choose Ftp. Debian.org, press enter.
1. Pada detect disk, tekan enter.
In the detect disk, press enter.

1. Pada partition disk, tekan enter.
In the partition disk, press enter.
1. Pada partitioning method, pilih Guided-use entire, tekan enter.
In the partitioning method, choose Guided-use entire, press enter.
1. Pada select disk to partition, pilih IDE1 master (hda) – 8,5 Gb ST38421A, tekan enter.
In the select disk to partition, choose IDE1 master (had) – 8,5 Gb ST38421A, press enter.
1. Tekan enter pada partitioning scheme, pilih separate /home partition.
Press enter in the partition scheme, choose separate /home partition.
1. Sekarang kita membuat partisi baru dengan menghapus semua partisi.
Now we’ll makes new partition with remove all partitions.

1. Langkah-langkah partisi harddisk :
· Hapus semua partisi
· Buat partisi dengan skema
/root = 4 Gb, type : primary, locate : beginning, fs : ext3.
/home = 2 Gb, type : logical, locate : beginning, fs : ext3.
Swap area = 2 Gb, file system : swap area.
· Pilih finish partitioning and write change to disk, tekan enter.
The steps for harddisk partition :
· Remove all partitions
· Create new partition with scheme
/root = 4 Gb, type : primary, locate : beginning, fs : ext3
/home = 2 Gb, type : logical, locate : beginning, fs : ext3
Swap area = 2 Gb, file system : swap area.
· Choose finish partitioning and write change to disk, press enter.
1. Pada configure time zone, pilih eastern.
In the configure time zone, choose eastern.
1. Tekan enter pada configure the clock.
Press enter in the configure the clock.


1. Setup users and passwords :
2. Masukkan users root password
· Masukkan nama untuk user
· Masukkan nama untuk user account
· Masukkan password untuk user
Setup users and passwords :
· Enter password root user
· Enter name for user
· Enter name for user account
· Enter password for user
1. Tekan enter pada install the base system.
Press enter in the install the base system.
1. Tekan enter pada configure the package manager.
Press enter in the configure the package manager.
1. Tekan enter pada select and install software.
Press enter in the select and install software.
1. Pada participate in the package usage survey, pilih yes, tekan enter.
In the participate in the package usage survey, choose yes, press enter.
1. Pada software to install, pilih desktop environment standard system, tekan enter.
In the software to install, choose desktop environment standard system, press enter.
1. Tekan enter pada install GRUB boot loader on a harddisk.
Press enter in the install GRUB boot loader on a harddisk.

1. Pada install the GRUB boot loader to the master boot record, pilih yes, tekan enter.
In the install the GRUB boot loader to the master boot record, choose yes, press enter.
1. Masukkan GRUB password.
Enter GRUB password.
1. Pada finish the installation, tekan enter.
In the finish the installation, press enter.
1. Instalasi sudah selesai.
The installation is finish.

























DNS SERVER


Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu BIND9..ada banyak cara untuk kita lakukan instalasi BIND9…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan bind9 pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install bind9…lalu masukkan cd yang diminta untuk instalasi bind p..yaitu cd 1 dan juga cd 4

setalah kita menyelesaikan instalasi bind9..masuk pada mcàetcàbind…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya…

- yang pertama kita akan mengedit file named.conf


disini kita hanya melakukan beberapa tambahan perintah untuk melengkapi file yang sudah ada…diantaranya kita perlu menambahkan file

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "debian.com.com" {
type master;
file "/var/cache/bind/db.debian";
};

zone "192.in-addr.arpa" {
type master;
file "/var/cache/bind/db.192";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";


setelah kita selesai mengedit file tersebut kta save dengan menggunakan f2

Lalu kita copy file db.127 dan db.local pada directory yang sama..dan kita pindahkan file tersebut pada directory /var/cache/bind…kemudian kita ganti nama file tersebut..kita ganti nama file tersebut menjadi..

db.127 menjadi db.192
db.loca menjadi db.debian



setelah itu kita edit file db.192 menjadi sebagai berikut


$TTL 604800
@ IN SOA debian.com. root.debian.com.
1 ; serial
604800 ; refresh
86400 ; retry
2419200 ; expire
604800 ; negative cache TTL

;
@ IN NS debian.com.
1.1.168 IN PTR debian.com.
www IN PTR debian.com.


begitu juga pada file db.debian kita hanya perlu sedikit memodifikasi file tersebut


$TTL 604800
@ IN SOA debian.com. root.debian.com.
2 ; serial
604800 ; refresh
86400 ; retry
2419200 ; expire
604800 ; negative cache TTL

;
@ IN NS debian.com.
@ IN A 192.168.1.1
www IN A 192.168.1.1


setelah kita selesai mengedit file tersebut kta save dengan menggunakan f2

setelah kita save kita restart bind9 tersebut denagan menggunakan perintah yang kita ketikkan pada console yaitu…./etc/init.d/bind9 restart
jika tidak ada kata FAILED pada saat kita restart bind9…maka berbahagialah anda hehehehehe….







DHCP3-SERVER


Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu dhcp3-server..ada banyak cara untuk kita lakukan instalasi dhcp3-server…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan dhcp3-server pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install dhcp3-server…lalu masukkan cd yang diminta untuk instalasi dhcp3-server..

setalah kita menyelesaikan instalasi dhcp3-server..masuk pada mcàetcàdhcp3/dhcpd.conf…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya…

#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;

# option definitions common to all supported networks...
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;

#default-lease-time 600;
#max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

#subnet 10.152.187.0 netmask 255.255.255.0 {
#}

# This is a very basic subnet declaration.

#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}

# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.

#subnet 10.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 10.254.239.40 10.254.239.60;
# option broadcast-address 10.254.239.31;
# option routers rtr-239-32-1.example.org;
#}

# A slightly different configuration for an internal subnet.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.10;
option domain-name-servers www.debian.com;
# option domain-name "internal.example.org";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}

# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.

#host passacaglia {
# hardware ethernet 0:0:c0:5d:bd:95;
# filename "vmunix.passacaglia";
# server-name "toccata.fugue.com";
#}

# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
# hardware ethernet 08:00:07:26:c0:a5;
# fixed-address fantasia.fugue.com;
#}

# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.

#class "foo" {
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}

#shared-network 224-29 {
# subnet 10.17.224.0 netmask 255.255.255.0 {
# option routers rtr-224.example.org;
# }
# subnet 10.0.29.0 netmask 255.255.255.0 {
# option routers rtr-29.example.org;
# }
# pool {
# allow members of "foo";
# range 10.17.224.10 10.17.224.250;
# }
# pool {
# deny members of "foo";
# range 10.0.29.10 10.0.29.230;
# }
#}

setelah kita selesai mengedit file tersebut kta save dengan menggunakan f2

Setelah selesai edit file dhcpd.conf kita restart dhcp dengan menggunakan perintah yang kita ketikkan pada console perintah../etc/init.d/dhcp3-server restart



























SQUID

Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu SQUID..ada banyak cara untuk kita lakukan instalasi SQUID…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan SQUID pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install SQUID…lalu masukkan cd yang diminta untuk instalasi SQUID

setalah kita menyelesaikan instalasi SQUID..masuk pada mcàetcàSQUID…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya dengan menambahkan beberapa perintah…

acl all src 0.0.0.0/0.0.0.0
acl lab1 src 192.168.1.0/255.255.255.0
acl tidak dstdomain www.friendster.com
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 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT











serta

# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Example rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks
http_access allow localhost
http_access deny tidak
http_access allow lab1

# And finally deny all other access to this proxy
http_access deny all

# TAG: http_access2
# Allowing or Denying access based on defined access lists
#
# Identical to http_access, but runs after redirectors. If not set
# then only http_access is used.
#
#Default:
# none

# TAG: http_reply_access
# Allow replies to client requests. This is complementary to http_access.
#
# http_reply_access allowdeny [!] aclname ...
#
# NOTE: if there are no access lines present, the default is to allow
# all replies
#
# If none of the access lines cause a match the opposite of the
# last line will apply. Thus it is good practice to end the rules
# with an "allow all" or "deny all" entry.
#
#Default:
# http_reply_access allow all
#
#Recommended minimum configuration:
#
# Insert your own rules here.
#
#
# and finally allow by default
http_reply_access allow all



Setelah selesai edit file squid kita restart dhcp dengan menggunakan perintah yang kita ketikkan pada console perintah../etc/init.d/squid restart


SAMBA

Pertama sebelum instalasi dns server kita harus instalasi terlebih dahulu SAMBA..ada banyak cara untuk kita lakukan instalasi SAMBA…yang pertama kita menggunakan cara :


- aptitude à pada console kita ketikkan perintah aptitude àlalu kita pilih not installed packageàlalu tekan / untuk melakukan pencarianàlalu ketikkan SAMBA pada modus pencarian
- yang kedua dengan menggunakan perintah apt –get installàpada console kita ketikkan apt-get install SQUID…lalu masukkan cd yang diminta untuk instalasi SAMBA

setalah kita menyelesaikan instalasi SAMBA..masuk pada mcàetcàSAMBA…pada directory ini kita akan melakukan beberapa konfigurasi pada file didalamnya dengan menambahkan beberapa perintah…

sebelum mengedit samba kita harus buat salinan copy file dari samba..pertama buat dulu file directory tempat salinan copy file dari samba akan dibuat..misal kita membuat directory benrma “backup”..maka pada console ketikkan perintah mkdir backup..lalu kita copy file smb.conf dan letakkan pada folder backup yang kita buat tadi..dengan cara tekan f5 pada file smb.conf dan pada TO ketik /backup…setelah selesai masuk pada file samba yang terletak pada file /etc/samba/smb.conf… kemudian hapus semua isi file smb.conf pada file /etc/samba/smb.conf dan kita gantikan file yang semua kita hapus tadi dengan..

[global]
workgroup = WORKGROUP
netbios name = amd
security = user

[lagu]
comment = laga
path = /home/badak
read only = yes
#public = yes
valid users = tkj, tahu
write list = tahu

Setelah selesai edit file smb.conf kita restart dhcp dengan menggunakan perintah yang kita ketikkan pada console perintah../etc/init.d/samba restart




FTP SERVER

Install dengan perintah #Apt-get install vsftpdKemudian konfigurasi dengan perintah mcedit /etc/vsftpd.confEdit seperti di bawah ini/yang bergaris bawah (hanya menghilangkan tanda comment/# aj)# Allow anonymous FTP? (Beware - allowed by default if you comment this out).anonymous_enable=YES## Uncomment this to allow local users to log in.local_enable=YES## Uncomment this to enable any form of FTP write command.write_enable=YES## Uncomment this if you want the anonymous FTP user to be able to create# new directories.anon_mkdir_write_enable=YES## Activate directory messages - messages given to remote users when they# go into a certain directory.dirmessage_enable=YES## Activate logging of uploads/downloads.xferlog_enable=YES## Make sure PORT transfer connections originate from port 20 (ftp-data).connect_from_port_20=YES## If you want, you can arrange for uploaded anonymous files to be owned by# a different user. Note! Using "root" for uploaded files is not# recommended!#chown_uploads=YES#chown_username=whoever## You may override where the log file goes if you like. The default is shown# below.#xferlog_file=/var/log/vsftpd.log## If you want, you can have your log file in standard ftpd xferlog format#xferlog_std_format=YES## You may change the default value for timing out an idle session.#idle_session_timeout=600## You may change the default value for timing out a data connection.#data_connection_timeout=120## It is recommended that you define on your system a unique user which the# ftp server can use as a totally isolated and unprivileged user.#nopriv_user=ftpsecureKet : Yang perlu diedit hanya yang bergaris bawah saja lainnya tidak perlu diedit Setelah itu restart dengan perintah /etc/init.d/vsftpd restart