侧边栏
摘要: 首次安装docker-compose Linux 上我们可以从 Github 上下载它的二进制包来使用,最新发行的版本地址:https://github.com/docker/compose/releases。 运行以下命令以下载 Docker Compose 的当前稳定版本: $ sudo cur 阅读全文
posted @ 2022-04-20 21:23 我有我的骄傲 阅读(783) 评论(0) 推荐(0) 编辑
摘要: 环境Centose 7.9 在新主机上首次安装 Docker Engine-Community 之前,需要设置 Docker 仓库。之后,您可以从仓库安装和更新 Docker。 设置仓库 安装所需的软件包。yum-utils 提供了 yum-config-manager ,并且 device map 阅读全文
posted @ 2022-04-20 21:14 我有我的骄傲 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1、主从访问 2、哨兵模式 3、集群访问 ConfigurationOptions sentinelOptions = new ConfigurationOptions(); sentinelOptions.EndPoints.Add("180.76.*.*", 26379); sentinelOp 阅读全文
posted @ 2022-04-11 17:34 我有我的骄傲 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 首先,先看看非异步方法如何获得。 class Program { static void Main(string[] args) { MethodInfo methodInfo = typeof(Program).GetMethod("SayHello"); object result = meth 阅读全文
posted @ 2022-03-25 10:25 我有我的骄傲 阅读(774) 评论(0) 推荐(0) 编辑
摘要: ##redis配置详解 # Redis configuration file example.## Note that in order to read the configuration file, Redis must be# started with the file path as firs 阅读全文
posted @ 2021-11-05 11:35 我有我的骄傲 阅读(102) 评论(0) 推荐(0) 编辑
摘要: HttpUtility.UrlEncodeHttpUtility.UrlDecode 阅读全文
posted @ 2021-04-22 18:25 我有我的骄傲 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 借鉴微博:https://blog.csdn.net/zhifeiya/article/details/42919047 核心代码: using System;using System.Collections;using System.Collections.Generic;using System 阅读全文
posted @ 2021-04-19 13:43 我有我的骄傲 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://www.cnblogs.com/wang3680/p/fc599428cb9eb45cb93c2e7fdf0024a0.html http: 1、开放端口 firewall-cmd --zone=public --add-port=8688/tcp --permanent # 阅读全文
posted @ 2021-03-31 11:03 我有我的骄傲 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 网上很多帖子有在Linux上安装Redis的分享,这里我就不再多介绍。 redis在centos7中的开机自启在系统服务目录里创建redis.service文件 vi /etc/systemd/system/redis.service 写入以下内容:[Unit]Description=redis-s 阅读全文
posted @ 2021-03-30 16:34 我有我的骄傲 阅读(613) 评论(0) 推荐(0) 编辑
摘要: 直接上代码: 需要引用using Microsoft.Extensions.Configuration; public class AppSettings { /// <summary> /// 配置文件的根节点 /// </summary> private static readonly ICon 阅读全文
posted @ 2021-03-26 10:15 我有我的骄傲 阅读(208) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示