摘要:
创建VPC 和 子网和internet网关(子网需开启自动分配公网IP,VPN 需添加到internet网关的路由) 创建安全组: 创建cluster subnet Group; 创建redshift 连接redshift: 下载: SQL Workbench/J 下载 JDBC 驱动 加载JDBC 阅读全文
随笔档案-2019年05月
Install gitlab
2019-05-14 16:13 by divl, 137 阅读, 收藏, 编辑
摘要:
yum install -y curl policycoreutils-python openssh-server postfix wget wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-11.8.10-ce.0.el7.x86_64.rpm rpm -i gitlab-ce-11.8.10-ce.... 阅读全文
ansible roles
2019-05-10 18:42 by divl, 238 阅读, 收藏, 编辑
摘要:
mkdir -p /opt/ansible-playbook/roles cd /opt/ansible-playbook/roles mkdir -p {mysql,httpd}/{default,files,handlers,meta,tasks,templates,vars} 阅读全文
启动elasticsearch
2019-05-08 15:41 by divl, 831 阅读, 收藏, 编辑
摘要:
- name: source env shell: source /etc/profile - name: make elastic permission shell: su - elsearch -c 'chmod +x /opt/elastic/bin/*' - name: start es remote_user: root ... 阅读全文
切换用户启动程序
2019-05-07 17:21 by divl, 265 阅读, 收藏, 编辑
摘要:
#!/bin/bash su - elasticsearch <<EOF /opt/elasticsearch-6.6.2/bin/elasticsearch -d exit EOF 阅读全文
jinjia2
2019-05-07 17:12 by divl, 262 阅读, 收藏, 编辑
摘要:
ansible-playbook --become --become-method=su -K copy.yml 阅读全文