Container-kali

From i14i
Revision as of 06:40, 5 August 2016 by AndikaTriwidada (talk | contribs)
Jump to navigation Jump to search

Install Kali Linux di bawah LXC

Langkah Instalasi

debootstrap

  • install pgp key kali
sudo apt-key adv --keyserver pgpkeys.mit.edu --recv-keys ED444FF07D8D0BF6
  • ambil script debootstrap kali
curl "http://git.kali.org/gitweb/?p=packages/debootstrap.git;a=blob_plain;f=scripts/kali;hb=HEAD" > kali-debootstrap
  • jalankan debootstrap
sudo debootstrap kali-rolling ./kali-root http://http.kali.org/kali ./kali-debootstrap

vagrant box

Hasil debootstrap dapat digunakan untuk membuat box vagrant sebagai bahan instalasi selanjutnya

lxc template

  • Ambil template lxc dari sini
    • ubah mirror ke mirror favorit Anda
    • ubah rilis dari kali ke kali-rolling
    • salin template ke /usr/share/lxc/templates

Referensi