在蓝图中有一个区分服务器和客户端的宏:SwitchHasAuthority 宏里判断了Server和Client FORCEINLINE_DEBUGGABLE bool AActor::HasAuthority()const { return (Role == ROLE_Authority); // ...
分类:
其他好文 时间:
2020-07-03 19:07:40
阅读次数:
57
环境信息: namespace为 tkc-cluster, Tanzu Kubernetes Cluster为:tkc-guest-cluster 第一步:ContentLabrary 在vSphere Web Client中看到为Tanzu Kubernetes Cluster创建的Content ...
分类:
Web程序 时间:
2020-07-02 18:11:20
阅读次数:
82
mongodb集群概念介绍 mongodb支持架构有单机(stand-alone)、主从(master-slave)、副本集(replica set)以及分片(sharding), 而最常用的架构莫过于副本集 + 分片。而分片有三大组件,分别为mongos、configsvr、sharding se ...
分类:
数据库 时间:
2020-07-01 12:36:50
阅读次数:
60
因需要在用户列表中点详情按钮来到当前页,所以需要展示分组详情,并展示当前所属角色组的用户 public async Task<ActionResult> Details(string id) { //查找是否存在角色组 var role = await _roleManager.FindByIdAs ...
分类:
其他好文 时间:
2020-06-30 14:47:52
阅读次数:
161
出于安全考虑,默认配置下Kubernetes不会将Pod调度到Master节点。如果希望将k8s-master也当作Node使用,可以执行如下命令: kubectl taint node k8s-master node-role.kubernetes.io/master- 其中k8s-master是 ...
分类:
Web程序 时间:
2020-06-27 16:18:35
阅读次数:
102
1.安装插件 Role-based Authorization Strategy或类似的,版本不同,插件略有区别 2.设置权限策略 3.配置策略 4.分配角色 guest:用户名/分组 exp:角色 ...
分类:
其他好文 时间:
2020-06-24 12:24:13
阅读次数:
49
(一)主机信息操作系统版本:centos7 64-bit数据库版本 :MongoDB 4.2 社区版iphostname192.168.10.41 mongoserver1192.168.10.42mongoserver2192.168.10.43mongoserver3(二)副本集搭建过程首先需要... ...
分类:
数据库 时间:
2020-06-23 21:39:29
阅读次数:
88
./createuser --interactive iomsx;Shall the new role be a superuser? (y/n) nShall the new role be allowed to create databases? (y/n) nShall the new rol ...
分类:
其他好文 时间:
2020-06-21 17:42:25
阅读次数:
78
AWS刚刚开始学习,都是图形化界面。所以blog基本以截图为主。。。建议看下以下这个视频作为预习,B站上也有一模一样的搬运。https://www.youtube.com/playlist?list=PLBfufR7vyJJ6FhBhJJSaMkI-m2wyoPy-GCloudwatch的alarm有个billing选项,控制台会要求你选择Virginia那个region主要就是钱。。。需要创造一
分类:
其他好文 时间:
2020-06-21 10:02:42
阅读次数:
117
mount挂载 环境准备 主机名 安装服务 wan lan web01 nfs客户端 10.0.0.7 172.16.1.7 web02 nfs客户端 10.0.0.8 172.16.1.8 nfs nfs服务端 10.0.0.9 172.16.1.9 流程分析 1.安装ansible 2.优化an ...
分类:
其他好文 时间:
2020-06-19 21:18:54
阅读次数:
220