Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
All necessary elements:
PHP
Git
Composer
Virtual Box
Vagrant
After setting up PHP & Git just setting up composer , Virtual box and vagrant. Downloads Link
Composer https://getcomposer.org/
Virtualbox https://www.virtualbox.org/
Vagrant https://www.vagrantup.com/
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 "me@morshadunnur.me"
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
192.168.10.10 homestead.app
That's it! Go to browser and visit homestead.app.
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.