摘要: 在联网的机器下载到 /opt yum install--downloadonly --downloaddir=/opt gcc gcc-c++ automake autoconf libtool make 安装服务器上传到 /opt 执行安装 rpm -Uvh *.rpm --nodeps --fo 阅读全文
posted @ 2024-05-23 13:35 Blog老中医 阅读(2) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { List<dynamic> arrayList = new List<dynamic>(); arrayList.Add(new { id = "0", pid = "", title = "湖北省", children= new 阅读全文
posted @ 2021-03-12 12:43 Blog老中医 阅读(101) 评论(0) 推荐(0) 编辑
摘要: ELK 安装跳转 安装 kafka wget https://archive.apache.org/dist/kafka/2.2.0/kafka_2.11-2.2.0.tgz tar -zxvf kafka_2.11-2.2.0.tgz mv kafka_2.11-2.2.0 /usr/local/ 阅读全文
posted @ 2021-02-23 15:30 Blog老中医 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 下载rpm安装包 wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.7.0-x86_64.rpm wget https://artifacts.elastic.co/downloads/kibana/k 阅读全文
posted @ 2021-02-18 14:38 Blog老中医 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 准备三台机器 系统Centos7 机器名 ip master 192.168.0.1 client1 192.168.0.2 client2 192.168.0.3 全部安装postgresql 安装文档 master $ su - postgres $ psql -U postgres creat 阅读全文
posted @ 2021-02-07 15:59 Blog老中医 阅读(704) 评论(0) 推荐(0) 编辑
摘要: 下载postgresql-11.10.tar.gz和ossp-uuid_1.6.2.orig.tar.gz $ useradd postgres $ chown -R postgres.postgres /home/postgres/ $ tar -zxvf ossp-uuid_1.6.2.orig 阅读全文
posted @ 2021-02-07 11:33 Blog老中医 阅读(138) 评论(0) 推荐(0) 编辑
摘要: CAP 是一个基于 .NET Standard 的 C# 库,它是一种处理分布式事务的解决方案,同样具有 EventBus 的功能,它具有轻量级、易使用、高性能等特点。 参考中文官网 从这张图可以看到CAP主要是保证消息的一致性,没有事务回滚的操作,需要自己实现消息双向推送 我一开始以为实现分布式事 阅读全文
posted @ 2020-10-29 16:28 Blog老中医 阅读(508) 评论(0) 推荐(0) 编辑
摘要: Vuex的生命周期是页面缓存,刷新就失效了 解决办法借助缓存 import Cookies from 'js-cookie' const state = { userInfo: null || Cookies.get('userInfo') } const mutations = { SET_USE 阅读全文
posted @ 2020-10-24 00:48 Blog老中医 阅读(1004) 评论(1) 推荐(1) 编辑
摘要: 我都是在docker的基础上搭建的,前提安装docker 和 docker-compose 安装docker省略掉 docker-compose安装 curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker- 阅读全文
posted @ 2020-10-05 15:54 Blog老中医 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 企业微信接口文档 1.构造授权网页链接 2.回调获取到 Code 通过code+access_token去请求用户信息 3.获取access_token 4.调试准备工作 -->内网穿透+域名 推荐向日葵有免费的,免费的开发测试够用了 5.域名的配置成可信用 上代码 [ApiController] 阅读全文
posted @ 2020-10-05 15:14 Blog老中医 阅读(621) 评论(0) 推荐(0) 编辑