Instalasi openSUSE tanpa CD/DVD – Menggunakan PXE Boot Network Bagian II
/* Catatan : Artikel ini merupakan bagian kedua dari 2 tulisan mengenai setting PXE Server agar bisa melakukan instalasi openSUSE melalui jaringan. Silakan merujuk pada Tutorial Bagian I Untuk penjelasan pengantar dan konfigurasi awal sistem. */

MEMPERSIAPKAN KONFIGURASI DHCP SERVER
DHCP(Dynamic Host Configuration Protocol) diperlukan untuk memberikan IP Address dan rujukan mengenai PXE Server yang akan digunakan oleh klien. Berikut adalah panduan konfigurasinya :
- Install DHCP Server
zypper in -t pattern dhcp_dns_server
- Backup konfigurasi awal DHCP Server
mv /etc/dhcpd.conf /etc/dhcpd.conf.original
- Buat file /etc/dhcpd.conf baru dengan isi sebagai berikut :
# dhcpd.conf # # Sample configuration file for ISC dhcpd ## option definitions common to all supported networks... # # All of this happens behind the firewall, and the whole domain # is made-up anwyay, so this is mostly fluff. # option domain-name "vavai.net"; # We don't have Nameservers... so let's just forget this item #option domain-name-servers ns1.networkboot.org, ns2.networkboot.org; default-lease-time 600; max-lease-time 7200; # if you do not use dynamical DNS updates: # # this statement is needed by dhcpd-3 needs at least this statement. # you have to delete it for dhcpd-2, because it does not know it. # # if you want to use dynamical DNS updates, you should first read # read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt ddns-update-style none; ddns-updates off; # 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; # We only want to respond to PXE DHCP requests allow booting; # define rules to identify DHCP Requests from PXE and Etherboot clients. class "pxe" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; } class "etherboot" { match if substring (option vendor-class-identifier, 0, 9) = "Etherboot"; } # This is our subnet for PXE boot/installation. subnet 192.168.0.0 netmask 255.255.255.0 { option broadcast-address 192.168.0.255; pool { range 192.168.0.101 192.168.0.150; # only need a few addresses default-lease-time 180; # no long lease time required for booting max-lease-time 360; # booted system does its own dhcp request server-name "192.168.0.8"; # This happens to be the IP of this server too next-server 192.168.0.8; # Address of the TFTP server filename "pxelinux.0"; allow members of "pxe"; # only respond to PXE requests allow members of "etherboot"; # allow etherboot, too } } - Lakukan perubahan pada file /etc/dhcpd.conf, terutama untuk IP Address dari DHCP Server. Pada tutorial ini, IP yang akan digunakan sebagai server PXE adalah IP 192.168.0.8. Jangan lupa sesuaikan juga subnet, broadcast dan range address.
- Edit file /etc/sysconfig/dhcpd dan aktifkan network card yang akan digunakan untuk menerima respon permintaan DHCP. Contoh, jika saya menggunakan LAN Card pertama sebagai penerima respon, saya akan memilih eth0. Jika bingung, silakan pilih ANY
.
# Examples: DHCPD_INTERFACE="eth0" # DHCPD_INTERFACE="eth0 eth1 eth2 tr0 wlan0" # DHCPD_INTERFACE="internal0 internal1" # DHCPD_INTERFACE="ANY" # DHCPD_INTERFACE="eth0"
- Start/Restart DHCP Service
service dhcpd restart
KONFIGURASI PXE BOOT
- Copy semua file yang ada di DVD (lihat bagian I) didalam folder/boot/i386/loader kedalam folder /srv/tftpboot : message, initrd dan linux
- Copy file yang ada di DVD dengan nama/boot/i386/loader/isolinux.cfg kedalam folder /srv/tftpboot/pxelinux.cfg/. Ganti namanya menjadi default
- Restart DHCP Service
service dhcpd restart
MENGGUNAKAN KLIEN UNTUK BOOT MELALUI PXE
- Siapkan PC dengan Network card yang mendukung proses Boot melalui network
- Ubah setting BIOS, jadikan Boot from LAN/Boot From Network sebagai prioritas
- Restart komputer.
`

Popularity: 22% [?]




[...] Tutorial berlanjut ke bagian II. [...]
[...] mengenai “Tutorial Instalasi openSUSE Tanpa CD/DVD Menggunakan PXE Boot” bagian I dan bagian II. Kedua tutorial itu semestinya mudah diikuti dan sukses dijalankan karena saya mencobanya berulang [...]
[...] Instalasi openSUSE tanpa CD/DVD – Menggunakan PXE Boot Network Bagian II [...]
thanx ilmunya..
ntar boleh nanya2kan???
via email aja..
Bos, kalau instalasi windows xp / seven tanpa CD/DVD dengan menggunakan PXE boot networking Server opensuse ada gak ya ????
biar bisa menambah ilmu ni, hehehehe