Debian Mirroring - PowerPoint PPT Presentation

About This Presentation
Title:

Debian Mirroring

Description:

Debian Mirroring Persiapan Menyaipkan mesin server (OS Linux Debian) Cek repository # vim /etc/apt/sources.list deb http(ftp)://kebo.vlsm.org/debian etch main ... – PowerPoint PPT presentation

Number of Views:154
Avg rating:3.0/5.0
Slides: 12
Provided by: stude21102
Category:

less

Transcript and Presenter's Notes

Title: Debian Mirroring


1
  • Debian Mirroring

2
Persiapan
  • Menyaipkan mesin server (OS Linux Debian)
  • Cek repository
  • vim /etc/apt/sources.list
  • deb http(ftp)//kebo.vlsm.org/debian etch main
    contrib non-free
  • Install aplikasi rsync
  • apt-get install rsync

3
Menyiapkan Folder
  • Membuat folder ftp
  • mkdir /home/ftp
  • Mengecek repository available
  • rsync ltdomaingt
  • Melakukan rsync client
  • rsync -av delete-after ltdomaingtfolder/
    lttargetgt

4
Membuat aplikasi shell programming
  • membuat script
  • mkdir /home/script
  • vim /home/script/putty.sh
  • !/bin/bash
  • rsync -av --delete-after kebo.vlsm.orgputty/
    /home/ftp
  • rubah menjadi binary files
  • chmod x putty.sh
  • Test
  • ./putty.sh

5
Masukkan dalam cron untuk penjadwalan syncronisasi
  • pilihan
  • /etc/cron.d
  • /etc/cron.daily
  • /etc/cron.hourly
  • /etc/cron.weekly
  • /etc/cron.monthly
  • crontab -e

6
Persiapan menjadi Mirror Server
  • Daemon
  • ftp server
  • apache server
  • rsync server

7
FTP Server
  • Melihat paket ftp server yang tersedia di
    repository
  • apt-cache search ftpgrep server
  • Installasi FTP
  • apt-get install proftpd
  • Menyiapkan anonymous
  • vim /etc/proftpd/proftpd.conf
  • Hapus semua tanda pada bagian ltanonymousgt
  • /etc/init.d/proftpd restart

8
Menyalin mirror
  • mv /home/mirror /home/ftp

9
Persiap webserver
  • Aplikasi adalah apache2 dan php
  • apt-cache search apache2
  • apt-get install apache2
  • Tambah folder debian di apache2
  • vim /etc/apache2/sites-available/default
  • alias /debian /home/ftp
  • /etc/init.d/apache2 restart

10
rsync server
  • Enablekan daemon
  • vim /etc/default/rsync
  • RSYNC_ENABLEfalse ganti true
  • Copy examples rsyncd.conf
  • cp /usr/share/doc/rsync/examples/rsyncd.conf
    /etc/
  • Edit /etc/rsyncd.conf
  • PATHltfolder yang akan disharegt
  • /etc/init.d/rsync restart

11
  • selesai
Write a Comment
User Comments (0)
About PowerShow.com