jenkins yum部署jenkins源123456789#换源cp -a /etc/yum.repos.d /etc/yum.repos.d.backuprm -f /etc/yum.repos.d/*curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo#添加官方jenkins源wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.reporpm --im...
git常用命令1234567891011121314151617181920212223242526272829303132git init 初始化目录作为git仓库,该操作会创建一个.git来记录git操作git config --global git全局配置设置,常用设置user.name,user.email,color.ui关键字高亮git status 查看当前目录下的文件的状态 git add <文件名> 将文件从workspace工作目录添加到index暂存区git rm --cached <文件名&g...
自动化安装zabbix-agent1234567891011121314151617181920212223242526272829303132333435363738394041424344---- hosts: redis tasks: - name: 换源 shell: "cp -a /etc/yum.repos.d /etc/yum.repos.d.backup && rm -rf /etc/yum.repos.d/*" - get_url: url: http://mirrors.aliyun.com/r...
包括分发ssh密钥、修改hosts文件、系统初始化等内容
介绍了gitlab的搭建、使用与管理
git流程、git的安装与使用,代码add commit与回退等
ansible简单笔记