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
3
280
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
15年目のiOSアプリを1から作り直す技術
teakun
0
530
2025年の活動の振り返り
hideg
0
120
CopilotKit + AG-UIを学ぶ
nearme_tech
PRO
1
110
文字コードの話
qnighy
41
15k
あなたはユーザーではない #PdENight
kajitack
4
280
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
460
Event Storming
hschwentner
3
1.3k
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
210
Python’s True Superpower
hynek
0
190
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
620
iOSアプリでフロントエンドと仲良くする
ryunakayama
0
120
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
170
Featured
See All Featured
Building Adaptive Systems
keathley
44
2.9k
Tell your own story through comics
letsgokoyo
1
820
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.7k
The Curious Case for Waylosing
cassininazir
0
260
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
Code Review Best Practice
trishagee
74
20k
Typedesign – Prime Four
hannesfritz
42
3k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
450
Become a Pro
speakerdeck
PRO
31
5.8k
A Tale of Four Properties
chriscoyier
162
24k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
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