windows 下运行 nginx 下载 nginx http://nginx-win.ecsds.eu/ 配置 nginx.conf 使用三方工具配置 windows 服务 , 这里使用 winsw.exe https://github.com/winsw/winsw 将 winsw.exe 重命名为 nginx-service.exe 创建配置文件 nginx-service.x… 2024-8-23 21:42 | 788 | 0 | 学习 100 字 | 2 分钟
git 代码备份 // 将指定目录下的所有 git 项目,备份至一个 git 仓库中 // gitea 有 api 可以批量建库 using System.Collections.Concurrent; using CliWrap; using CliWrap.Buffered; // 列出所有待操作的目录 var root = "D:\\xCodes\\… 2024-8-18 15:45 | 929 | 0 | c# 134 字 | 7 分钟
gitlab 配置 在 /root/.bash_profile 中设置环境变量 $GITLAB_HOME export GITLAB_HOME=/home/gitlab/data # 指定数据文件 /home/gitlab/docker/docker-compose.yml # 配置文件 `docker compose up -d` 启动服务 version: … 2024-8-12 10:35 | 1,611 | 0 | git 57 字 | 3 分钟