GYP BUG

真的是很GY

GGYY

每個步驟都會有問題

將報錯印到txt檔
yarn install 2> error_log.txt

這裡還不是不能yarn,試了
npm cache clean –force
npm install -g node-gyp
之後才能
npm install -g windows-build-tools

又試了
pip install –upgrade setuptools

python -m venv myenv
myenv\Scripts\activate
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

經歷了一番波折,最後終於成功了

in windows

Docker Client-Server Architecture

Docker is a powerful platform that operates on a client-server architecture, where the client and server communicate over a RESTful API. The client acts as an interface, allowing users to interact with Docker using commands to build, run, and manage Docker containers. Meanwhile, the server component, known as the Docker Engine, executes these commands in the background. This architecture enables Docker to be flexible and efficient, making it capable of running containers across different environments. With Docker, building and running containers has never been easier!

Systemd service unit files

Systemd service unit files are configuration files used by the systemd system and service manager in Linux systems. systemd acts as an init system and service manager, responsible for bootstrapping the user space and managing system processes after booting. Each service unit file represents a service and contains instructions and configurations for starting, stopping, and managing the service.

These unit files typically have a .service extension and are located in directories such as /etc/systemd/system/, /run/systemd/system/, or /lib/systemd/system/, representing system-specific, runtime, and default service unit files, respectively.

A service unit file includes several sections, most notably:

  • The [Unit] section, which describes the service with documentation and its dependencies.
  • The [Service] section, which specifies the commands to start and stop the service and the behavior of the service.
  • The [Install] section, which defines how the unit is installed (i.e., how the service should be automatically started at boot time).

By editing these unit files, system administrators can control the services on the system with precision.