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 + chef
Search
Naoya Ito
February 22, 2013
Technology
38
7k
Vagrant + chef
Naoya Ito
February 22, 2013
Tweet
Share
More Decks by Naoya Ito
See All by Naoya Ito
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
17
4.9k
Functional TypeScript
naoya
15
6.2k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
71
34k
シェルの履歴とイクンリメンタル検索を使う
naoya
8
3.2k
20230227-engineer-type-talk.pdf
naoya
88
75k
関数型プログラミングと型システムのメンタルモデル
naoya
62
100k
TypeScript による GraphQL バックエンド開発
naoya
28
35k
フロントエンドのパラダイムを参考にバックエンド開発を再考する / TypeScript による GraphQL バックエンド開発
naoya
67
24k
「問題から目を背けず取り組む」 一休の開発チームが6年間で学んだこと
naoya
144
59k
Other Decks in Technology
See All in Technology
PHPでWebブラウザのレンダリングエンジンを実装する
dip_tech
PRO
0
200
Claude Code Actionを使ったコード品質改善の取り組み
potix2
PRO
6
2.1k
SalesforceArchitectGroupOsaka#20_CNX'25_Report
atomica7sei
0
140
CI/CD/IaC 久々に0から環境を作ったらこうなりました
kaz29
1
150
Uniadex__公開版_20250617-AIxIoTビジネス共創ラボ_ツナガルチカラ_.pdf
iotcomjpadmin
0
160
Definition of Done
kawaguti
PRO
6
470
rubygem開発で鍛える設計力
joker1007
2
190
より良いプロダクトの開発を目指して - 情報を中心としたプロダクト開発 #phpcon #phpcon2025
bengo4com
1
3.1k
Amazon ECS & AWS Fargate 運用アーキテクチャ2025 / Amazon ECS and AWS Fargate Ops Architecture 2025
iselegant
16
5.3k
_第3回__AIxIoTビジネス共創ラボ紹介資料_20250617.pdf
iotcomjpadmin
0
150
AIエージェント最前線! Amazon Bedrock、Amazon Q、そしてMCPを使いこなそう
minorun365
PRO
13
4.8k
フィンテック養成勉強会#54
finengine
0
170
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
The Cult of Friendly URLs
andyhume
79
6.5k
Visualization
eitanlees
146
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
Faster Mobile Websites
deanohume
307
31k
Done Done
chrislema
184
16k
Docker and Python
trallard
44
3.4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
210
Transcript
WBHSBOU DIFG !OBPZB@JUP
DIFG
ʮ໘നͦ͏ʯ
ࢼݧڥ
̏ͰΠφϑ cf: h&ps://speakerdeck.com/mirakui/quan-‐zi-‐dong-‐parameta:yuningusan
WBHSBOU
None
None
WBHSBOUͷಋೖ 7JSVUBM#PYΛࣄલʹ͍Ε͓ͯ͜͏ $ gem install vagrant $
vagrant box add centos http:// developer.nrel.gov/downloads/vagrant-‐boxes/ CentOS-‐6.3-‐x86_64-‐v2013101.box
$ vagrant init centos $ vagrant up
None
ಥવͷࢼݧڥ
$ vagrant ssh $ vagrant halt $ vagrant
reload
SNrSG ͯ҆͠৺
$ vagrant gem install sahara
$ vagrant sandbox on $ vagrant sandbox rollback
$ vagrant sandbox commit
LOJGFTPMP
ϩʔΧϧ͔ΒDIFG TPMPୟ͍͍͍ͯͷ খֶੜ·Ͱ
None
None
None
# Vagrantfile Vagrant::Config.run do |config| config.vm.box =
"base" config.vm.network :hostonly, "192.168.50.10" # ~/.ssh/config Host 10.0.2.* IdentityFile ~/.vagrant.d/insecure_private_key User vagrant
$ gem install knife-‐solo
$ knife solo init chef-‐solo $ cd chef-‐solo
$ knife cookbook create setup –o site-‐ cookbooks
$ knife solo prepare 192.168.50.10 $ knife solo cook
192.168.50.10
None
# Why Run $ knife solo cook <host> -‐W
# Since knife-‐solo 0.3.0 $ knife solo cook <host> -‐o your::recipe
• WBHSBOUͱDIFGͷ࿈ܞ • #FSLTIFMG
άάϨΧ SZ
vagrant naoya ݕࡧ
ͱΓ͋͑ͣूதઢ
͝੩ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠