Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
vagrant介绍
Search
Allen Liu
June 11, 2012
Programming
300
2
Share
vagrant介绍
vagrant介绍
Allen Liu
June 11, 2012
More Decks by Allen Liu
See All by Allen Liu
字符集科普知识
liuxd
1
74
Nginx基础知识
liuxd
5
350
PHP5.3、PHP5.4的特性介绍与深度挖掘
liuxd
3
320
Node.js那些事儿
liuxd
2
1.6k
Other Decks in Programming
See All in Programming
Making the RBS Parser Faster
soutaro
0
720
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
410
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
450
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
0
110
Programming with a DJ Controller — not vibe coding
m_seki
3
860
20260514_its_the_context_window_stupid.pdf
heita
0
1k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
330
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.5k
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
280
AIを導入する前にやるべきこと
negima
2
360
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
520
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Automating Front-end Workflow
addyosmani
1370
200k
[SF Ruby Conf 2025] Rails X
palkan
2
1k
A Soul's Torment
seathinner
6
2.8k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
140
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Transcript
vagrant vagrant vagrant vagrant介绍 介绍 介绍 介绍 作者:刘喜东 作者:刘喜东 作者:刘喜东
作者:刘喜东
2 vagrant vagrant vagrant vagrant是神马? 是神马? 是神马? 是神马? • 词义:流浪汉;漂泊者;无赖。
• 本质:虚拟环境的管理工具。 • 用途:线上环境与开发环境一致。
2012-6-11 为什么是它? 为什么是它? 为什么是它? 为什么是它? 1.打包与发布?So easy! 2.像虚拟机一样有用,像本地程序一样快。
2012-6-11 一点补充 一点补充 一点补充 一点补充 • 要求:需要抱virtualbox的大腿。 • 语言:用ruby开发而成。 •
官网:http://vagrantup.com/
2012-6-11 把大象装冰箱用几步 把大象装冰箱用几步 把大象装冰箱用几步 把大象装冰箱用几步... ... ... ... 1.安装:virtualbox,vagrant 2.拷贝:93/tech/liuxd/vagrant
3.运行:start.sh
2012-6-11 命令介绍 命令介绍 命令介绍 命令介绍 vagrant init vagrant up vagrant
suspend vagrant halt vagrant destroy vagrant box add $name <path>|<url> vagrant box remove $name vagrant box list vagrant ssh vagrant package
2012-6-11 流程建议 流程建议 流程建议 流程建议 1.box与线上环境同步 2.box变化立刻分发 3.box放置在“haozu/开发环境/”下 4.box名字以日期为版本号
谢谢啊~ 谢谢啊~ 谢谢啊~ 谢谢啊~