From 0b9acaf9eb8ba65595fe2762abfa79b0cd636acf Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Fri, 21 May 2021 18:59:15 +0100 Subject: Add defer attribute to js links --- .../2020-12-21/installing-laravel-homestead-in-arch-linux/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/posts/laravel/2020-12-21') diff --git a/www/posts/laravel/2020-12-21/installing-laravel-homestead-in-arch-linux/index.html b/www/posts/laravel/2020-12-21/installing-laravel-homestead-in-arch-linux/index.html index 7bc316e..1aab406 100644 --- a/www/posts/laravel/2020-12-21/installing-laravel-homestead-in-arch-linux/index.html +++ b/www/posts/laravel/2020-12-21/installing-laravel-homestead-in-arch-linux/index.html @@ -74,7 +74,7 @@ DB_USERNAME=testsite DB_PASSWORD=testsite

Now when you browse to http://testsite.local you will see the Laravel welcome page.

Simplified SSH

I prefer to just use the host system's ssh command to connect to Homestead as it cuts out having to navigate to the Homestead directory and running vagrant ssh.

To simplify ssh I first add a hostname for the virtual machine to the file /etc/hosts/

192.168.10.10 homestead

I then edit ~/.ssh/config and add the below configuration. This tells ssh to automatically use the keys and username specified when connecting to the virtual machine.

Host homestead
   IdentityFile ~/.ssh/homestead/id_rsa
   User vagrant

From now on I can simply do ssh homestead from any directory to connect to the Homestead virtual machine.

Links

Laravel HomesteadLaravel - Read More Posts.

I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.

Email david@davidtsadler.com

License

The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage. - - + + -- cgit v1.2.3-13-gbd6f