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
7.2k
37
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vagrant + chef
Naoya Ito
February 22, 2013
More Decks by Naoya Ito
See All by Naoya Ito
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.9k
Haskell を武器にして挑む競技プログラミング ─ 操作的思考から意味モデル思考へ
naoya
13
4.5k
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
21
7.9k
Functional TypeScript
naoya
19
6.8k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
77
38k
シェルの履歴とイクンリメンタル検索を使う
naoya
16
6.8k
20230227-engineer-type-talk.pdf
naoya
91
87k
関数型プログラミングと型システムのメンタルモデル
naoya
63
110k
TypeScript による GraphQL バックエンド開発
naoya
29
37k
Other Decks in Technology
See All in Technology
Software Supply Chain Attackからクラウド環境を守るためにできること
lhazy
2
210
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
바이브풀 라이프
arawn
0
100
もう一度考える SRE チームの作り方・育て方 / Rethinking SRE #1: Building and Growing SRE Teams
rrreeeyyy
6
1k
【CEDEC2026】『ウマ娘 プリティーダービー』 英語版のキャラクターの方言や口調をローカライズするための創造的アプローチ
cygames
PRO
1
200
FPGAが実現する遠方宇宙の高空間分解能天体撮影 -大型地上望遠鏡の視力を補正する「補償光学」とは?-
komei_mt
0
180
QAエンジニア起点で進める、SmartHRにおける信頼性向上について
kaomi_wombat
1
120
え?フロントエンドエンジニアの ワイがインフラも!?
puku0x
1
430
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
MIRU 2026 チュートリアル
keisuke198619
0
860
モダンフロントエンド 開発研修
recruitengineers
PRO
3
560
サイバー捜査員研修(後半)
nomizone
1
800
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
WCS-LA-2024
lcolladotor
0
790
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Crafting Experiences
bethany
1
240
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
590
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
A Soul's Torment
seathinner
6
3.4k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
A designer walks into a library…
pauljervisheath
211
24k
Exploring anti-patterns in Rails
aemeredith
3
460
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 ݕࡧ
ͱΓ͋͑ͣूதઢ
͝੩ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠