摘要:https://john.albin.net/git/convert-subversion-to-git 1. 抓取Log 在linux 上做的,其余是在win上做的。 2. svn co svn://192.168.1.198/projects/ios --username xx 3. 抓取Log 信息 svn log -q | awk -F '|' '/^r/ {sub("^ ", ... 阅读全文
Discovery and auto register
2019-07-08 17:08 by divl, 202 阅读, 0 推荐, 收藏, 编辑
摘要:1.Discovery 2. auto register 2.1 agent 端配置 2.2 server 端配置 阅读全文
retry
2019-07-08 15:47 by divl, 595 阅读, 0 推荐, 收藏, 编辑
摘要:ansible-playbook --become --become-method=su -K --limit @/opt/ansible-playbook/201.retry 201.yml 阅读全文
zabbix template
2019-07-03 17:24 by divl, 306 阅读, 0 推荐, 收藏, 编辑
摘要:1. template 是分层级的,所有很多修改需要到父级去修改,而且影响所有子级。 阅读全文
Install zabbix
2019-06-27 17:51 by divl, 147 阅读, 0 推荐, 收藏, 编辑
摘要:- name: Create dir to keep install file file: path=/opt/pacheage state=directory follow=yes force=yes - name: Copy {{ pacheage_name }}.tar.gz copy: src={{ pacheage_name }}.tar.gz dest=/opt/pachea... 阅读全文
ansible start canal
2019-06-26 14:44 by divl, 284 阅读, 0 推荐, 收藏, 编辑
摘要:- name: Start canal server shell: source /etc/profile && nohup /opt/canal/bin/startup.sh 阅读全文
ansible on aws linux 2
2019-06-21 16:00 by divl, 335 阅读, 0 推荐, 收藏, 编辑
摘要:1. 安装epel yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 2. 安装ansible yum install ansible 3. 建立role mkdir -p /opt/ansible-playbook/roles mkdir -p {elast... 阅读全文
nexus auto start
2019-06-13 19:05 by divl, 257 阅读, 0 推荐, 收藏, 编辑
摘要:cd /etc/init.d ln -s /opt/nexus/nexus-2.3.1-01/bin/jsw/linux-x86-64/nexus nexus chkconfig --add nexus 阅读全文