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.9k
Vagrant + chef
Naoya Ito
February 22, 2013
Tweet
Share
More Decks by Naoya Ito
See All by Naoya Ito
Functional TypeScript
naoya
13
5.5k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
63
27k
シェルの履歴とイクンリメンタル検索を使う
naoya
7
3k
20230227-engineer-type-talk.pdf
naoya
85
40k
関数型プログラミングと型システムのメンタルモデル
naoya
61
88k
TypeScript による GraphQL バックエンド開発
naoya
28
30k
フロントエンドのパラダイムを参考にバックエンド開発を再考する / TypeScript による GraphQL バックエンド開発
naoya
66
23k
「問題から目を背けず取り組む」 一休の開発チームが6年間で学んだこと
naoya
144
58k
一休の現在と、ここまでの道のり
naoya
90
41k
Other Decks in Technology
See All in Technology
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
330
podman_update_2024-12
orimanabu
1
270
Jetpack Composeで始めるServer Cache State
ogaclejapan
2
170
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
100
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
1
1.3k
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
430
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
120
Amazon SageMaker Unified Studio(Preview)、Lakehouse と Amazon S3 Tables
ishikawa_satoru
0
150
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
310
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
27
12k
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
390
Amazon VPC Lattice 最新アップデート紹介 - PrivateLink も似たようなアップデートあったけど違いとは
bigmuramura
0
190
Featured
See All Featured
How GitHub (no longer) Works
holman
311
140k
Designing Experiences People Love
moore
138
23k
We Have a Design System, Now What?
morganepeng
51
7.3k
Designing for humans not robots
tammielis
250
25k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Navigating Team Friction
lara
183
15k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
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 ݕࡧ
ͱΓ͋͑ͣूதઢ
͝੩ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠