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
Automated Environment
Search
murajun1978
October 05, 2013
Technology
540
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Automated Environment
murajun1978
October 05, 2013
More Decks by murajun1978
See All by murajun1978
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
1.4k
How to Enjoy the Murajun’s Style
murajun1978
0
110
Building Tebukuro with Hotwire and Rails
murajun1978
0
1.6k
Zeitwerk integration in Rails 6.0
murajun1978
0
140
Efficient development with GraphQL
murajun1978
0
330
Effective Debugging Apps in VS Code
murajun1978
1
1k
tebukuro
murajun1978
0
150
Shinosaka.rb #17 Hands on
murajun1978
0
73
New Features in Rails 4.2
murajun1978
0
970
Other Decks in Technology
See All in Technology
AI Agent SaaS を支える自社仮想化基盤への挑戦と実運用 / ai-agent-saas-virtualization
flatt_security
2
3k
地域 SRE コミュニティ最前線 / SRE NEXT 2026 Discussion Night Track C
muziyoshiz
0
160
Claude Code 珍プレー好プレー
shinyasaita
0
290
SRE依存からの脱却 運用を開 発チームへ移す、 フルサイ クル開 発体制の実践
joooee0000
0
1.9k
SRE歴2ヶ月でも開発6年の知見を活かして、チームで止まっていた環境改善を前に進めた話
a_ono
1
220
グローバルチームと挑むプロダクト開発
sansantech
PRO
1
160
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
SRE Lounge Hiroshimaへの招待
grimoh
0
410
ゼロをイチにする仕事が終わったあと
smasato
0
310
デジタル・デザイン:次の50年を描く「進化する青写真」
y150saya
0
840
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
1
2.7k
CSに"SLO"は要らない、経営層に"99.9%"は伝わらない - SREを全社に"翻訳"する3原則
cscengineer
PRO
1
3.6k
Featured
See All Featured
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
800
Music & Morning Musume
bryan
47
7.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
220
The World Runs on Bad Software
bkeepers
PRO
72
12k
A designer walks into a library…
pauljervisheath
211
24k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Done Done
chrislema
186
16k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Technical Leadership for Architectural Decision Making
baasie
3
430
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
220
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.5k
Transcript
͍ͭ·ͰखಈͰڥߏங͍ͯ͠ΔͷͰ͔͢ʁ Automated Environment ʴ 1310݄5༵
Whooooo? me @murajun1978 https://github.com/murajun1978 Rails Developer 1310݄5༵
Whooooo? me @murajun1978 https://github.com/murajun1978 Rails Developer 1310݄5༵
Whooooo? me @murajun1978 https://github.com/murajun1978 Rails Developer 1310݄5༵
Agenda ✤ What is Vagrant ʁ ✤ Why Vagrant ʁ
✤ How to use Vagrant ✤ What is Chef ? 1310݄5༵
What is Vagrant ? 1310݄5༵
http://www.vagrantup.com/ 1310݄5༵
http://www.vagrantup.com/ 1310݄5༵
http://downloads.vagrantup.com/tags/v1.3.3 Download 1310݄5༵
Why Vagrant ? 1310݄5༵
1310݄5༵
% sudo apt-get install ~ % sudo apt-get install ~
% sudo apt-get install ~ . . . 1310݄5༵
1310݄5༵
Providers (Pay plugin) 1310݄5༵
How to use Vagrant ? 1310݄5༵
% vagrant box add [box_name] [box_url] 1310݄5༵
Ubuntu Official Boxes https://github.com/mitchellh/vagrant/wiki/Available-Vagrant-Boxes 1310݄5༵
Vagrantbox.es http://www.vagrantbox.es/ 1310݄5༵
% vagrant init [box_name] 1310݄5༵
% vagrant up 1310݄5༵
% vagrant ssh 1310݄5༵
easy :) 1310݄5༵
Demo 1310݄5༵
What is Chef ? 1310݄5༵
Like Bundler 1310݄5༵
Recipes 1310݄5༵
Install Package 1 %w{gcc make nginx mysql}.each do |pkg| 2
package pkg do 3 action :install 4 end 5 end 1310݄5༵
Setting rbenv 1 git "home/vagrant/.rbenv" do 2 repository "https://github.com/sstephenson/rbenv.git" 3
reference "master" 4 action :checkout 5 end 1 git "/home/vagrant/.rbenv/plugins/ruby-build" do 2 repository "https://github.com/sstephenson/ruby-build.git" 3 reference "master" 4 action :checkout 5 end 1 bash "install-rubybuild" do 2 code <<-COMMAND 3 cd /home/vagrant/.rbenv/plugins/ruby-build 4 ./install.sh 5 COMMAND 6 end 1310݄5༵
Setting Proxy 1 template "/etc/apt/apt.conf" do 2 source "apt.conf.rb" 3
action :create 4 end 1 Acquire::http::proxy "http://your.proxy.address:8080/"; template/default/apt.conf.erb 1310݄5༵
Reference ebooks 1310݄5༵
Enjoy Vagrant, Chef ! 1310݄5༵
Thanks :) 1310݄5༵