上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 64 下一页
摘要: docker-compose.yaml version: '3.9' services: mysql: image: mysql:8.0.32 container_name: mysql restart: always command: --default-authentication-plugin 阅读全文
posted @ 2023-04-07 17:28 小吉猫 阅读(283) 评论(0) 推荐(0)
摘要: 系统设置 sysctl.conf # echo vm.max_map_count=262144 >> /etc/sysctl.conf ulimits # docker run --rm docker.elastic.co/elasticsearch/elasticsearch:8.7.0 /bin 阅读全文
posted @ 2023-04-07 14:06 小吉猫 阅读(741) 评论(0) 推荐(0)
摘要: server1配置文件 { "node_name": "consul-server1", "datacenter": "zhongtai", "domain": "consul", "server": true, "log_level": "INFO", "ui_config": { "enable 阅读全文
posted @ 2023-04-07 11:08 小吉猫 阅读(153) 评论(0) 推荐(0)
摘要: redis.conf logfile /data/redis/logs/redis.log dir /data/redis/data bind 0.0.0.0 requirepass 123456 UID # docker run --rm -it redis:7.0.10 id redis uid 阅读全文
posted @ 2023-04-06 12:37 小吉猫 阅读(289) 评论(0) 推荐(0)
摘要: 服务器端启动配置 查看默认数据目录 # ls -l data/ total 122944 -rw-r 1 mysql mysql 56 Apr 4 17:21 auto.cnf -rw 1 mysql mysql 1676 Apr 4 17:21 ca-key.pem -rw-r--r-- 1 my 阅读全文
posted @ 2023-04-04 19:00 小吉猫 阅读(443) 评论(0) 推荐(0)
摘要: CREATE 命令格式 CREATE USER [IF NOT EXISTS] user [auth_option] [, user [auth_option]] ... [REQUIRE {NONE | tls_option [[AND] tls_option] ...}] [WITH resou 阅读全文
posted @ 2023-04-04 17:15 小吉猫 阅读(24) 评论(0) 推荐(0)
摘要: 查看系统信息 查看route # ip route default via 172.16.18.1 dev eth0 proto static 172.16.18.0/24 dev eth0 proto kernel scope link src 172.16.18.54 查看路由表 # ip ro 阅读全文
posted @ 2023-04-04 15:18 小吉猫 阅读(3126) 评论(0) 推荐(0)
摘要: 安装 Auditd # apt -y install auditd auditd.conf # # This file controls the configuration of the audit daemon # local_events = yes write_logs = yes log_f 阅读全文
posted @ 2023-04-04 13:19 小吉猫 阅读(3196) 评论(0) 推荐(0)
摘要: 准备工作 创建roles目录 # mkdir -pv /data/apps/ansible/roles/mysql-5.7/{files,tasks,handlers,templates,vars} hosts [ubuntu] 172.16.18.31 ansible_ssh_port=22 an 阅读全文
posted @ 2023-04-03 18:43 小吉猫 阅读(110) 评论(0) 推荐(0)
摘要: 准备工作 创建roles目录 # mkdir -pv /data/apps/ansible/roles/docker/{files,tasks,handlers,templates,vars} hosts [ubuntu] 172.16.18.31 ansible_ssh_port=22 ansib 阅读全文
posted @ 2023-04-03 16:00 小吉猫 阅读(176) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 64 下一页