Tag: WSL2
-
Post Views: 63 1. Background: Why do this environment In order to learn AI programming tools (such as Tongyi Spirit Code), I am going to implement a ‘Music Alarm Clock’ small project.Before starting coding, I set up a reusable python dev container development environment. 2. Description of the technology stack 3. Project catalog structure (core focus) music-alarm/├── .devcontainer/│ └── devcontainer.json├──…
-
Post Views: 72 1. Redis officially does not have native installation packages under Windows. as shown in Figure 1 2. Reference:The project is no longer actively maintained. If you are looking for a Windows version of Redis, you may need to check Memurai. Please note that Microsoft does not officially recognize the product in any way. Decided to use memurai.…
-
Post Views: 15 1. When executing: npm run build, an error is reported: ln -sf ../frontend/dist/assets public/assets,lnIs not recognized as an internal or external command, operatorable program or batch file. . as shown in Figure 1 2. Since the Windows system does not support it, I finally decided to execute this command in the Ubuntu-20.04 system in WSL2. Tip: No…
-
Post Views: 22 1. Reference:Install PHP, its version defaults to PHP 7.4 2. Uninstall PHP 7.4 and its dependencies first 3. Reference:How to install and run PHP 8.x on Ubuntu 20.04. Add the PHP PPA repository. Install PHP 8.1 using the following command. 4. Install PHP 8.1 successfully. as shown in Figure 1
-
Post Views: 36 1. Reference:Install Shopify CLI 3.0 (based on Node.js) in Windows 10 Professional, check in advance whether the corresponding requirements are met . 2. Reference:The requirements in Linux are as follows 3. Node.js is not installed, refer to:Installation . Installation failed. 4. Execute the command: sudo apt-get update 5. Execute the command again: sudo apt-get install -y nodejs,…
-
Post Views: 22 1. In the local development environment, Laravel Sail has been deployed based on the deployment. Open URL:http://weibo.test/, the response 200. as shown in Figure 1 2. Register a Heroku account and use @163.com to find that it is not allowed, and finally use @gmail.com, the registration is successful. as shown in Figure 2 3. Click the link…
-
Post Views: 16 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 on the prompt information, run apt-get update. as shown in Figure 2 3. Execute the command again: sudo apt install php7.4-cli, no error is reported.…