In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about the problems and solutions of Laravel Homestead installation, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Laravel is committed to making the entire PHP development experience more enjoyable, while Vagrant provides a simple and elegant way to manage and configure virtual machines. Laravel Homestead is Laravel's official pre-packaged Vagrant Box.
1. If ssh authentication fails
If ssh does not fail to authenticate, skip directly
a. Delete insecure_private_key and insecure_private_key.pub
C:\ Users\ yourUser\ .vagrant.d directory (yourUser is the user name of your computer) b. Regenerate the vagrant key:
Ssh-keygen-f / Users/yourUser/.vagrant.d/insecure_private_keyc. The terminal enters the Homestead and uses the ssh link. Enter the server with the password first.
After vagrant ssh2.homestead.yam modification, restart vagrant and refresh the configuration
/ / need to run in the Homestead directory vagrant reload-- provision3. Completely delete box
a. Destroy the virtual machine and run it in the Homestead directory
Vagrant destory-- forceb. Delete the homestead directory in the C:\ Users\ yourUser\ VirtualBox VMs directory
c. Delete box:
Vagrant box list / / lists the added box list vagrant box remove boxName4. Remove box
Vagrant box remove NAME [- box-version,.]
-box-version VALUE: specifies the version of box to delete.
-all: indicates that all versions of box will be deleted.
-force: it is forcibly deleted and is not prompted if it is in use.
-provider VALUE: deletes the box corresponding to the specified provider
5. Completely delete homestead
a. Run in the Homestead directory
Vagrant destory-- forceb. Delete the homestead directory in the C:\ Users\ yourUser\ VirtualBox VMs directory
6.mkdir (): Permission denied error
Cd / data/www/default/your_dir sudo chmod-R 777 your_dir after reading the above, do you have any further understanding of the problems in Laravel Homestead installation and how to solve them? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.