Homestead Yaml nyob qhov twg?
Homestead Yaml nyob qhov twg?

Video: Homestead Yaml nyob qhov twg?

Video: Homestead Yaml nyob qhov twg?
Video: 【Tutorial】Setup Homestead & Install Laravel 8.x/9.x in Windows 10 VirtualBox - For Beginner 2024, Kaum ib hlis
Anonim

Cov Tsev nyob . yaml cov ntaub ntawv yuav muab tso rau hauv C:UsersUSER_NAME. tsev phau ntawv.

Kuj paub, ua li cas koj nruab Homestead?

Txhim kho Homestead Lub thawv. Qhib git bash thiab khiav cov lus txib hauv qab no ntxiv Tsev nyob box rau koj vagrant kev teeb tsa . Yog tias koj muaj kev sib txuas hauv internet qeeb lossis koj tau txais qhov yuam kev tom qab khiav cov lus txib hauv qab no, nyeem ntxiv. Nws yuav siv sij hawm me ntsis los rub lub thawv nyob ntawm koj qhov kev sib txuas hauv internet.

Ib yam li ntawd, kuv yuav hloov kho kuv lub tsev li cas? Ok, ntawm no koj mus:

  1. Ua kom puas koj lub thawv thiab tshem tawm cov qub version.
  2. Hloov tshiab VirtualBox rau 5.1.10 nrog cov txuas ntxiv yog tias xav tau.
  3. Hloov Vagrant rau 1.9.1.
  4. Rename koj Homestead directory rau Homestead-0ld.
  5. Khiav vagrant box ntxiv laravel/homestead.
  6. Khiav vagrant thiab uas yuav tsum yog nws.

Tsis tas li ntawd, kuv yuav ua li cas SSH rau hauv Homestead?

Koj ua tau SSH rau koj lub tshuab virtual los ntawm kev tshaj tawm cov vagrant ssh terminal hais kom ua los ntawm koj Tsev nyob phau ntawv. Tab sis, vim tej zaum koj yuav xav tau SSH rau koj Tsev nyob tshuab nquag, xav txog ntxiv qhov "muaj nuj nqi" tau piav qhia saum toj no rau koj lub tshuab hosting kom sai SSH rau tus Tsev nyob lub thawv.

Laravel 5 Homestead yog dab tsi?

Laravel Homestead yog ib qho chaw ua haujlwm, ntim ua ntej Vagrant lub thawv uas muab rau koj ib puag ncig kev txhim kho zoo yam tsis tas koj yuav tsum nruab PHP, lub vev xaib server, thiab lwm yam software server ntawm koj lub tshuab hauv zos. Vagrant thawv yog pov tseg tag nrho.

Pom zoo: