Zeng's Page


  • 首页

  • 标签

  • 归档

  • 相册

  • 搜索

Docker介绍

Posted on 2019-07-14 | In Docker

Docker 使用客户端 - 服务器架构。Docker客户端与Docker守护进程通信,后者负责构建,运行和分发Docker容器。Docker客户端和守护程序可以在同一系统上运行,也可以将Docker客户端连接到远程Docker守护程序。Docker客户端和守护程序使用REST API,通过UNIX套接字或网络接口进行通信。

Read more »

Redis in Docker

Posted on 2019-07-14 | In Docker

连接redis

  • docker redis-cli连接redis
1
2
3
4
[root@localhost redis]# docker inspect redis_redis_1 |grep net
"NetworkMode": "redis_localnet",
"SandboxKey": "/var/run/docker/netns/a498b7651db0",
"redis_localnet": {
Read more »

清理ELK的旧索引

Posted on 2019-07-08 | In ELK

安装elasticsearch-curator

1
2
3
4
5
6
7
pip install elasticsearch-curator

如果报错"ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed ..."

pip install pip==8.0.3
pip uninstall pyyaml
pip install elasticsearch-curator
Read more »

Consul ACL

Posted on 2019-06-25 | In Consul

systemd service

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=consul agent
Requires=network-online.target
After=network-online.target

[Service]
EnvironmentFile=-/etc/sysconfig/consul
Environment=GOMAXPROCS=2
Restart=on-failure
ExecStart=/usr/local/bin/consul agent -config-dir=/opt/consul/conf -rejoin
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM

[Install]
WantedBy=multi-user.target
Read more »

yum安装MySQL-5.7

Posted on 2019-06-19 | In 其它

系统:CentOS 7.6

Read more »
1…131415…21
Lz. Zeng

Lz. Zeng

Continuous Self-Improvement

104 发布
18 分类
28 标签
© 2022 Lz. Zeng
NexT.Pisces
 |         Words: 97.2k
0%