Category: 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: 42 1. Reference: Build a RESTful API (go.dev) with Go and Ginhttps://go.dev/doc/tutorial/web-service-gin— Go official tutorial for building simple web services with GIN. 2. Install Go. Docker Compose One-click startup (refer to Hyperf project). I want to ‘write a good configuration, a command starts the entire development environment’, which is most convenient to use docker-compose.yml, which is almost the…

  • Post Views: 31 Step 1: Create a local project directory in WSL (such as ~/wwwroot/hyperf-skeleton) 2. Modify the mount directory and adapt the path to the local directory. Reference:Hyperf official documentation development under Docker . 3. Create a project in the container, the creation of the project fails, and an error is reported: Your requirements could not be resolved to…

  • 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: 17 1. Execute Shopify Version to see the current version of Shopify CLI 2. Execute Shopify Upgrade to update the Shopify CLI to the latest version, and an error: Error: Eacces: Permission denied, Rename/usr/lib/node_modules/@shopify/cli->/usr/lib/node_modules/@shopify/.cli-9rdbklqd. as shown in Figure 1 3. Add sudo before the command npm install -g @shopify/cli@latest @shopify/theme@latest to increase the permissions, no more errors are…

  • 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: 95 1. Reference:Install Shopify CLI 3.0 (based on Node.js) in Ubuntu-20.04 in WSL2, check whether the corresponding requirements are met in advance 2. Create an application, select the PHP template, and report an error: Operation not permitted, CopyFile 3. Add sudo before the command npm init @shopify/app@latest to increase permissions, no more errors 4. Reference:install php , composer…

  • 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

👨‍💻 Personal Brand

Wang Shiqiang | PHP & Go Technical Consultant

15+ years of backend development experience specializing in system maintenance, architecture optimization, performance tuning, and Linux administration.

Technical blogger since 2013 with 1,000+ original articles.

Available for consulting, long-term maintenance, and remote collaboration.

👉 About Me & Contact

.env (14) 404 (13) add (17) Aliyun (19) Apache (13) Array (19) browser (14) Cache (13) CentOS (23) chrome (18) Client (11) command line (13) composer (42) composer.json (22) composer install (13) composer update (14) console (14) Container (25) curl (15) Database (11) database migration (16) delete (32) Docker (31) Dockerfile (15) ECS (12) environment variable (20) error (24) escape (12) Failed (13) file (16) filter (20) fopen (11) FORMAT (12) function (13) Git (27) GitHub (16) Gitlab (15) Go (34) Go 1.26 (12) GraphQL (24) GraphQL API (14) hosts (11) http (21) https (20) Installation (13) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (36) Laravel 6 (56) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (15) Memory (11) Migrate (13) Migration (11) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (45) Node.js (12) normalize.css (29) OKX (15) PHP (63) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (24) postman (18) Query (17) queue (16) Rancher (24) Redis (38) Refactoring (12) require (12) response (13) RESTful (27) RESTful API (23) rules (12) setting (12) Shell (13) Shopify (19) Shopify CLI (12) SQL (24) String (15) TortoiseGit (15) Ubuntu (35) update (20) VPN (13) Windows 10 (46) WireGuard (22) WordPress (48) Wstunnel (11) Yii (40) Yii 2 (70) Yii 2.0 (51)

June 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930