临时记录

SELECT
table_name AS '表名',
table_rows AS '估算行数'
FROM
information_schema.tables
WHERE
table_schema = 'ap-platform'
ORDER BY
table_rows DESC;

podman image prune -a -f

code --no-sandbox --user-data-dir=/root/.vscode-root

unset http_proxy
unset https_proxy
unset HTTP_PROXY
unset HTTPS_PROXY

taskschd.msc

ms-clock:

docker exec -it ollama ollama pull qwen2.5:14b

root@a-Z790M-AORUS-ELITE-AX:~# python3 -m venv oi-env
root@a-Z790M-AORUS-ELITE-AX:~# source oi-env/bin/activate
(oi-env) root@a-Z790M-AORUS-ELITE-AX:~# pip install --upgrade pip
Requirement already satisfied: pip in ./oi-env/lib/python3.12/site-packages (24.0)
Collecting pip
  Downloading pip-26.1-py3-none-any.whl.metadata (4.6 kB)
Downloading pip-26.1-py3-none-any.whl (1.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 23.6 kB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 24.0
    Uninstalling pip-24.0:
      Successfully uninstalled pip-24.0
Successfully installed pip-26.1
(oi-env) root@a-Z790M-AORUS-ELITE-AX:~# 

python3 -m venv oi-env && \
source oi-env/bin/activate && \
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip && \
pip install open-interpreter --prefer-binary

临时使用阿里镜像安装依赖

在 OpenClaw 仓库目录下运行:

npm install --registry=https://registry.npmmirror.com
  • 这条命令只对当前安装有效。
  • 会把依赖从阿里镜像下载,速度会快很多。

永久切换 npm registry

如果你以后经常用 npm,可以把默认 registry 改成阿里镜像:

npm config set registry https://registry.npmmirror.com

验证:

npm config get registry

# 输出应该是 https://registry.npmmirror.com

发表回复