上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: 一、安装docker-compose curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose chm 阅读全文
posted @ 2021-02-20 14:57 巽逸 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 我测试了1.20.2版本配置glusterfs结果使用不了。记录时间2021-2-19 一、环境介绍 2台服务器都为存储服务器,都有一块20G的数据盘 注意:数据盘不要格式化操作 [root@master ~]# fdisk -l /dev/vdb Disk /dev/vdb: 21.5 GB, 2 阅读全文
posted @ 2021-02-20 10:17 巽逸 阅读(960) 评论(0) 推荐(0) 编辑
摘要: 一、流程图 二、实现 1、在master端创建一个永久的token [root@master ~]# kubeadm token create --ttl 0 --print-join-command kubeadm join 172.16.208.202:6443 --token d1m9gy.o 阅读全文
posted @ 2021-01-29 14:37 巽逸 阅读(592) 评论(1) 推荐(0) 编辑
摘要: 1、1.0版本 #!/bin/bash #当前版本仅支持CentOS7的系统 if [ `whoami` != 'root' ]; then echo -e "\e[1;31m 请使用root执行... \e[1;31m" exit 1 fi SYSTEM_VERSION=`lsb_release 阅读全文
posted @ 2021-01-21 15:12 巽逸 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 一、环境介绍 阿里云服务器CentOS 7.9 [root@keep1 ~]# cat /etc/hosts ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 localhost loca 阅读全文
posted @ 2021-01-18 14:40 巽逸 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 一、元数据接口官方文档 https://help.aliyun.com/document_detail/49122.html?spm=5176.20966629.toubu.3.f2991ddcpxxvD1#title-d20-np3-qf1 二、常用接口 1、网卡对应的网络相关 #获取网卡mac地 阅读全文
posted @ 2021-01-14 10:49 巽逸 阅读(1328) 评论(0) 推荐(0) 编辑
摘要: 一、nfs服务器安装nfs与配置 yum -y install nfs-utils rpcbind systemctl start rpcbind.service systemctl start nfs #配置 mkdir /data/nfs -p chown nfsnobody.nfsnobody 阅读全文
posted @ 2021-01-08 16:57 巽逸 阅读(2890) 评论(0) 推荐(1) 编辑
摘要: 一、环境介绍 #阿里云服务器#本来是要LSB作为api-server的负载均衡是最好的,但是阿里云的SLB对TCP方式的监听,如果是本服务器访问SLB最后又通过SLB访问到本机的话是走不通的,只有http和https的方式能通。#node节点最好是使用阿里云的弹性伸缩服务创建,这样后面扩容和伸缩方便 阅读全文
posted @ 2020-12-18 15:07 巽逸 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 一、安装xrdp apt-get install xrdp apt-get install xfce4 二、修改/etc/xrdp/startwm.sh文件 root@kali:~# cat /etc/xrdp/startwm.sh #!/bin/sh # xrdp X session start 阅读全文
posted @ 2020-10-29 14:12 巽逸 阅读(9103) 评论(0) 推荐(0) 编辑
摘要: pt-online-schema-change --user=[db_user] --password=[db_passwd] --host=[db_host] --alter="alert语句" --execute D=[db_name],t=[table_name] --no-check-rep 阅读全文
posted @ 2020-06-11 17:52 巽逸 阅读(823) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页