vagrant up komutunu verdigin dizinde, Vagrantfile dosyasi var, onu Metin Editorüyle acip (icinde genelde vardir yorum satiri olarak isaretlenmistir, yorum satiri isaretlerini silerek kullanabilirsin veya) en alta yukardaki kodu kopyalip yapistirman yeterli
Dosya
Vagrant init ile Standart olusturulan Vagrantfile dosyasidir, sadece ben windows icin dosya izinlerini, sabit bir ip ve isim tanimlamistim
# Display the VirtualBox GUI when booting the machine cümlesinden sonraki satirdaki # isareitini kaldirman(asagidaki kodda kaldirildi) yeterli.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "public_network", ip: "192.168.178.200"
config.vm.hostname = "korayserver"
config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
vb.gui = true
#
# # Customize the amount of memory on the VM:
vb.memory = "2048"
# Symlink Create Fix
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate//vagrant","1"]
end