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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Uğur Özyılmazel
April 15, 2015
Programming
290
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
370
Makefile değil, Rakefile
vigo
2
770
Bir Django Projesi : <Buraya RUBY ekleyin>
vigo
1
590
Ruby 101
vigo
1
160
Django
vigo
4
510
Gündelik Hayatta GIT İpuçları
vigo
4
670
Bash 101
vigo
5
590
TDD - Test Driven Development
vigo
3
250
Yazılımcı Kimdir?
vigo
1
490
Other Decks in Programming
See All in Programming
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
2.8k
飯MCP
yusukebe
0
480
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
330
Swift Concurrency Type System
inamiy
0
290
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
860
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.7k
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
540
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
150
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.5k
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
410
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.7k
Writing Fast Ruby
sferik
630
63k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
First, design no harm
axbom
PRO
2
1.2k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
510
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
430
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