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
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
810
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
4
4.2k
記録をかんたんに、提案をパーソナルに ── AIであすけんが目指すもの
oprstchn
0
170
“全部コピーしない”ファイルデータの活用 : — FSx for ONTAP × S3 Tables × Icebergで作るメタデータカタログ
yoshiki0705
0
560
クラウド上のデータ復旧で見落としがちな制約: 医療系 SaaS の BCP 設計から得た教訓
kakehashi
PRO
0
2.5k
Road to SRE NEXTの今までとこれから
hiroyaonoe
0
220
事業価値を⽣み出すSREへ SREが担うべき意思決定の5層
kenta_hi
2
2.2k
知見・人・API・DB・予算 ─ ナイナイ尽くしだった人事データ整備 with dbt、5年間の学び
ken6377
1
170
ループエンジニアリングでE2Eテストを実践
noriyukitakei
0
310
“ID沼入口” - 基本とセキュリティから始める、考え続けるためのID管理技術勉強会 告知&イントロ
ritou
0
440
小さいから、全部わかる。— 常駐AI "xangi" のすすめ
sugupoko
0
270
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
1
2.7k
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
960
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
270
4 Signs Your Business is Dying
shpigford
187
22k
How to build a perfect <img>
jonoalderson
1
5.8k
Marketing to machines
jonoalderson
1
5.6k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
170
Leo the Paperboy
mayatellez
8
1.9k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
180
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༵