简介、安装、远程执行、grains、Jinja模板 一、Saltstack简介 1.简介 2.Saltstack通信机制 二、安装 1.服务端server1 (1)配置网络仓库 (2)安装saltstack-master (3)将仓库配置传给要配置的客户端server2和server3 (4)启动master服务端 2.客户端serve...
基本介绍 prometheus+grafana一般合起来用,作用是监控 以下介绍部分参考:prometheus+grafana监控设置 Prometheus(普罗米修斯)是一套开源的监控报警时间序列数据库的组合,起始是由SoundCloud公司开发的。随着发展,越来越多公司和组织接受采用Prometheus...
注:GitHub Copilot将要收费!可以有两个月的试用期,之后订阅价格为每月10美元,每年100美元,如果有需要可以订阅。但是请慎重考虑!毕竟有一点贵! GitHub Copilot是什么?自己去搜一下,我估计没人会不知道。这里就不说了,这里是提供给想要体验GitHub Co...
Copilot 是什么 Copilot (https://copilot.github.com/ open in new window) 是由 Github 提供的AI编码辅助工具,它可以在编码过程中提供基于 AI 学习的编码建议。在很多情况下,只需要有注释或者函数名称,Copilot就可以实例完整的代码。 目前 Copilot 已经...
Hey everyone, welcome! In this article, we will learn how to use the GitHub Copilot AI tool with Visual Studio Code. What is GitHub Copilot? GitHub Copilot is a tool that can help you write easier and faster code. It is powered byGPT-3. Yo...
git merge 合并分支。 git merge [branch] branch:分支名 假设当前分支为 develop ,将master主分支之后的最新提交merge到当前的develop分支上: git merge master git checkout 切换分支。 git checkout [branchname] branchname:分支名 切换到master分支...
Git命令大全目录 一、项目前的 Git 配置 1. 检查 git 版本 2. 查看 git 相关命令 3. 查看当前的 git 配置信息 4. 查看 git 用户名 或 邮箱 5. 全局配置用户名(设置 git 使者名称) 6. 设置 (配置)全局邮箱 二、Git 对项目代码进行管理 1. 初始化 git 储存 2...
一、 Git 常用命令速查 git branch 查看本地所有分支 git status 查看当前状态 git commit 提交 git branch -a 查看所有的分支 git branch -r 查看远程所有分支 git commit -am init 提交并且加注释 git remote add origin git@192.168.1.119:ndshow git push...
目录 1. Fail2Ban 简介 2. Fail2Ban 安装配置与日常维护 3. Fail2Ban 目录结构 4. jail.conf 配置项说明 5. sshd.local 自定义配置项 6. mail-whois.conf 自定义动作 1. Fail2Ban 简介 Fail2Ban 是一款入侵防御软件,可以保护服务器免受暴力攻击。 它是用 Py...
一、ceph基础 1.1 ceph 简介 Ceph 是一个开源的分布式存储系统,同时支持对象存储、块设备、文件系统. ceph 是一个对象(object)式存储系统,它把每一个待管理的数据流(文件等数据)切分为一到多个固定大小(默认 4 兆)的对象数据,并以其为原子单元(原子是构成...