Difference between revisions of "Container-kali"
Jump to navigation
Jump to search
m (AndikaTriwidada memindahkan halaman Lxc-kali ke Container-kali) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
* jalankan debootstrap |
* jalankan debootstrap |
||
sudo debootstrap kali-rolling ./kali-root http://http.kali.org/kali ./kali-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== |
==lxc template== |
||
* Ambil template lxc dari [https://github.com/ |
* Ambil template lxc dari [https://github.com/atriwidada/LXC-Kali-Template sini] |
||
** hidupkan bit executable |
|||
** ubah mirror ke mirror favorit Anda |
** ubah mirror ke mirror favorit Anda |
||
** ubah rilis dari '''kali''' ke '''kali-rolling''' |
|||
** salin template ke /usr/share/lxc/templates |
** salin template ke /usr/share/lxc/templates |
||
** ambil debootstrap script dari http://git.kali.org/gitweb/?p=packages/debootstrap.git;a=blob_plain;f=scripts/kali;hb=HEAD, letakkan di /usr/share/debootstrap/scripts/kali-rolling |
|||
$ wget https://raw.githubusercontent.com/atriwidada/LXC-Kali-Template/master/lxc-kali |
|||
$ chmod +x lxc-kali |
|||
$ sudo cp lxc-kali /usr/share/lxc/templates/lxc-kali-rolling |
|||
$ curl "http://git.kali.org/gitweb/?p=packages/debootstrap.git;a=blob_plain;f=scripts/kali;hb=HEAD" > debootstrap-kali |
|||
$ sudo cp debootstrap-kali /usr/share/debootstrap/script/kali-rolling |
|||
* Buat vm lxc |
|||
$ sudo lxc-create -t kali-rolling -n test-kali |
|||
=Referensi= |
=Referensi= |
Latest revision as of 04:40, 8 August 2016
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
- hidupkan bit executable
- ubah mirror ke mirror favorit Anda
- salin template ke /usr/share/lxc/templates
- ambil debootstrap script dari http://git.kali.org/gitweb/?p=packages/debootstrap.git;a=blob_plain;f=scripts/kali;hb=HEAD, letakkan di /usr/share/debootstrap/scripts/kali-rolling
$ wget https://raw.githubusercontent.com/atriwidada/LXC-Kali-Template/master/lxc-kali $ chmod +x lxc-kali $ sudo cp lxc-kali /usr/share/lxc/templates/lxc-kali-rolling $ curl "http://git.kali.org/gitweb/?p=packages/debootstrap.git;a=blob_plain;f=scripts/kali;hb=HEAD" > debootstrap-kali $ sudo cp debootstrap-kali /usr/share/debootstrap/script/kali-rolling
- Buat vm lxc
$ sudo lxc-create -t kali-rolling -n test-kali