摘要: 源码地址: https://github.com/307209239/NuGet.Server 源码克隆到本地后编码运行 选择项目 发布到本地文件, 发布成功后,把文件复制到服务器上(我把它复制到C:\inetpub\wwwroot\nuget),新建IIS网站 更改端口为8000,确定,打开网站 阅读全文
posted @ 2020-08-16 20:53 悳鎭 阅读(141) 评论(0) 推荐(1) 编辑
摘要: CentOS 7 中直接使用 systemd 指令修改启动目的状态即可。使用,# systemctl get-default 可以查询到当前所设定的状态。multi-user.target 相当于以前的 level 3,也就是命令行终端;而 graphical.target 相当于以前的 level 阅读全文
posted @ 2020-08-13 21:51 悳鎭 阅读(1708) 评论(0) 推荐(1) 编辑
摘要: CentOS 7.x 系统自带的 3.10.x 内核存在一些 Bugs,导致运行的 Docker、Kubernetes 不稳定 安装: rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm 安装完成后检查 阅读全文
posted @ 2020-08-12 22:28 悳鎭 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 服务器IP:192.168.123.30 安装httpd yum install httpd -y开放80端口 firewall-cmd --add-port=80/tcp安装 createrepoyum install createrepo只下载不安装 yum install –downloado 阅读全文
posted @ 2020-08-11 22:19 悳鎭 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 删除节点重新加入报错: error execution phase check-etcd: etcd cluster is not healthy: failed to dial endpoint https://192.168.123.21:2379 with maintenance client 阅读全文
posted @ 2020-08-10 21:53 悳鎭 阅读(1124) 评论(0) 推荐(0) 编辑
摘要: 创建ssl证书openssl rand -base64 741 > key.txt创建namespacekubectl create namespace mongodb创建secretkubectl create secret generic shared-bootstrap-data -n mon 阅读全文
posted @ 2020-08-09 23:07 悳鎭 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 准备NFS服务192.168.1.244$ yum -y install nfs-utils rpcbind$ systemctl start nfs-server rpcbind$ systemctl enable nfs-server rpcbind$ mkdir -p /data/k8s$ c 阅读全文
posted @ 2020-08-07 22:58 悳鎭 阅读(116) 评论(0) 推荐(1) 编辑
摘要: 新建文件rabbitmq.yaml apiVersion: v1 kind: Namespace metadata: name: test-rabbitmq apiVersion: v1 kind: ConfigMap metadata: name: rabbitmq-config namespac 阅读全文
posted @ 2020-08-06 22:02 悳鎭 阅读(326) 评论(1) 推荐(0) 编辑
摘要: 1.首先k8s要有StorangeClass,这里为data 新建redis-cluster.yaml文件 apiVersion: v1 kind: ConfigMap metadata: name: redis-cluster data: update-node.sh: | #!/bin/sh R 阅读全文
posted @ 2020-08-05 21:38 悳鎭 阅读(1738) 评论(0) 推荐(0) 编辑
摘要: 如果没有配置过管道的请参考上一篇博客 https://www.cnblogs.com/lidezhen/p/13430503.html k8s安装请参考: https://www.cnblogs.com/lidezhen/p/13423802.html harbor安装请参考: https://go 阅读全文
posted @ 2020-08-04 21:15 悳鎭 阅读(758) 评论(0) 推荐(0) 编辑