aburak yazdıMerhaba farukbugur,
Bende dün akşam laravel 5.2 için windows tarafında geliştirme ortamını kurmak için uğraştım ve başarılı olabildim. Tabi ki bir kaç problem ile karşılaştım ve çözümledim.
Dilersen yardımcı olabilirim.
Verdiği hata muhtemelen ssh key oluşturmadığın için olabilir ya da Homestead.yaml dosyasında folder olarak belirtilen dizin yolunda sorun var, dizini bulamıyor bundan dolayı olabilir.
Aslında en mantıklısı fiziksel bir linux sistem veya macosx de geliştirmek. İzlediğim bir kaç türkçe laravel 5 proje videolarında windows ile başlayıp daha sonra ubuntuya geçiyordu anlatan kişi. Diğer kişi ise direkt ubuntu ile başlıyor anlatmaya ama anlamadığım tek nokta ubuntuda hem vagrant-homestead kullanıyor hemde nginx v.s kuruyor ayrıca bunu neden yaptığını çözemedim.
Yardımcı olmanı çok isterim. Vagrantı başlatırken aldığım hata :
Microsoft Windows [Sürüm 6.1.7600]
Telif Hakkı (c) 2009 Microsoft Corporation. Tüm hakları saklıdır.
C:\Users\xp>cd homestead
C:\Users\xp\Homestead>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead-7
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 (guest) => 8000 (host) (adapter 1)
default: 443 (guest) => 44300 (host) (adapter 1)
default: 3306 (guest) => 33060 (host) (adapter 1)
default: 5432 (guest) => 54320 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
C:\Users\xp\Homestead>