09 2019 档案

摘要:安装pgbouncer node1:编辑pgbouncer.ini配置文件 配置postgres管理账户和密码 node2:编辑pgbouncer.ini配置文件 配置postgres管理账户和密码 node3:编辑pgbouncer.ini配置文件 配置postgres管理账户和密码 创建/etc 阅读全文
posted @ 2019-09-22 12:51 也曾少年 阅读(867) 评论(0) 推荐(0) 编辑
摘要:环境: CentOS Linux release 7.6.1810 (Core) 内核版本:3.10.0-957.10.1.el7.x86_64 node1:192.168.216.130 node2:192.168.216.132 node3:192.168.216.134 postgres内核优 阅读全文
posted @ 2019-09-22 11:36 也曾少年 阅读(2274) 评论(1) 推荐(0) 编辑
摘要:pip是python中的一个包管理工具,可以对Python包的查找、下载、安装、卸载的作用。 由于默认的pip源是国外的,所以下载速度会比较慢,python pip配置国内源 方式一:临时使用国内pypi镜像安装 方式二:永久使用国内pypi镜像安装 1、创建pip.conf文件 2、升级pip的版 阅读全文
posted @ 2019-09-22 11:08 也曾少年 阅读(10786) 评论(0) 推荐(0) 编辑
摘要:nginx版本号:nginx version: nginx/1.15.10 server { listen 443 default ssl; server_name app.test.com; if ($host != 'app.test.com'){ return 403; } ssl_certi 阅读全文
posted @ 2019-09-20 10:40 也曾少年 阅读(1052) 评论(0) 推荐(0) 编辑
摘要:默认告警模板 产生告警: Problem: {EVENT.NAME} Problem started at {EVENT.TIME} on {EVENT.DATE} Problem name: {EVENT.NAME} Host: {HOST.NAME} Severity: {EVENT.SEVER 阅读全文
posted @ 2019-09-18 09:10 也曾少年 阅读(1117) 评论(0) 推荐(0) 编辑
摘要:系统版本:CentOS版本6.10(最终版) pg_rman:https://github.com/ossc-db/pg_rman -bash-4.1$ makegcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-st 阅读全文
posted @ 2019-09-12 11:10 也曾少年 阅读(501) 评论(0) 推荐(0) 编辑
摘要:操作系统:CentOS Linux release 7.6.1810 (Core) node1:192.168.216.130 master node2:192.168.216.132 slave node3:192.168.216.136 haproxy 这里仅测试,所以只部署了一主一丛,适用与测 阅读全文
posted @ 2019-09-03 20:34 也曾少年 阅读(2545) 评论(0) 推荐(0) 编辑