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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
murajun1978
October 05, 2013
Technology
550
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
150
Efficient development with GraphQL
murajun1978
0
340
Effective Debugging Apps in VS Code
murajun1978
1
1k
tebukuro
murajun1978
0
150
Shinosaka.rb #17 Hands on
murajun1978
0
74
New Features in Rails 4.2
murajun1978
0
970
Other Decks in Technology
See All in Technology
AI驚き屋発見器
yama3133
2
400
オートロックマンションなのに、各部屋は施錠なし!? 攻撃者が組織内ネットワークで大暴れする理由 / The Front Door Is Locked, but the Rooms Are Wide Open: Why Attackers Move Freely Inside Enterprise Networks
nttcom
0
980
AWS環境のセキュリティ不安を解消した企業事例 ~よくある課題と対策を一挙公開~
asanoharuki
1
270
現場で使える AWS DevOps Agent 活用ノウハウ - Release Management 機能の検証結果を添えて / AWS DevOps Agent Release Management and Know-How
kinunori
5
850
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.1k
MIRU 2026 チュートリアル
keisuke198619
0
520
PLaMo 3.0 Primeの構造化出力サポート
pfn
PRO
0
160
侵入は突然に 〜 IoTマルウェアと悪用される家庭の機器 ~ / When Intrusion Strikes: IoT Malware and the Abuse of Home Devices
nttcom
0
940
Claude Code並行開発環境の ムダ‧ムラ‧ムリを見直した話
muranakaaa
2
390
もう一度考える SRE チームの作り方・育て方 / Rethinking SRE #1: Building and Growing SRE Teams
rrreeeyyy
4
740
VPCセキュリティ対応の最新事情
nagisa53
2
350
データ組織の転換期 一足飛びしない段階的戦略
leveragestech
PRO
0
140
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
280
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
190
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
470
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
GitHub's CSS Performance
jonrohan
1033
470k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
How to Talk to Developers About Accessibility
jct
2
460
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
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༵