代码改变世界

随笔档案-2019年06月

Install zabbix

2019-06-27 17:51 by divl, 147 阅读, 收藏, 编辑
摘要: - 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, 289 阅读, 收藏, 编辑
摘要: - 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, 337 阅读, 收藏, 编辑
摘要: 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 阅读, 收藏, 编辑
摘要: cd /etc/init.d ln -s /opt/nexus/nexus-2.3.1-01/bin/jsw/linux-x86-64/nexus nexus chkconfig --add nexus 阅读全文

nexus https proxy

2019-06-13 18:49 by divl, 680 阅读, 收藏, 编辑
摘要: 阅读全文

bind cname

2019-06-13 14:49 by divl, 531 阅读, 收藏, 编辑
摘要: $TTL 1D @ IN SOA @ rname.invalid. ( 0 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H ) ; minimum NS @ A 127.0.0.1 AAAA ::1 web IN A 192.168.1.197 fan 阅读全文

Install redis

2019-06-11 17:38 by divl, 336 阅读, 收藏, 编辑
摘要: Version: redis-4.0.9.tar.gz yum install gcc tcl make PREFIX=/opt/redis-4.0.9/ install mkdir /opt/redis-4.0.9/{conf,log,data} cp redis.conf /opt/redis-4.0.9/conf/ vi redis.conf ln -s redis-4.0.9... 阅读全文
点击右上角即可分享
微信分享提示