Home avatar

交易之路,道阻且长

运维| 构建GO应用Docker镜像

构建GO 应用Docker镜像Go (Golang)[1] 语言因其编译成静态二进制文件、天然支持并发以及方便的跨平台编译等特性,非常适合容器化部署。本篇将重点介绍如

运维| Docker-部署多平台编译buildx平台

Docker-部署多平台编译buildx平台 创建git 仓库管理Dockerfile text git clone https://git.bdser.cc/ops/dockerfile-base.git cd dockerfiles-base mkdir -p common/os/debian/bullseye-slim cd common/os/debian/bullseye-slim # 需要下载dockerfile镜像作

运维| Docker-Nexus安装

介绍说明 go 依赖: goproxy Node.js: 使用Verdaccio Python: Nexus Java(maven/Gradle): Nexus 通过nginx 代理域名的方式,本地配置hosts解析,来进行访问和使用 开始部署 创建目录结构

运维| Harbor使用Docker方式安装部署

安装harbor 下载harbor仓库安装包 text cd /data wget https://gh-proxy.com/https://github.com/goharbor//harbor/releases/download/v2.13.0/harbor-offline-installer-v2.13.0.tgz tar xf harbor-offline-installer-v2.13.0.tgz cd harbor 配置harbor复制配置文件模板 shell cp harbor.yml.toml harbor.yml 修改harbor.yml,需要修改的关

运维| Centos7升级内核

手动升级内核 text https://mirrors.coreix.net/elrepo-archive-archive/kernel/el7/x86_64/RPMS/ 手动安装rpm内核 kernel-lt-5.4.278-1.el7.elrepo.x86_64.rpm kernel-lt-tools-5.4.278-1.el7.elrepo.x86_64.rpm kernel-lt-tools-libs-5.4.278-1.el7.elrepo.x86_64.rpm 安装5.0+内核 text yum localinstall -y kernel-lt-5.4.278-1.el7.elrepo.x86_64.rpm kernel-lt-tools-5.4.278-1.el7.elrepo.x86_64.rpm kernel-lt-tools-libs-5.4.278-1.el7.elrepo.x86_64.rpm 查看安装后内核信息 text # 查看已经安装的内核,可以看到有新安装的5.4.2

运维| 国内大模型下载方法

目前国内大模型下载方法 虚拟环境 text python3 -m venv huggingface-venv # 激活环境 source huggingface-venv/bin/activate 安装 huggingface-clit text python3 -m pip install huggingface-hub --index-url=https://mirrors.aliyun.com/pypi/simple 下载模型 text export HF_ENDPOINT=https://hf-mirror.com huggingface-cli download immich-app/XLM-Roberta-Large-Vit-B-16Plus