Category: Terminal/Remote Login
-
Post Views: 14 1. Error in Homestead: sqlstate[HY000][2002]php_network_getaddresses: getaddrinfo failed: temporary failure in name resolution. as shown in Figure 1 2. Edit the .env file, and db_host=mysql modify it to db_host=127.0.0.1. No more errors.
-
Post Views: 21 1. Timed out while waiting for the machine to boot. The configured (“config.vm.boot_timeout” value) time period. as shown in Figure 1 2. Although the map has been modified to e:/wwwroot/vagrant, it was: ~/code before. Still decide to create a new directory: ~/code 3. Run again: vagrant reload –provision, no more errors.
-
Post Views: 16 1. Execute: Vagrant up error: The name of your virtual machine could beT Be Set Because VirtualBox is reporting another VM with that name already exists. as shown in Figure 1 2. After deleting Vagrant, open the VirtualBox GUI to confirm whether it exists, and then manually delete the virtual machine. as shown in Figure 2 3.…
-
Post Views: 20 1. Execute the Composer Update in Homestead and report an error: Your requirements could not be resolved to an installable set of packages. The reason is that the PHP version is 8.0 , and the version of the package depends on 7. as shown in Figure 1 2. Reference:https://learnku.com/docs/laravel/5.8/homestead/3882#multiple-php-versions. Homestead 6 introduced support for multiple PHP versions…
-
Post Views: 15 1. Log in to the Homestead virtual machine with the command vagrant ssh to ssh, and the login fails and does not respond. as shown in Figure 1 2. Use folders to indicate the folder that the machine is mapped to on the Homestead virtual machine. The reason is that the native folder e:/wwwroot specified by map…
-
Post Views: 18 1. When starting Vagrant, an error is reported: D:/Program files/hashicorp/vagrant/embedded/mingw64/lib/ruby/2.7.0/psych.rb:456:in `parse: (): found a tab character that violates indentation while scanning a plain scalar at line 10 Column 7 (psych::SyntaxError). as shown in Figure 1 2. View the file ~/homestead/homestead.yaml in phpstorm, and find a red wavy line prompt. The reason may be that it has been…
-
Post Views: 17 1. When executing the command: docker-compose -f docker-compose.yml up –build –force-recreate, an error: error[startup_object-fpm internal]Load metadata for docker.io/library/php:7.4-fpm-alpine . 2. After pulling the latest code, execute the command again, and report an error: Error Response from Daemon: Error while creating mount source path. as shown in Figure 1 3. Decide in Docker, delete the volumes of the…
-
Post Views: 57 1. Install Nginx Proxy Manager, open the Windows Terminal command line, and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Enter the user root directory, create a new directory: proxy-manager, enter the directory: proxy-manager, create a file: docker-compose.yml. as shown in Figure 2 3. Edit the file: docker-compose.yml, save and…