summaryrefslogtreecommitdiff
path: root/www/posts/laravel/2020-12-21/installing-laravel-homestead-in-arch-linux/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/posts/laravel/2020-12-21/installing-laravel-homestead-in-arch-linux/index.html')
-rw-r--r--www/posts/laravel/2020-12-21/installing-laravel-homestead-in-arch-linux/index.html4
1 files changed, 2 insertions, 2 deletions
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</pre><p>Now when you browse to http://testsite.local you will see the Laravel welcome page.</p><h2>Simplified SSH</h2><p>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.</p><p>To simplify ssh I first add a hostname for the virtual machine to the file /etc/hosts/</p><pre><code class="shell">192.168.10.10 homestead</code></pre><p>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.</p><pre><code class="ssh">Host homestead
IdentityFile ~/.ssh/homestead/id_rsa
User vagrant</code></pre><p>From now on I can simply do ssh homestead from any directory to connect to the Homestead virtual machine.</p><h3>Links</h3><a href="https://laravel.com/docs/8.x/homestead/">Laravel Homestead</a><a href="/posts/larvel/">Laravel - Read More Posts.</a><p>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.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a></section>
- <script src="/js/highlight.min.js"></script>
- <script src="/js/site.js"></script>
+ <script defer src="/js/highlight.min.js"></script>
+ <script defer src="/js/site.js"></script>
</body>
</html>