Skip to main content

Posts

Showing posts with the label vagrant

homestead vagrant for mysql

default: username: homestead password: secret A  homestead  database is configured for both MySQL and PostgreSQL out of the box. To connect to your MySQL or PostgreSQL database from your host machine's database client, you should connect to  127.0 .0 .1  and port  33060  (MySQL) or  54320  (PostgreSQL). The username and password for both databases is  homestead  /  secret . https://laravel.com/docs/5.8/homestead

laravel homestead - vagrant

If you change the  sites  property after provisioning the Homestead box, you should re-run  vagrant reload -- provision  to update the Nginx configuration on the virtual machine. https://laravel.com/docs/6.x/homestead#introduction The  hosts  file will redirect requests for your Homestead sites into your Homestead machine. On Mac and Linux, this file is located at  / etc / hosts . On Windows, it is located at  C : \ Windows \ System32 \ drivers \ etc \ hosts . The lines you add to this file will look like the following: 192.168 .10 .10 homestead . test Make sure the IP address listed is the one set in your  Homestead . yaml  file. Once you have added the domain to your  hosts  file and launched the Vagrant box you will be able to access the site via your web browser: http : //homestead.test Launching The Vagrant Box Once you have edited the  Homestead . yaml  to your liking, run the  vagrant up...