modul administrasi server debian

Upload: muhammad-arif-sunaryo

Post on 10-Feb-2018

243 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/22/2019 Modul Administrasi Server Debian

    1/5

    Modul AdministrasiServer Debian Lenny

    2013

    arifSMK Muhammadiyah Bligo

    1/1/2013

  • 7/22/2019 Modul Administrasi Server Debian

    2/5

    M. Arif Sunaryo SMK Muhammadiyah Bligo 2013

    Instalasi Debian Lenny

    1. Installer Boot Menu : Install2. Choose Language : English3. Choose Country : Other

    4. Choose Region : Asia5. Choose Country : Indonesia6. Keymap to Use : American English7. Scaning CD-ROM8. Primary Network Ineterface : eth09. Configure The Network with DHCP : Cancel10. Network Autoconfiguration Failed : Continue11.Network Configuration Method : Configure network manually12. IP Address : 192.168.1.113. Netmask : 255.255.255.0

    14. Gateway : 192.168.1.215. Name Server Address : 192.168.1.116. Hostname : ns17. Domain Name : arif.com18. Setting up the clock : Jakarta19. Partition Method : Guided Use Entire Disk20. Select Disk to Partition : (Merk Harddisk Anda)21. Finish and write changes to disk.22. Write Changes to Disk : Yes23. Partition Formating

    24. Installing Base System25. Root Password : arif123426. Re-enter Passwod : arif123427. Full Name for User : Teknik Komputer dan Jaringan28. Username For Account : tkj29. Choose Password : tkj12330. Re-enter password : tkj12331. Configuring apt32. Scan another CD or DVD : No33. Use a Network Mirror : No

    34. Lanjutan Configuring apt35. Participate In the package : No36. Choose Software : Standard System (only)37. Install Software38. Install Group boot loader : Yes39. Finish Instalation40. LoginUsername : rootPassword : arif1234

  • 7/22/2019 Modul Administrasi Server Debian

    3/5

    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 bind92) cd /etc/bind3) 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.optionsoptions {

    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.arif6) cp db.127 db.1927) nano db.arif

    ;; BIND data file for local loopback interface;$TTL 604800

    @ IN SOA ns.arif.com. ns.arif.com. (2 ; Serial604800 ; Refresh86400 ; Retry2419200 ; Expire604800 ) ; Negative Cache TTL

    ;@ IN NS ns.arif.com.@ IN MX 10 mail.arif.com.@ IN A 192.168.1.1

  • 7/22/2019 Modul Administrasi Server Debian

    4/5

    M. Arif Sunaryo SMK Muhammadiyah Bligo 2013

    ns IN A 192.168.1.1www IN CNAME ns.arif.com.mail IN CNAME 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 ; Serial604800 ; Refresh86400 ; Retry2419200 ; Expire604800 ) ; 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.confsearch arif.comnameserver 192.168.1.1

    10) /etc/init.d/bind9 restartStopping domain name service...: bind9.Starting domain name service.....: bind9.

    11) Konfigurasi Windows ClientIp address 192.168.1.5Subnet Mask 255.255.255.0Preferred DNS Server 192.168.1.1

    12) Sekarang kita check DNS Server kita melalui cmd windows client, ketikkan ping arif.comKalau muncul tulisan Reply from 192.168.1.1 ..Berarti konfigurasi DNS anda berhasil

  • 7/22/2019 Modul Administrasi Server Debian

    5/5

    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 php52) nano /etc/apache2/sites-available/default

    ServerAdmin [email protected] www.arif.comServerAlias arif.comDocumentRoot /var/www/

    3) /etc/init.d/apache2 restartRestarting web server: apache2 ... waiting .

    4) nano /var/www/index.html

    Situs Web arif.com berhasil

    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.