vdi:linux
Skirtumai
Čia matote skirtumus tarp pasirinktos versijos ir esamo dokumento.
| Abiejų pusių ankstesnis pataisymasPrevious revisionKitas pataisymas | Previous revision | ||
| vdi:linux [2022/09/05 04:13] – [Pagrindinės VM paruošimas] rolnas | vdi:linux [2025/10/10 08:39] (esamas) – ištrintas mif28585 | ||
|---|---|---|---|
| Linija 1: | Linija 1: | ||
| - | ====== VDI Linux aplinkos paruošimas ====== | ||
| - | |||
| - | ===== Pradinės VM paruošimas ===== | ||
| - | |||
| - | * Prisijungiame [[http:// | ||
| - | * Pasirenkame **Create Virtual Machines** | ||
| - | * **Machine type:** Source machine | ||
| - | * **Target hypervisor: | ||
| - | * **Specify disk path:** / | ||
| - | * **Disk size:** 30GB | ||
| - | * **Mount CD iso:** nepasirinkta (instaliuosime per tinklą) | ||
| - | * **Hardware info:** 1 Sockets, 4 Cores, 4GB RAM, br428 Network | ||
| - | * **OS Type:** Linux | ||
| - | * **Version: | ||
| - | * **Prepend machine name:** **vdi-linuxN** arba **vdi-linux-rdpN**, | ||
| - | * **Number of machines to create:** 1 | ||
| - | * Spaudžiame **Create VMs** | ||
| - | * Spaudžiame **vdi-linuxN** arba **vdi-linux-rdpN** ir nukopijuojame **MAC address:** reikšmę | ||
| - | * Įrašome nukopijuotą reikšmę į [[https:// | ||
| - | * Atsidarome console per **VM Actions** -> **Open console** -> **SPICE console** arba **HTML5 console** (pastaroji gali blogai rodyti) | ||
| - | * **VU MIF Network Boot** meniu pasirenkame **VU MIF Install service...*** | ||
| - | * Pasirenkame **debian10-install** ir spaudžiame klavišą **Tab** | ||
| - | * Pakeičiame desktop.cfg į vdi.cfg ir spaudžiame **Enter** | ||
| - | * Laukiame kol instaliuoja. Kai baigia -- console užsidaro ir VM išsijungia. | ||
| - | * Startuojame su **VM Actions** -> **Power up** | ||
| - | |||
| - | ===== Pradinės VM OS paruošimas ===== | ||
| - | |||
| - | * Prisijungiame prie **linuxN**: '' | ||
| - | < | ||
| - | | ||
| - | apt update | ||
| - | apt install --no-install-recommends eatmydata puppet | ||
| - | apt clean | ||
| - | | ||
| - | puppet cert clean vdi-linux.mif | ||
| - | | ||
| - | puppet agent --test --noop | ||
| - | | ||
| - | puppet cert sign vdi-linux.mif | ||
| - | | ||
| - | eatmydata puppet agent --test |& tee puppet.log | ||
| - | eatmydata puppet agent --test |& tee puppet2.log | ||
| - | sync; | ||
| - | dd if=/ | ||
| - | </ | ||
| - | |||
| - | Gali užtrukti apie 30min. | ||
| - | |||
| - | ===== Pagrindinės VM paruošimas ===== | ||
| - | |||
| - | * Prisijungiame [[http:// | ||
| - | * Jeigu jau yra **linux1a-M**, | ||
| - | * **Use volume from:** pasirenkame **vdi-linuxN** arba **vdi-linux-rdpN** | ||
| - | * Iš **VDI control** vykdome **Copy disk from source** | ||
| - | * Kai baigia kopijuoti, vykdome **VDI control** -> **Turn maintenance off** | ||
| - | * Jei buvo keista **pradinė VM**, tai reikia kopijuoti **du kartus** | ||
| - | * Jei dar nėra **linux1a-M**, | ||
| - | * **Machine type:** Initial machine | ||
| - | * **Target hypervisor: | ||
| - | * **Use volume from:** pasirenkame **vdi-linuxN** arba **vdi-linux-rdpN** | ||
| - | * **Specify disk path:** / | ||
| - | * **Disk size:** 50GB | ||
| - | * **Hardware info:** 1 Sockets, 4 Cores, 4GB RAM, br428 Network | ||
| - | * **OS Type:** Linux | ||
| - | * **Version: | ||
| - | * **Prepend machine name:** **linux1a-M**, | ||
| - | * **Number of machines to create:** 1 | ||
| - | * Spaudžiame **Create VMs** | ||
| - | |||
| - | ===== VDI VM paruošimas ===== | ||
| - | |||
| - | * Prisijungiame [[http:// | ||
| - | * Spaudžiame **Create Virtual Machines** | ||
| - | * **Machine type:** VDI machine | ||
| - | * **Target hypervisor: | ||
| - | * **Use volume from:** pasirenkame **linux1a-M** | ||
| - | * **Specify disk path:** / | ||
| - | * **Hardware info:** 1 Sockets, 4 Cores, 4GB RAM, br428 Network | ||
| - | * **OS Type:** Linux | ||
| - | * **Version: | ||
| - | * **Prepend machine name:** linux-K-, kur K -- būsimų IP adresų priešpaskutinis segmentas | ||
| - | * **Number of machines to create:** 30 | ||
| - | * Spaudžiame **Create VMs** | ||
| - | * **VDI control** -> **Turn on snapshots** | ||
| - | * Patikrinime vieną iš jų, jei viskas gerai tada **VDI control** -> **Turn maintenance off** | ||
vdi/linux.1662351204.txt.gz · Keista: vartotojo rolnas
