Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
All necessary elements:
Virtual Box
After setting up PHP & Git just setting up composer , Virtual box and vagrant. Downloads Link
Make a Directory in Desktop
cd Desktop
mkdir projects
cd projects
now Install Laravel by composer
composer create-project laravel/laravel test
After that Install Homestead
cd ~/projects/test
composer require laravel/homestead --dev
Next, we'll run the ‘make’ command, to configure our project for homestead. Here's the full command.
php vendor/bin/homestead make
lets's start vagrant and it's take little bit more time to download about 650MB to 900MB
vagrant up
if getting ssl error 104 , Just add private key and verify ssl
ssh-keygen -t rsa -b 4096 -C ""
eval "$(ssh-agent -s)"
ssh-add -k ~/.ssh/id_rsa (k should be small leter)
Just Edit your hosts file /etc/hosts
sudo nano /etc/hosts
Add the line in hosts file
That's it! Go to browser and visit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.