摘要: 解决方案进行远程登录授权 sudo apt install mariadb-client mariadb-server 修改密码UPDATE mysql.user SET authentication_string=PASSWORD('root'), PLUGIN='mysql_native_pas 阅读全文
posted @ 2021-04-15 19:38 石门 阅读(74) 评论(0) 推荐(0)
摘要: 第一 ,详细步骤 1, 虚拟机两台 (ip按自己的网络环境相应配置)(master/node) vim /etc/hosts 机器IPhostname 192.168.56.215 k8s-master 192.168.56.216 k8s-node1 192.168.56.217 k8s-node 阅读全文
posted @ 2021-03-05 16:00 石门 阅读(1582) 评论(1) 推荐(1)
摘要: 解决 win10与Ubuntu共享文件权限问题 (VirtualBox 虚拟机) sudo usermod -aG vboxsf $(whoami) 阅读全文
posted @ 2021-01-16 11:47 石门 阅读(458) 评论(0) 推荐(0)
摘要: 1. 拉取consul镜像 docker pull consul 2. consul参数详解 –net=host docker参数, 使得docker容器越过了net namespace的隔离,免去手动指定端口映射的步骤 -server consul支持以server或client的模式运行, se 阅读全文
posted @ 2021-01-04 10:27 石门 阅读(372) 评论(0) 推荐(0)
摘要: #安装MySQL sudo apt install mysql-server #进入数据库 sudo mysql #修改密码 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123'; 产生用户不能授权的 阅读全文
posted @ 2021-01-04 10:22 石门 阅读(90) 评论(0) 推荐(0)
摘要: req, err := http.NewRequest(c.method, c.url, reader) if err != nil { return nil, err } req.Header = c.Header req.Header.Set("Content-Type", c.ContentT 阅读全文
posted @ 2020-12-24 19:59 石门 阅读(3502) 评论(0) 推荐(0)
摘要: 1-指定共享文件 2-查看有木有挂载 $df 如果木有那就是没有成功 3-解决办法 1挂载 sudo mount -t vboxsf Shared /mnt 若出现mounting failed with the error:No such device则 安装依赖 yum clean all yu 阅读全文
posted @ 2020-09-26 10:20 石门 阅读(149) 评论(0) 推荐(0)
摘要: 安装docker 基础软件安装 # 安装基本软件$ sudo apt-get update$ sudo apt-get install apt-transport-https ca-certificates curl git software-properties-common lrzsz -y 添 阅读全文
posted @ 2020-02-23 13:59 石门 阅读(281) 评论(0) 推荐(0)
摘要: 1、vim ~/share 手动挂载 #!/bin/bash vmhgfs-fuse -o allow_other .host:/$(vmware-hgfsclient) /mnt/hgfs 保存 wq 设置运行权限 chmod a+x share 设置开机自动挂载。 打开文件 vim/etc/fs 阅读全文
posted @ 2020-02-23 13:34 石门 阅读(239) 评论(0) 推荐(0)
摘要: 报错原因,找不到 ssl_match_hostname 网上的解决办法是:pip install --upgrade backports.ssl_match_hostname实际上并没有用,会提示该模块已经安装在/usr/local/lib/python2.7/dist-packages root@ 阅读全文
posted @ 2020-02-07 18:51 石门 阅读(1629) 评论(1) 推荐(0)