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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Uğur Özyılmazel
April 15, 2015
Programming
300
3
Share
Vagrant 101
Sanal makine orkestrasyon aracı Vagrant'a genel bakış.
Uğur Özyılmazel
April 15, 2015
More Decks by Uğur Özyılmazel
See All by Uğur Özyılmazel
Idiomatic Go - Conventions over Configurations
vigo
3
380
Makefile değil, Rakefile
vigo
2
770
Bir Django Projesi : <Buraya RUBY ekleyin>
vigo
1
590
Ruby 101
vigo
1
170
Django
vigo
4
520
Gündelik Hayatta GIT İpuçları
vigo
4
680
Bash 101
vigo
5
590
TDD - Test Driven Development
vigo
3
250
Yazılımcı Kimdir?
vigo
1
500
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
110
Agentic AI & UI: Arcitecture, HITL, Emerging Standards
manfredsteyer
PRO
0
120
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
210
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
290
関係性から理解する"同一性"の型用語たち
pvcresin
2
280
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
160
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
460
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
560
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
3
300
AIを導入する前にやるべきこと
negima
2
370
Are We Really Coding 10× Faster with AI?
kohzas
0
200
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
460
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
110
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
The agentic SEO stack - context over prompts
schlessera
0
780
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
120
Navigating Team Friction
lara
192
16k
Statistics for Hackers
jakevdp
799
230k
Ruling the World: When Life Gets Gamed
codingconduct
0
230
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
530
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
140
AI: The stuff that nobody shows you
jnunemaker
PRO
7
650
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