npm镜像源及命令

一、配置和查看镜像源 淘宝中国镜像源npm config set registry https://registry.npmmirror.com (新版) 腾讯云镜像源npm config set registry http://mirrors.cloud.tencent.com/npm/ 华为云镜像源np...

小雅部署方法

1、三个token的获取方式 对应文件获取方式token/etc/xiaoya/mytoken.txthttps://aliyuntoken.vercel.app/ https://alist.nn.ci/zh/guide/drivers/aliyundrive.htmlopen token/etc/xiaoya/myopentoken.txthttp...

docker部署m3e索引模型

docker run -d --name m3e -p 6008:6008 --gpus all registry.cn-hangzhou.aliyuncs.com/fastgpt_docker/m3e-large-api 配置oneapi测试的时候报404是正常现象,因为这不是对话模型 相关配置如下: sk-a...

定时执行python的docker容器

1. 创建 Python 脚本 确保你的 copy_goods.py 文件内容正确: python 复制代码 # copy_goods.py import requests import mysql.connector from datetime import datetime import time # Example co...

本地部署dify

Clone DifyClone the Dify source code to your local machine: git clone https://github.com/langgenius/dify.git CopyStart DifyNavigate to the docker directory in the Dify source code and execut...

本地部署MaxKB

docker run -d --name=maxkb -p 5000:8080 -v ~/.maxkb:/var/lib/postgresql/data 1panel/maxkb # 用户名: admin # 密码: MaxKB@123.. 参考:https://github.com/1Panel-dev/MaxKB

指令微调llama3

一、清洗PDF(把PDF中的文字搞下来) import PyPDF2 import re def clean_extracted_text(text): """Clean and preprocess extracted text.""" # Remove chapter titles and sections text = re...

FastGpt本地部署

一、需要先下载两个文件 mkdir fastgpt cd fastgpt curl -O https://raw.githubusercontent.com/labring/FastGPT/main/files/deploy/fastgpt/docker-compose.yml curl -O https://raw.githubusercontent.com/...

Docker 安装openwebui

需要配合Ollama用,以下是通过GPU运行的命令 docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always g...

docker清理全部容器日志

一、清理 Docker 容器的日志可以帮助释放磁盘空间并保持系统的整洁。你可以通过以下步骤清理所有容器的日志: 停止所有容器:首先,停止所有正在运行的 Docker 容器。你可以使用以下命令停止所有容器: ...