2017-04-20 3 views
-1

우분투 16.04에 방글라데시/홈스테드를 설치 중입니다.방랑/홈스테드 설정

VirtualBox, Vagrant, Composer 및 PHP를 설치했습니다.

은 내가 자식 저장소

자식 클론

는 메시지 농가를받은 init.sh

떠들썩한 파티를 실행

농가 디렉토리에

I CD를 https://github.com/laravel/homestead.git 농가에서 농가 다운로드 초기화! CD : .homestead : CD가 여전히를받은 .homestead/~ 나 또한 노력

해당 파일이나 디렉토리 내가 CD를 .homestead로 이동하면

는하지만

배쉬라는 오류 메시지가 bash : cd : .homestead : 그런 파일이나 디렉토리가 없습니다.

어떻게 고칠 수 있습니까? 각 명령의 터미널 명령과 결과를 제공했습니다.

[email protected]:~$ cd web 
[email protected]:~/web$ cd .. 
[email protected]:~$ vagrant box add laravel/homestead 
==> box: Loading metadata for box 'laravel/homestead' 
    box: URL:removed the url for posting purposes 
This box can work with multiple providers! The providers that it 
can work with are listed below. Please review the list and choose 
the provider you will be working with. 

1) hyperv 
2) parallels 
3) virtualbox 
4) vmware_desktop 

Enter your choice: 3 
==> box: Adding box 'laravel/homestead' (v2.1.0) for provider: virtualbox 
    box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/2.1.0/providers/virtualbox.box 
==> box: Successfully added box 'laravel/homestead' (v2.1.0) for 'virtualbox'! 
[email protected]:~$ cd web 
[email protected]:~/web$ git clone command removed the link for posting purposes //github.com/laravel/homestead.git Homestead 
Cloning into 'Homestead'... 
remote: Counting objects: 2184, done. 
remote: Compressing objects: 100% (4/4), done. 
remote: Total 2184 (delta 0), reused 0 (delta 0), pack-reused 2180 
Receiving objects: 100% (2184/2184), 383.40 KiB | 0 bytes/s, done. 
Resolving deltas: 100% (1266/1266), done. 
Checking connectivity... done. 
[email protected]:~/web$ cd Homestead 
[email protected]:~/web/Homestead$ bash init.sh 
Homestead initialized! 
[email protected]:~/web/Homestead$ cd .. 
[email protected]:~/web$ cd .. 
[email protected]:~$ cd .homestead 
bash: cd: .homestead: No such file or directory 
[email protected]:~$ cd ~/Homestead 
bash: cd: /home/font/Homestead: No such file or directory 
+0

오류 .. 너 뭐야 ..? 'git clone' ..? 아니오, [Homestead Documentation] (https://laravel.com/docs/5.4/homestead#installation-and-setup)에는 여러 소프트웨어가 필요하다는 내용이 명확히 명시되어 있습니다. ** Vagrant는 단일 워크 플로에서 가상 컴퓨터 환경을 구축하고 관리하기위한 도구입니다. 사용하기 쉬운 워크 플로와 자동화에 초점을 맞춘 Vagrant는 개발 환경 설정 시간을 줄이고 생산 패리티를 높이며 "내 컴퓨터에서의 작업"이 과거의 유물을 변명하게 만듭니다. ** 소개 페이지에 명시된 바와 같이. –

+0

내 질문이 업데이트되었습니다. VirtualBox, Vagrant, Composer 및 PHP를 이미 설치했습니다. –

답변

0

이제, 농가 버전이 생성 된 농가 (H 대문자) 폴더, 당신은 농가의 cd ~/Homesteadvagrant up

+0

나는 또한 대문자 H로 시도했지만 여전히 운이 없다. 내 터미널 명령을 제공했다. –

+0

아니요, 농가와 농가에 서십시오. CD를 넣지 마십시오. – Jusfunny

+0

지금 방수 처리해주세요. – Jusfunny

1

최신 버전의 당신이를 복제 할 때 만든 ~/농가 디렉토리에있는 것으로 homestead.yaml을 필요로 필요 repo. ".homestead"폴더가 필요하지 않습니다.

귀하의 경우에는 ~/web/Homestead에서 만들었습니다. 그래서 CD를 ~/web/Homestead와 Wagrant up.

+0

예. 고맙습니다! –