1 / 8

Mirroring Linux and Network Installation Server

Mirroring Linux and Network Installation Server. Oleh: Idris Winarno idris@eepis-its.edu. Tools. Web Server: apache FTP Server: proftpd DHCP Server: dhcp3 Rsync server: rsync TFTP server: tftpd-hpa. Installasi Web Server, FTP Server dan TFTP Server.

penha
Download Presentation

Mirroring Linux and Network Installation Server

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mirroring Linux and Network Installation Server Oleh: Idris Winarno idris@eepis-its.edu

  2. Tools • Web Server: apache • FTP Server: proftpd • DHCP Server: dhcp3 • Rsync server: rsync • TFTP server: tftpd-hpa

  3. Installasi Web Server, FTP Server dan TFTP Server • # apt-get install apache2 proftpd tfptd-hpa rsync dhcp3-server

  4. Persiapan Mirror files • Untuk melihat mirror/subdirectory yang available # rsync kebo.vlsm.org:: • Untuk mendownload # rsync –avz kebo.vlsm.org:: bse/ /home/ftp/bse/ Buat shell programming untuk rsync kemudian masukkan dalam cron untuk di jadwalkan setiap hari melakukan rsync!!!!

  5. Membuat Rsync Server • Edit /etc/default/rsync rubah nilai RSYNC_ENABLE=false menjadi RSYNC_ENABLE=true • Edit /etc/rsyncd.conf [debian] comment = Debian GNU Linux path = /home/ftp/debian/ use chroot = yes lock file = /var/lock/rsyncd read only = yes list = yes uid = nobody gid = nogroup strict modes = yes ignore errors = no ignore nonreadable = yes transfer logging = no timeout = 600 refuse options = checksum dry-run dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz • Restart rsync # /etc/init.d/rsync restart

  6. Uji coba rsync • Cek apakah port 873 untuk rsync pada posisi LISTEN # netstat -npltu|grep 873 # rsync localhost::

  7. Mempersiapkan TFTPBOOT • # cd /var/lib/tftpboot • # rsync -avz kebo.vlsm.org::debian/dists/stable/main/installer-i386/current/images/netboot ./

  8. Mempersiapkan DHCP3 • Edit /etc/dhcp3/dhcpd.conf next-server 10.252.108.xxx; filename "pxelinux.0"; subnet 10.252.108.0 netmask 255.255.255.0 { range 10.252.108.50 10.252.108.250; option domain-name-servers 10.252.108.1; option routers 10.252.108.1; option broadcast-address 10.252.108.255; default-lease-time 600; max-lease-time 7200; }

More Related