摘要: 一、docker 容器#构建镜像 root@ecs-16640:~# docker build -t apricot . #构建镜像(指定Dockerfile) root@ecs-16640:~# docker build -f ./Apricot/Dockerfile -t apricot . # 阅读全文
posted @ 2022-08-09 16:29 1764564459 阅读(53) 评论(0) 推荐(0)
摘要: 一、netcore healthcheck 创建项目$ dotnet new web -n Apricot.HealthCheck.WebApi 安装依赖$ dotnet add package AspNetCore.HealthChecks.UI --version 9.0.0 $ dotnet 阅读全文
posted @ 2025-11-26 18:11 1764564459 阅读(1) 评论(0) 推荐(0)
摘要: netcore vue(electron) uds 前端 一、项目准备 创建项目$ vue create apricot-uds $ cd apricot-uds 安装依赖# 添加 electron-builder $ vue add electron-builder # socket.io $ n 阅读全文
posted @ 2025-11-05 16:30 1764564459 阅读(7) 评论(0) 推荐(0)
摘要: netcore vue socket.io 一、后端 创建项目 # 添加解决方案 > dotnet new sln -n Apricot.Socket.IO # 添加 asp net core 项目 > dotnet new web -n Apricot.Socket.IO # 将 web 项目添加 阅读全文
posted @ 2025-10-28 18:40 1764564459 阅读(5) 评论(0) 推荐(0)
摘要: netcore vue grpc、http grpc vue 前端 一、项目准备 创建 vue 项目$ cd E:\code # 创建 vue 项目 $ vue create apricot-grpc -> 1、选择 Vue3 安装依赖$ npm install grpc-web --save $ 阅读全文
posted @ 2025-10-25 12:15 1764564459 阅读(11) 评论(0) 推荐(0)
摘要: 离线安装 mysql 一、ubuntu arm 下载安装包 官网地址 下载压缩包 上传压缩包 # 将本地压缩包上传至服务器 $ scp mysql-8.4.6-linux-glibc2.28-aarch64.tar.xz root@host:/root/mysql/ 解压# 转到压缩包目录 $ cd 阅读全文
posted @ 2025-10-10 18:39 1764564459 阅读(17) 评论(0) 推荐(0)
摘要: 常用脚本 一、文件 文件拷贝#!/bin/bash # 递归复制/root/apricot目录内容到/root/janer SOURCE="/root/apricot" TARGET="/root/janer" # 复制建时间范围内文件 START="2025-01-01" END="2025-05 阅读全文
posted @ 2025-05-21 11:31 1764564459 阅读(19) 评论(0) 推荐(0)
摘要: C# 项目文件配置 一、常量 目录 # 项目目录 $(ProjectDir) # 输出目录 # 编译:bin\Debug\net8.0\ # 发布:bin\Release\linux-x64\ $(OutDir) # 发布目录 # 编译:bin\Debug\net8.0\publish\ # 发布: 阅读全文
posted @ 2025-04-19 15:48 1764564459 阅读(18) 评论(0) 推荐(0)
摘要: 一、mysql 一个字段多种排序 数据 id name 1 tkj1000020-1.11test 2 tkj1000020-1 3 tkj1000020-2.1 test 4 tkj1000020-2.2 test 5 tkj1000020-2 6 tkj1000020.1test 7 tkj10 阅读全文
posted @ 2024-12-28 11:41 1764564459 阅读(51) 评论(0) 推荐(0)
摘要: netcore grpc 一、solution 创建空解决方案 > dotnet new sln -n Apricot.Grpc 二、Grpc.Server 创建Apricot.Grpc类库项目 > dotnet new classlib -n Apricot.Grpc # 解决方案添加类库项目 > 阅读全文
posted @ 2024-10-19 17:07 1764564459 阅读(33) 评论(0) 推荐(0)
摘要: 一、安装 Arial 字体 安装 fontconfig $ RUN apt-get update && apt-get install -y fontconfig 获取字体 window系统 ttf 文件、目录拷贝至项目 Arial : C:\Windows\Fonts\Arial STSONG : 阅读全文
posted @ 2024-07-12 10:42 1764564459 阅读(257) 评论(0) 推荐(0)