/bear2.png.webp

打工人日志

zlibary 无法下载 解决方案

zlibary 无法下载 因为 zlib 最近被封,导致现在通过正常方法下载不了电子书,但是不要慌,我们可以通过暗网进行下载~ 安装 brave 浏览器 官网下载 下载你需要的版本,这

macOS 13 升级 软件失效

关于 macOS 13 软件失效 Warning: You are using macOS 13. We do not provide support for this pre-release version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew’s GitHub, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this pre-release version. 简单来说就

Nexus3 使用和部署

Nexus3 docker-compose 安装 创建外部存储 1 2 mkdir -p /data/nexus chmod +777 -R /data/nexus 运行 docker-compose 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 version: '3' services: nexus3: image: sonatype/nexus3:3.42.0 container_name: nexus3 ports: - 8081:8081 - 5000:5000 volumes: - /data/nexus:/nexus-data environment: - INSTALL4J_ADD_VM_PARAMS=-Xms1024m -Xmx1024m -XX:MaxDirectMemorySize=1024m -Djava.util.prefs.userRoot=/some-other-dir restart: always # 赋予外部root

githubAction set-output弃用错误

githubAction set-output 弃用错误 The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ 原因 如果您有一个使用 设置输出的GitHub Actionsecho ::set-output key=value工作流程,您已经开始看

windows-exporter 监控

windows-exporter 监控安装 windows_exporter 下载安装 启动 下载 msi 版本,输入一下命令启动 1 msiexec /i C:\Users\Administrator\Downloads\windows_exporter.msi ENABLED_COLLECTORS="ad,iis,logon,memory,process,tcp,scheduled_task" TEXTFILE_DIR="C:\custom_metrics\" 卸载 1 msiexec /uninstall C:\Users\Administrator\Downloads\windows_exporter.msi 添加 prometheus 监控 prometheus.yaml 1 2 3 4 5 # 新增 windows-exporter - job_name: "windows-exporter" file_sd_configs: - files: - "./file_sd/windows-exporter.yaml" ./file_sd/windows-exporter.yaml 1 2 3 4 # 新增 windows-exporter