永夜 Blog

分别打开:http://sail-project-1.test 、http://sail-project-2.test 0

In Windows 10 Professional, use multiple Laravel Sail environments and set your desired domain name

浏览量: 52 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,...

在 WSL2 中的 Ubuntu 系统中,执行命令:sudo apt install php7.4-cli,报错:E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb 404 Not Found [IP: 91.189.88.152 80]。 0

In the Ubuntu system in WSL2, execute the command: sudo apt install php7.4-cli, report error: e: failed to fetchhttp://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb404 Not Found[IP: 91.189.88.152 80]

浏览量: 3 1. In the Ubuntu system in WSL2, execute the command: sudo apt install php7.4-cli, report an error: e: failed to fetchhttp://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb404 Not Found[IP: 91.189.88.152 80]. as shown in Figure 1 2. Based...

运行命令:./vendor/bin/sail up -d。创建容器成功。 0

Create a Weibo application in Windows 10 Professional, based on the Laravel Sail development environment

浏览量: 4 1. Use Composer to create an application called weibo. Open the Windows Terminal command line and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Ubuntu,...

在浏览器中打开网址:http://example-app.test/ 。响应 200。 0

Build a Laravel Sail development environment in Windows 10 Professional

浏览量: 104 1. Laravel Sail requires Windows 10 systems that support WSL 2. The 2004 version released in May 2020 only supports the WSL 2 function, so our system needs to be updated to...

在执行命令时:git push -u origin master,提示:The authenticity of host 'github.com (52.192.72.89)' can't be established.ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM. 0

The Authenticity of Host is prompted when Git is pushed to GitHubgithub.com (52.192.72.89)cant be established.ecdsa key fingerprint is sha256:., configure ssh key of github in Windows 10, generate a new personal access token

浏览量: 3 1. When executing the command: git push -u origin master, prompt: The authentication of hostgithub.com (52.192.72.89)cant be established.ecdsa key fingerprint is sha256: p2qamxnic1tjyweiottrvc98/r1bufwu3/liykgufqm.. as shown in Figure 1 2. Push through TortoiseGit,...

由于SET命令加上选项已经可以完全取代SETNX, SETEX, PSETEX的功能,所以在将来的版本中,redis可能会不推荐使用并且最终抛弃这几个命令。 0

Redis lock implementation, based on the function of SetNX without expiration time, make up for the comparative analysis of schemes 1, 2 and 3

浏览量: 2 1. Reference URL:https://www.shuijingwanwq.com/2017/01/08/1505/, the process of realizing the locking mechanism of Redis under Yii2.0, its core is to use Redis SetNX. 2. Generally speaking, after the lock is successful, the corresponding business...