Vous êtes sur la page 1sur 5

2013

Modul Administrasi Server Debian Lenny

arif SMK Muhammadiyah Bligo 1/1/2013

Instalasi Debian Lenny 1. Installer Boot Menu : Install 2. Choose Language : English 3. Choose Country : Other 4. Choose Region : Asia 5. Choose Country : Indonesia 6. Keymap to Use : American English 7. Scaning CD-ROM 8. Primary Network Ineterface : eth0 9. Configure The Network with DHCP : Cancel 10. Network Autoconfiguration Failed : Continue 11.Network Configuration Method : Configure network manually 12. IP Address : 192.168.1.1 13. Netmask : 255.255.255.0 14. Gateway : 192.168.1.2 15. Name Server Address : 192.168.1.1 16. Hostname : ns 17. Domain Name : arif.com 18. Setting up the clock : Jakarta 19. Partition Method : Guided Use Entire Disk 20. Select Disk to Partition : (Merk Harddisk Anda) 21. Finish and write changes to disk. 22. Write Changes to Disk : Yes 23. Partition Formating 24. Installing Base System 25. Root Password : arif1234 26. Re-enter Passwod : arif1234 27. Full Name for User : Teknik Komputer dan Jaringan 28. Username For Account : tkj 29. Choose Password : tkj123 30. Re-enter password : tkj123 31. Configuring apt 32. Scan another CD or DVD : No 33. Use a Network Mirror : No 34. Lanjutan Configuring apt 35. Participate In the package : No 36. Choose Software : Standard System (only) 37. Install Software 38. Install Group boot loader : Yes 39. Finish Instalation 40. Login Username : root Password : arif1234

M. Arif Sunaryo SMK Muhammadiyah Bligo 2013

Konfigurasi DNS (Domain Name Service) Debian Lenny * Kata2 yang bercetak tebal adalah perintah yang dijalankan pada komputer server. * Kata2 yang berwarna merah adalah yang harus anda ubah atau buat. 1) apt-get install bind9 2) cd /etc/bind 3) nano named.conf.local zone "arif.com" { type master; file "/etc/bind/db.arif"; }; zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/db.192"; }; * 1.168.192 berasal dari : 192.168.1.1 4) nano named.conf.options options { directory "/var/cache/bind"; forwarders { 192.168.1.1; }; allow-query { any; }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; }; * Jangan ubah/hapus baris yang lain. 5) cp db.local db.arif 6) cp db.127 db.192 7) nano db.arif ; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA ns.arif.com. ns.arif.com. ( 2 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS ns.arif.com. @ IN MX 10 mail.arif.com. @ IN A 192.168.1.1

ns www mail

IN IN IN

A CNAME CNAME

192.168.1.1 ns.arif.com. ns.arif.com.

8) nano db.192 ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA ns.arif.com. ns.arif.com. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS ns.arif.com. 1 IN PTR ns.arif.com. * 1 berasal dari : 192.168.1.1 9) nano /etc/resolv.conf search arif.com nameserver 192.168.1.1 10) /etc/init.d/bind9 restart Stopping domain name service...: bind9. Starting domain name service.....: bind9. 11) Konfigurasi Windows Client Ip address 192.168.1.5 Subnet Mask 255.255.255.0 Preferred DNS Server 192.168.1.1 12) Sekarang kita check DNS Server kita melalui cmd windows client, ketikkan ping arif.com Kalau muncul tulisan Reply from 192.168.1.1.. Berarti konfigurasi DNS anda berhasil

M. Arif Sunaryo SMK Muhammadiyah Bligo 2013

Konfigurasi Web Server Debian Lenny * Kata2 yang bercetak tebal adalah perintah yang dijalankan pada komputer server. * Kata2 yang berwarna merah adalah yang harus anda ubah atau buat. 1) apt-get install apache2 php5 2) nano /etc/apache2/sites-available/default <VirtualHost *:80> ServerAdmin ns@arif.com ServerName www.arif.com ServerAlias arif.com DocumentRoot /var/www/ </VirtualHost> 3) /etc/init.d/apache2 restart Restarting web server: apache2 ... waiting . 4) nano /var/www/index.html <html><body><h1>Situs Web arif.com berhasil</h1></body></html> 5) Buka browser komputer client dan masukkan url www.arif.com. Kalau muncul tulisan Situs Web arif.com berhasil, berarti konfigurasi Web Server Anda Berhasil.

Vous aimerez peut-être aussi