Dab tsi yog vagrant provision?
Dab tsi yog vagrant provision?

Video: Dab tsi yog vagrant provision?

Video: Dab tsi yog vagrant provision?
Video: Viral | डेड बॉडी निकालने नदी में उतरे टीआई की डूबने से मौत, 7 मिनट का ये वीडियो देखकर रह जाएंगे सन्न 2024, Kaum ib hlis
Anonim

Hais kom ua: kev pab cuam [vm-npe]

Khiav ib qho configured provisioners tiv thaiv kev khiav Vagrant tswj tshuab. Cov lus txib no yog ib txoj hauv kev zoo los sim sai sai rau txhua tus neeg muab kev pabcuam, thiab tshwj xeeb tshaj yog muaj txiaj ntsig zoo rau kev txhim kho ntxiv ntawm cov ntawv plhaub, Kws ua zaub mov noj, lossis Puppet modules.

Ntxiv rau qhov no, dab tsi yog vagrant feem ntau siv rau?

Vagrant yog software uas yog siv rau tswj ib puag ncig kev loj hlob. Los ntawm cov kab hais kom ua, koj tuaj yeem rub ib qho OS muaj, nruab nws, teeb tsa nws, khiav nws, ua haujlwm hauv nws, kaw nws, thiab ntau dua. Siv VirtualBox thiab Vagrant , koj tuaj yeem simulate qhov chaw tsim khoom ntawm koj lub app lossis lub vev xaib.

Ib yam li ntawd, kuv yuav tsum siv docker lossis vagrant? Cov lus teb luv luv yog tias koj xav tswj cov tshuab, koj yuav tsum siv Vagrant . Thiab yog koj xav tsim thiab khiav kev siv ib puag ncig, koj yuav tsum siv Docker . Vagrant yog lub cuab yeej rau kev tswj cov tshuab virtual. Docker yog ib qho cuab yeej rau kev tsim thiab xa cov ntawv thov los ntawm kev ntim lawv rau hauv cov thawv sib sib zog nqus.

Tsis tas li ntawd, kuv yuav siv vagrant li cas?

Koj ua tau siv vagrant thiab vagrant ssh tso tawm thiab nkag mus rau hauv lub tshuab virtual, tom qab ntawd tsim cov ntawv xeem hauv / vagrant phau ntawv. Siv cov lus txib tawm mus kaw qhov kev sib tham SSH, tom qab ntawd siv ls los sau cov ntsiab lus ntawm koj vagrant -test directory. Nws yuav tsum tso saib cov ntawv xeem uas koj tsim.

Puas yog vagrant siv rau kev tsim khoom?

Nyob rau hauv ib txoj kev yooj yim heev, Vagrant yog qhov qhib qhov project uas yog siv tsim thiab faib cov chaw virtual. Qhov no txhais tau tias, qhov tseem ceeb, uas nws tso cai rau koj los tswj thiab sib koom ua ntej teeb tsa virtual tshuab.

Pom zoo: