vagrant閰嶇疆涓庢搷浣滐細vagrant box add //娣诲姞box鐨勬搷浣�vagrant init 鍒濆鍖朾ox鐨勬搷浣�vagrant up 鍚姩铏氭嫙鏈虹殑鎿嶄綔vagrant ssh 鐧诲綍鎷熸満鐨勬搷浣�vagrant box list //鏄剧ず褰撳墠宸茬粡娣诲姞鐨刡ox鍒楄〃vagrant box remove //鍒犻櫎鐩稿簲鐨刡oxvagrant destroy //鍋滄褰撳墠姝e湪杩愯鐨勮櫄鎷熸満骞堕攢姣佹墍鏈夊垱寤虹殑璧勬簮vagrant halt //鍏虫満vagrant package //鎵撳寘鍛戒护锛屽彲浠ユ妸褰撳墠鐨勮繍琛岀殑铏氭嫙鏈虹幆澧冭繘琛屾墦鍖�vagrant plugin //鐢ㄤ簬瀹夎鍗歌浇鎻掍欢vagrant reload //閲嶆柊鍚姩铏氭嫙鏈猴紝涓昏鐢ㄤ簬閲嶆柊杞藉叆閰嶇疆鏂囦欢vagrant ssh-config //杈撳嚭鐢ㄤ簬ssh杩炴帴鐨勪竴浜涗俊鎭�vagrant status //鑾峰彇褰撳墠铏氭嫙鏈虹殑鐘舵��vagrant suspend //鎸傝捣褰撳墠鐨勮櫄鎷熸満vagrant resume //鎭㈠鍓嶉潰琚寕璧风殑鐘舵��Vagrantfile閰嶇疆鏂囦欢璇﹁В鍦ㄦ垜浠殑寮�鍙戠洰褰曚笅鏈変竴涓枃浠禫agrantfile锛岄噷闈㈠寘鍚湁澶ч噺鐨勯厤缃俊鎭紝涓昏鍖呮嫭涓変釜鏂归潰鐨勯厤缃紝铏氭嫙鏈虹殑閰嶇疆銆丼SH閰嶇疆銆乂agrant鐨勪竴浜涘熀纭�閰嶇疆銆俈agrant鏄娇鐢≧uby寮�鍙戠殑锛屾墍浠ュ畠鐨勯厤缃娉曚篃鏄疪uby鐨勶紝浣嗘槸鎴戜滑娌℃湁瀛﹁繃Ruby鐨勪汉杩樻槸鍙互璺熺潃瀹冪殑娉ㄩ噴鐭ラ亾鎬庝箞閰嶇疆涓�浜涘熀鏈」鐨勯厤缃��box璁剧疆config.vm.box = "base"涓婇潰杩欓厤缃睍绀轰簡Vagrant瑕佸幓鍚敤閭d釜box浣滀负绯荤粺锛屼篃灏辨槸涓婇潰鎴戜滑杈撳叆vagrant init Box鍚嶇О鏃舵墍鎸囧畾鐨刡ox锛屽鏋滄矑鏈夎緭鍏ox鍚嶇О鐨勮┍锛岄偅涔堥粯璁ゅ氨鏄痓ase锛孷irtualBox鎻愪緵浜哣BoxManage杩欎釜鍛戒护琛屽伐鍏凤紝鍙互璁╂垜浠瀹歏M锛岀敤modifyvm杩欎釜鍛戒护璁╂垜浠
box/vagrant/ / /鐨勬搷/浣�vagrant/閰嶇疆/浜涘熀/嶇疆/agrant/
box/vagrant/ / /鐨勬搷/浣�vagrant/閰嶇疆/浜涘熀/嶇疆/agrant/
-->