- Kulowetsa VDI ndiye njira yofulumira yogwiritsanso ntchito makina omwe adakhazikitsidwa kale mu VirtualBox.
- Zowonjezera Alendo zimathandizira bolodi, kukokera/kugwetsa, ndi zikwatu zogawana ndi wolandirayo.
- Bridged network mode imaphatikiza VM mu LAN ngati kompyuta ina yokhala ndi IP yake.
- VBoxManage imakupatsani mwayi wokulitsa VDI ndikusintha kukhala VHD pakuyika disk mu Windows.

Ngati mumagwira ntchito ndi makina enieni tsiku ndi tsiku, posachedwa mudzafunika Ikani chithunzi cha VDI mu VirtualBox popanda kusokoneza moyo wanu. Kulowetsa disk yomwe idapangidwa kale kumakupulumutsirani nthawi, kumapewa kuyikanso movutikira, komanso, m'malo a Windows, ngakhale kukulolani kusunga. mapulogalamu ovomerezeka popanda kuyiyambitsanso kuyambira pachiyambi.
Mu bukhuli ndikufotokozera mwatsatanetsatane momwe pangani ndi/kapena lowetsani makina enieni kugwiritsa ntchito VDI, bwanji tsitsani ISO ngati mukufuna kuyambira pachiyambi, ndi momwe mungasinthire makonda: CPU, network, zikwatu zogawana, Zowonjezera Mlendo, clipboard, encryption, cloning, export ndipo, zothandiza kwambiri, kukulitsa VDI disk kapena kuisintha kuti ikhazikike mwachindunji pa wolandirayo.
VDI ndi chiyani ndipo muyenera kuigwiritsa ntchito liti?
VDI (Virtual Disk Image) ndi mtundu wa disk wa VirtualBox; mkati mwake muli makina ogwiritsira ntchito, mapulogalamu ndi deta ya VM, kotero kuti tumizani VDI Ndizofanana ndi kugwiritsanso ntchito kuyika koyikiratu. Ndibwino mukayikanso zida zanu, kusuntha makina pakati pa ma PC, kapena mukufuna kutsegula dawunilodi makina pafupifupi popanda kuyikanso chilichonse.
Ngati mukuchokera kumapulatifomu ena, VirtualBox imathandiziranso ma disks. VMDK (VMware) ndi VHD (Virtual PC/Hyper-V), kotero mutha kuwatsegula kapena kuwatembenuza ngati pakufunika, kusunga malo anu osawapanganso.

Zofunika
Pankhani yanthawi zonse yotengera chithunzi cha VDI, ndikwanira kukhala ndi a Linux kapena Windows desktop ndi malo zojambulajambula ndi Virtualbox zoyikidwa bwino. Masitepewo ndi ofanana pa distro iliyonse, mwachitsanzo ndi VirtualBox pa Ubuntu Zimagwira ntchito monga momwe zimagawira ena.
Komanso, onetsetsani kuti muli ndi fayilo .vdi pa disk yanu ndipo ngati mukufuna kupezerapo mwayi pazinthu zapamwamba monga clipboard, kukoka ndikugwetsa kapena zikwatu zogawana, ikaninso Zowonjezera Mlendo mu VM mukangolowetsa kapena kupanga makina ogwiritsira ntchito.
Kulowetsa chithunzi cha VDI mu VirtualBox (sitepe ndi sitepe)
Iyi ndiye njira yachangu kwambiri yopezera VM yomwe ilipo kale ndikuyenda kuchokera pakompyuta yanu VDI disk. Imagwira pa Linux ndi Windows ndi mawonekedwe a VirtualBox.
- Tsegulani VirtualBox ndikudina Chatsopano. Pazenera lolenga, lowetsani dzina la makina ndikusankha mtundu ndi mtundu wa makina ogwiritsira ntchito omwe ali ndi VDI (mwachitsanzo, Windows XP ngati disk yanu idapangidwa ndi dongosolo limenelo).
- Sinthani kukumbukira kwa RAM kutengera zomwe wolandirayo ali nazo. Sankhani ndalama zokwanira kwa mlendo Os osasiya kompyuta yanu ikusowa mpweya.
- M'gawo la disk, sankhani kusankha Gwiritsani ntchito fayilo yomwe ilipo kale, dinani chizindikiro cha foda ndikupeza fayilo yanu ndi .vdi extension. Akasankhidwa, VirtualBox iwonetsa dzina lake ndi kukula Wokondedwa wanga.
- Pulsa Pangani. Ndi ichi, VM imalumikizidwa ndi VDI yanu ndipo mutha kuyang'ana magawo ake (network, processors, video) musanayambe. Ngati zonse zili bwino, mudzakhala nazo kunja makina pafupifupi ndipo wokonzeka kupita.
Kulowetsa VDI kumakupulumutsirani kukonzanso kuyika konse, komanso m'malo akale monga Windows XP, ndi golide weniweni ngati mudalira mapulogalamu omwe angakhale ovuta kuyikanso kapena kuyatsanso lero.
Pangani makina enieni kuchokera ku ISO (ngati mukufuna kuyambira poyambira)
Ngati m'malo moitanitsa VDI mukufuna kukhazikitsa dongosolo kuchokera ISOVirtualBox imaphatikizapo wizard yomveka bwino. Mukhoza, mwachitsanzo, kutsitsa Windows ISO ndi Media Creation Tool ndikupitiriza.
1) Dinani Pangani ndiyeno ngati zikuwoneka kwa inu, sinthani ku Njira ya Katswiri kukhala ndi zoikamo zonse pafupi. Tchulani VM, sankhani mtundu wa dongosolo ndi mtundu, ndikugawa Ram kutengera zomwe timu yanu ili nayo.
2) Sankhani Pangani hard disk yatsopano. Monga mtundu, wamba ndi VDI, ngakhale mutha kusankha VMDK kapena VHD malinga ndi kuyanjana kwamtsogolo.
3) Sankhani Adasungitsidwa mwamphamvu kuti fayilo ikule mukamagwiritsa ntchito (iyi ndiyo njira yosinthika kwambiri). Fotokozani kuchuluka kwake, sankhani chikwatu chomwe mukupita ndi chizindikiro chofananira, ndikudina Pangani.
4) Tsegulani zoikamo za VM (dinani kumanja> Kukhazikitsa) ndikupita ku System> Purosesa kuti mugawire cpu kodi. Kenako, mu Storage, sankhani chizindikiro cha CD, dinani kumanja ndikudina Sankhani fayilo ya virtual Optical disk kutsitsa ISO.
5) Landirani ndikuyamba YambaniVM idzayamba kuchokera ku ISO, ndipo mudzatha kukhazikitsa dongosolo monga momwe mungakhalire pa PC yeniyeni, sitepe ndi sitepe komanso popanda zodabwitsa.
Zowonjezera Alendo, Mafoda Ogawana, ndi Clipboard
Mukayika chithunzi cha VDI mu VirtualBox, ndikofunikira kuwonjezera Zowonjezera za VirtualBox Zowonjezera. Amawongolera magwiridwe antchito azithunzi, amathandizira kusintha kukula kwazenera ndikupangitsa kuti zikhale zosavuta kugawana fayilo.
Ma Folder Ogawana: Ndi VM yozimitsa kapena kuyatsa, pitani ku Zokonda > Mafoda Ogawana, dinani chizindikiro cha chikwatu ndi "+", sankhani chikwatu chosungira, tchulani ndikuyambitsa zomwe mukufuna (kuwerenga-kokha, kukwera kwamoto, ndi zina).
Clipboard ndi kukokera / dontho: pitani ku Zambiri > Zapamwamba ndi kusankha Bidirectional zonse mu Gawani Clipboard komanso Kokani ndi Kugwetsa. Kumbukirani kuti kuti igwire ntchito mokhazikika muyenera Zowonjezera Mlendo anaikidwa mkati mwa mlendo.
Host Key ndi Shortcuts mu VM
VirtualBox imatanthauzira a Kiyi yolandila kwa njira zazifupi zomwe zingabere wolandila (zosasintha nthawi zambiri zimakhala zolondola Ctrl). Kuchokera pa VM bar, tsegulani Input> Kiyibodi ndikuthandizira kuphatikiza ngati Ctrl + alt + Del kuwayambitsa mlendo popanda kukhudza zida zakuthupi.
Ngati mukufuna kuwunikanso kapena kusintha njira zazifupi, pitani ku Zokonda za Kiyibodi kuchokera pamndandanda womwewo kuti muwone zophatikizira zonse zomwe mungagawidwe ndi sintha iwo momwe mungakondere.
Network mu VirtualBox: Sankhani Njira Yoyenera
Netiweki ndiyofunikira mukayika chithunzi cha VDI mu VirtualBox. Izi ndichifukwa choti VM ikhoza kuyenda kapena kuphatikiza ndi LAN yanu. Zikhazikiko> Network Mutha kusankha njira yomwe ingagwirizane ndi momwe mungagwiritsire ntchito.
Zomwe mungapeze: Osalumikizidwa (popanda net), NAT (mwachisawawa, imapita ku intaneti kudzera mwa wolandirayo), Malingaliro a kampani NAT Network (monga NAT koma kulola ma VM angapo kuwonana), adaputala mlatho (VM imapeza IP kuchokera pa rauta ndikuchita ngati kompyuta ina iliyonse pa netiweki), Network yamkati (pokhapokha pakati pa ma VM pa netiweki yamkati yomweyi), Adapter yokhayokha (kulumikizana kokha pakati pa host ndi VM) ndi Generic controller (zochitika zapadera).
Kuti muphatikize muofesi yanu kapena kunyumba ndikuwonetsetsa ndi magulu ena, sankhani Adapter ya BridgeMukayika kusinthako, muwona kuti makinawo akufunsani kuti mulumikizanenso, ndipo nthawi yomweyo, VM ilandila adilesi ya IP kuchokera ku rauta yanu ngati ndi PC ina.
Sinthani ma disks: onjezerani VDI, onjezani disk yachiwiri, ndikuwona malo a disk
Ngati mulibe malo, mungathe kuwonjezera VDI kapena yonjezerani galimoto ina yeniyeni. Kumbukirani kuti kuti musinthe kukula kwake, ndi bwino kukhala ndi disk yosinthika ndikuyimitsa VM musanasinthe chilichonse.
Wonjezerani VDI (Windows): Pezani fayilo ya .vdi ndikupanga kopi yosunga zosunga zobwezeretsera. Tsegulani cholumikizira mufoda yoyika VirtualBox (mwachitsanzo, C: Mafayilo a Pulogalamu Oracle VirtualBox) ndi Shift + dinani kumanja> Tsegulani zenera la PowerShell apa.
Thamangani lamulo losintha ndi VBoxManage kuwonetsa njira ya disk ndi kukula kwatsopano mu MB:
.\VBoxManage.exe modifyhd "D:\\virtual machines\\Windows10 x64 Home\\Windows10 x64 Home.vdi" --resize 80000
Mukamaliza, yambitsani VM ndi kulowa Kusamalira ma disk Mu Windows mudzawona malo owonjezera akuda; dinani pomwepa pagawo la dongosolo ndikusankha Wonjezerani mphamvu kupezerapo mwayi pa kukula kwatsopano.
Onjezani disk yachiwiri: in Zikhazikiko> yosungirako, onjezani chipangizo chatsopano (IDE/SATA/SCSI/NVMe) ndikusindikiza Pangani chosungira. Fotokozani mtundu (VDI), kukula, mwina zamphamvu ndi kulenga. Mkati mwa OS ya alendo, tsegulani Disk Management, yambitsani disk yatsopano, pangani voliyumu yosavuta, ndikupatseni chilembo.
Ngati mutayika chithunzi cha VDI mu VirtualBox voliyumu yatsopano sikuwoneka muzofufuza zamafayilo nthawi yomweyo, a VM kuyambiransoko nthawi zambiri amazisiya zikuwonekera nthawi yomweyo.
Tumizani, lowetsani, phatikizani, ndi kutsegula ma disks a VMware
Kugawana kapena kusuntha ma VM pakati pa nsanja, VirtualBox imalola kutumiza kunja kupita ku OVF kapena OVA (yomalizayo imayika chilichonse kukhala fayilo imodzi). Pitani ku Fayilo> Export Virtualized Service, sankhani VM, mtundu, ndi kopita, onjezani metadata ngati mukufuna, ndikusindikiza. Tumizani.
Kuti musinthe, gwiritsani ntchito Fayilo> Lowetsani sevisi yokhazikika, sankhani phukusi la OVF/OVA ndikutsatira mfitiyo mpaka kutumiza ku kompyuta yanu kutatha.
Ngati mukufuna kopi yofanana, tsekani VM ndikusankha Clone. Perekani dzina ndikusankha bokosilo Bwezeretsani adilesi ya MAC kupewa mikangano pa intaneti. Mudzakhala ndi makina awiri ofanana okonzeka kugwira ntchito.
Kodi muli ndi disk ya VMware? Dinani pa Zatsopano, sankhani Gwiritsani ntchito fayilo ya hard disk yomwe ilipo ndikusankha .vmdk. Konzani RAM ndi dzina, ndikupanga VM; VirtualBox imatsegula VMDK popanda vuto ndikukulolani kuti mugwiritse ntchito zomwe mungasankhe.
Tsopano muli ndi njira yolimba yoyika chithunzi cha VDI mu VirtualBox, kugawana deta, kukulitsa zosungirako, makina opangira ma cloning kapena kutumiza kunja, ndipo, ngati pakufunika, kutembenuza VDI kukhala VHD kuti muwerenge zomwe zili mkati mwake mwachindunji kwa wolandirayo. Msewu wokwanirawu umakhudza chilichonse kuyambira pazochitika zakale (monga ma VM amtundu wopanda maukonde) mpaka kumakhazikitsidwe amakono okhala ndi maukonde olumikizidwa komanso magwiridwe antchito ngati bolodi lanjira ziwiri.
Mkonzi wokhazikika pazaukadaulo komanso nkhani zapaintaneti yemwe ali ndi zaka zopitilira khumi pazama media osiyanasiyana. Ndagwira ntchito ngati mkonzi komanso wopanga zinthu pa e-commerce, kulumikizana, kutsatsa pa intaneti ndi makampani otsatsa. Ndalembanso pamawebusayiti azachuma, azachuma ndi magawo ena. Ntchito yanga ndi chidwi changanso. Tsopano, kudzera mu zolemba zanga mu Tecnobits, Ndimayesetsa kufufuza nkhani zonse ndi mwayi watsopano umene dziko laukadaulo limatipatsa tsiku lililonse kuti tisinthe miyoyo yathu.