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 101
Search
Uğur Özyılmazel
April 15, 2015
Programming
3
290
Vagrant 101
Sanal makine orkestrasyon aracı Vagrant'a genel bakış.
Uğur Özyılmazel
April 15, 2015
Tweet
Share
More Decks by Uğur Özyılmazel
See All by Uğur Özyılmazel
Idiomatic Go - Conventions over Configurations
vigo
3
360
Makefile değil, Rakefile
vigo
2
760
Bir Django Projesi : <Buraya RUBY ekleyin>
vigo
1
580
Ruby 101
vigo
1
160
Django
vigo
4
500
Gündelik Hayatta GIT İpuçları
vigo
4
660
Bash 101
vigo
5
580
TDD - Test Driven Development
vigo
3
240
Yazılımcı Kimdir?
vigo
1
480
Other Decks in Programming
See All in Programming
Ruby x Terminal
a_matsuda
5
520
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
130
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
400
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
370
株式会社 Sun terras カンパニーデック
sunterras
0
1.9k
AIコーディングの理想と現実 2026 | AI Coding: Expectations vs. Reality 2026
tomohisa
0
810
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
文字コードの話
qnighy
43
16k
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
130
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
500
NOT A HOTEL - 建築や人と融合し、自由を創り出すソフトウェア
not_a_hokuts
2
490
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
2k
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.3k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
SEO for Brand Visibility & Recognition
aleyda
0
4.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
450
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
90
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Documentation Writing (for coders)
carmenintech
77
5.3k
Faster Mobile Websites
deanohume
310
31k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Leo the Paperboy
mayatellez
4
1.5k
Transcript
EVSİZ BARKSIZ ADAM!
Sanal Makine Orkestrasyon Aracı
Uğur "vigo" Özyılmazel vigobronx vigo
Hızlıca geliştirme ortamı kurmayı sağlayan bir araç!
Mitchell Hashimoto tarafından Ruby ile geliştirildi ve ilk olarak Ruby
gem'i şeklinde kullanılmaya başlandı.
Windows Linux Mac OS X
https://www.virtualbox.org/wiki/Downloads 1 VirtualBox ve Extention Pack
http://www.vagrantup.com/downloads 2 1.7.2
vagrant init hashicorp/precise64 vagrant up vagrant ssh 3 Ubuntu 12.04
LTS 64-bit
Vagrantfile
None
HOST GUEST
config.vm.box = "hashicorp/precise64" config.vm.network "forwarded_port", guest: 80, host: 8080 #
http://localhost:8080 => box'da:80 config.vm.network "private_network", ip: "192.168.33.101" config.vm.synced_folder ".", "/var/www" /vagrant Default mount
vagrant -v | --version vagrant -h | --help vagrant ssh
vagrant up vagrant halt vagrant destroy vagrant package vagrant global-status vagrant plugin list vagrant plugin install vagrant-vbguest vagrant box list vagrant box add USER/Box ?
user Kullanıcı Adı Şifre vagrant vagrant Varsayılan kullanıcı adı ve
şifresi
provider VirtualBox VMWare AWS Digital Ocean Rackspace Docker * Hyper-V
* vagrant up --provider=vmware_fusion vagrant box list - hashicorp/precise64 (virtualbox, 1.1.0) * Ek konfigürasyon işlemleri gerekiyor
provisioning inline file shell Ansible config.vm.provision "shell", inline: "echo hello"
config.vm.provision "shell" do |s| s.inline = "echo hello" end Chef Salt Puppet Docker
provisioning inline file shell Ansible # isimlendirilebiliyor config.vm.provision "bootstrap", type:
"shell" do |s| s.inline = "echo hello" end Chef Salt Puppet Docker
provisioning inline file shell Ansible # her seferinde çalışsın config.vm.provision
"shell", inline: "echo hello", run: "always" Chef Salt Puppet Docker
provisioning inline file shell Ansible # Host'daki .gitconfig'i, Guest'deki vagrant
# kullanıcısının home'a kopyala... config.vm.provision "file", source: "~/.gitconfig", destination: ".gitconfig" Chef Salt Puppet Docker
provisioning inline file shell Ansible # script.sh'deki komutları çalıştır Vagrant.configure("2")
do |config| config.vm.provision "shell", path: "script.sh" end Chef Salt Puppet Docker
provisioning
linkler http://docs.vagrantup.com/ https://atlas.hashicorp.com/ http://www.vagrantbox.es/
TEŞEKKÜRLER SORULAR?
@mitchellh @vigobronx Kod.io 2014, Avusturya
DEMO