Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Isra Fatoni
Isra Fatoni
1,615 Points

Slow Progress while Install Homestead Box

Hi,

I wonder if others have experiencing the same problem with me.

I have VERY slow progress when running this command "vagrant box add laravel/homestead".

Even worst the progress also stop with varies error message: "transfer closed bla bla or SSL error bla bla". I tried manually download via direct link "https://atlas.hashicorp.com/laravel/boxes/homestead/versions/2.0.0/providers/virtualbox.box" and the result typically the same (slow and corrupted).

I assume this is server issues, because I have enough speed connection (50Mbps).

Does anyone faces the same issue or have any other options to install the Homestead?

Thanks -Toni

2 Answers

You can try the alternate installation which involves cloning the github repo, instructions are below courtesy of laravel.com


Installing Homestead

You may install Homestead by simply cloning the repository. Consider cloning the repository into a Homestead folder within your "home" directory, as the Homestead box will serve as the host to all of your Laravel projects:

cd ~

git clone https://github.com/laravel/homestead.git Homestead

You should check out a tagged version of Homestead since the master branch may not always be stable. You can find the latest stable version on the Github Release Page:

cd Homestead

// Clone the desired release...
git checkout v4.0.5

Once you have cloned the Homestead repository, run the bash init.sh command from the Homestead directory to create the Homestead.yaml configuration file. The Homestead.yaml file will be placed in the Homestead directory:

// Mac / Linux...
bash init.sh

// Windows...
init.bat

**git clone https://github.com/laravel/homestead Homestead git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • git clone https://github.com/laravel/homestead Homestead
  • ~~~
    • CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException**

Sorry guys, I'm having a problem installing the laravel homestead, could anybody tell me how, why I cannot? Thanks a lor for your soon response, Omar