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
Functional TypeScript
naoya
15
5.9k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
67
31k
シェルの履歴とイクンリメンタル検索を使う
naoya
8
3.1k
20230227-engineer-type-talk.pdf
naoya
88
73k
関数型プログラミングと型システムのメンタルモデル
naoya
61
98k
TypeScript による GraphQL バックエンド開発
naoya
28
34k
フロントエンドのパラダイムを参考にバックエンド開発を再考する / TypeScript による GraphQL バックエンド開発
naoya
67
24k
「問題から目を背けず取り組む」 一休の開発チームが6年間で学んだこと
naoya
144
59k
一休の現在と、ここまでの道のり
naoya
90
41k
Other Decks in Technology
See All in Technology
10分でわかるfreeeのQA
freee
1
12k
AI Agentを「期待通り」に動かすために:設計アプローチの模索と現在地
kworkdev
PRO
1
170
こんなデータマートは嫌だ。どんな? / waiwai-data-meetup-202504
shuntak
5
1.6k
クォータ監視、AWS Organizations環境でも楽勝です✌️
iwamot
PRO
0
120
Webアプリを Lambdaで動かすまでに考えること / How to implement monolithic Lambda Web Application
_kensh
7
1.1k
20250408 AI Agent workshop
sakana_ai
PRO
11
2.3k
ソフトウェア開発現代史: "LeanとDevOpsの科学"の「科学」とは何か? - DORA Report 10年の変遷を追って - #DevOpsDaysTokyo
takabow
0
160
試験は暗記より理解 〜効果的な試験勉強とその後への活かし方〜
fukazawashun
0
290
はてなの開発20年史と DevOpsの歩み / DevOpsDays Tokyo 2025 Keynote
daiksy
5
1.2k
Startups On Rails 2025 @ Tropical on Rails
irinanazarova
0
230
はじめてのSDET / My first challenge as a SDET
bun913
0
160
Amazon S3 Tables + Amazon Athena / Apache Iceberg
okaru
0
220
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
28
1.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.5k
It's Worth the Effort
3n
184
28k
Visualization
eitanlees
146
16k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.4k
Navigating Team Friction
lara
184
15k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.7k
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 ݕࡧ
ͱΓ͋͑ͣूதઢ
͝੩ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠