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
6.8k
Vagrant + chef
Naoya Ito
February 22, 2013
Tweet
Share
More Decks by Naoya Ito
See All by Naoya Ito
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
49
16k
シェルの履歴とイクンリメンタル検索を使う
naoya
7
2.7k
20230227-engineer-type-talk.pdf
naoya
81
35k
関数型プログラミングと型システムのメンタルモデル
naoya
52
59k
TypeScript による GraphQL バックエンド開発
naoya
26
24k
フロントエンドのパラダイムを参考にバックエンド開発を再考する / TypeScript による GraphQL バックエンド開発
naoya
65
23k
「問題から目を背けず取り組む」 一休の開発チームが6年間で学んだこと
naoya
141
56k
一休の現在と、ここまでの道のり
naoya
89
40k
技術的負債と向き合う
naoya
248
75k
Other Decks in Technology
See All in Technology
TanStack Routerで型安全かつ効率的なルーティングを実現
ytaisei
4
760
DevRelによる信頼構築とデータ駆動で変わるエンジニア採用 / DevRel Trust Building to Data Driven Engineering Hiring
bobtani
1
120
Observabilityジャーニーを実現するためのAWSサービス:CloudWatch編
o11yfes2023
0
140
多言語化対応における TypeScript の型定義を通して開発のしやすさについて考えた / TSKaigi TypeScript Multilingualization
nabeliwo
2
380
令和版ソフトウェアエンジニアの情報収集術 PHPカンファレンス香川2024
ysknsid25
4
840
日本が誇るイタリアのダンスミュージック!? ユーロビートって何??
minorun365
PRO
1
130
回り回って効いてくる副次的効果としての技術広報/techpr
nishiuma
1
170
パフォーマンス最適化のベストプラクティス
databricksjapan
0
190
cgroup v2 で何が変わったのか / TechFeed Experts Night #28
tenforward
2
150
大規模言語モデル (LLM)における低精度数値表現
pfn
PRO
3
780
AI JIMY - 登壇(インストール編)
hanacchi
0
150
本当のガバクラ基礎
toru_kubota
0
310
Featured
See All Featured
Thoughts on Productivity
jonyablonski
60
3.9k
Why Our Code Smells
bkeepers
PRO
331
56k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.7k
YesSQL, Process and Tooling at Scale
rocio
165
13k
jQuery: Nuts, Bolts and Bling
dougneiner
60
7.2k
Designing with Data
zakiwarfel
96
4.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
39
2.5k
Side Projects
sachag
451
41k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
For a Future-Friendly Web
brad_frost
172
9k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
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 ݕࡧ
ͱΓ͋͑ͣूதઢ
͝੩ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠