摘要: 1、下载tar包 wget https://neo4j.com/artifact.php?name=neo4j-community-3.4.9-unix.tar.gz 2、解压并移动位置 tar -zxvf neo4j-community-3.4.9-unix.tar.gz mv neo4j-com 阅读全文
posted @ 2022-10-10 14:08 宝英姐姐 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 注:本人用的系统是centos7.5 1、将文件打成tar包命令 tar -czvf postgresql-11.6.tar.gz postgresql-11.6 2、宿主机调用docker里面命令显示docker的ip docker exec -it 78 /bin/bash -c 'ip a / 阅读全文
posted @ 2021-12-22 14:20 宝英姐姐 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 具体搭建pgql数据库参考上一篇博客:https://www.cnblogs.com/likecoke/p/15715095.html 本篇博客主要是 修改pgsql的存储目录 1、首先查看数据库存储位置 SHOW data_directory; 可以看到现在的存储目录是:/opt/postgres 阅读全文
posted @ 2021-12-21 14:28 宝英姐姐 阅读(1494) 评论(0) 推荐(0) 编辑
摘要: postgresql主从同步 目录 一、环境准备: 二、主库安装配置: 三、从库安装配置 四、 将服务设置为开机自启 一、环境准备: 主库IP:192.168.1.55 从库IP:192.168.1.56 安装介质准备 下载地址: https://www.postgresql.org/ftp/sou 阅读全文
posted @ 2021-12-21 14:15 宝英姐姐 阅读(1548) 评论(2) 推荐(0) 编辑
摘要: 效果如下: 像个小火车一样跑 哈哈哈哈 怎么实现的呢 首先 1、下载使用阿里云镜像源(也可以用网易的) wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo 2、安装epel-r 阅读全文
posted @ 2021-09-08 16:48 宝英姐姐 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 下载Helm客户端:1、wget https://get.helm.sh/helm-v3.2.4-linux-amd64.tar.gz2、tar zxvf helm-v3.2.4-linux-amd64.tar.gz3、mv linux-amd64/helm /usr/bin/ helm命令使用 命 阅读全文
posted @ 2021-09-06 16:25 宝英姐姐 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 记录使用k8s中遇到的小问题 今日重启k8s中master服务器后 输入: kubectl get pod 发现报错: The connection to the server 192.168.95.129:6443 was refused - did you specify the right h 阅读全文
posted @ 2021-09-06 13:38 宝英姐姐 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 一、服务器规划及配置 1.1服务器规划: 角色 IP k8s-master 192.168.95.129 k8s-node1 192.168.95.130 k8s-node2 192.168.95.131 1.2服务器配置: 建议最小硬件配置:2核CPU、2G内存、20G硬盘 二、操作系统初始化配置 阅读全文
posted @ 2021-08-09 13:13 宝英姐姐 阅读(794) 评论(0) 推荐(1) 编辑
摘要: 宿主机 id: 8919 json: { "__inputs": [ { "name": "DS__VICTORIAMETRICS", "label": " VictoriaMetrics", "description": "", "type": "datasource", "pluginId": 阅读全文
posted @ 2021-06-25 09:01 宝英姐姐 阅读(918) 评论(2) 推荐(0) 编辑
摘要: (前提是服务器已经可以发送邮件,具体操作看上一篇博客:https://www.cnblogs.com/likecoke/p/14865708.html) 1、编写脚本 vim clean_cache.sh #!/bin/bash#剩余内存低于40G,开始清理缓存 date=`date +%Y-%m- 阅读全文
posted @ 2021-06-18 09:49 宝英姐姐 阅读(206) 评论(0) 推荐(0) 编辑