摘要: 参考文章: https://www.kubernetes.org.cn/3773.html 设置静态IP地址 BOOTPROTO="static" dhcp改为static ONBOOT="yes" 开机启用本配置 IPADDR=192.168.7.106 静态IP GATEWAY=192.168. 阅读全文
posted @ 2018-05-02 23:28 abcyrf 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 安装 yum install y etcd firewalld 启动 启动mysql服务 vi mysql rc.yaml 修改docker镜像源 wget O /etc/yum.repos.d/CentOS Base.repo https://hub mirror.c.163.com docker 阅读全文
posted @ 2018-04-05 19:37 abcyrf 阅读(213) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/liyingke112/article/details/76022267 ClusterIP 此类型会提供一个集群内部的虚拟IP(与Pod不在同一网段),以供集群内部的pod之间通信使用。ClusterIP也是Kubernetes service的默认类型 阅读全文
posted @ 2018-04-02 13:55 abcyrf 阅读(319) 评论(0) 推荐(0) 编辑
摘要: redis ./redis cli p 7001 c a Admin123456789 cluster nodes 查看集群状态是否正常 详细参考: https://www.cnblogs.com/kongzhongqijing/p/6867960.html 查看磁盘挂载 /etc/init.d/a 阅读全文
posted @ 2018-03-31 15:03 abcyrf 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 先停止mysql服务。 mysqld skip grant tables 新打开一个cmd窗口,输入 mysql use mysql update mysql.user set authentication_string=password('8ik, IK 阅读全文
posted @ 2018-03-19 19:56 abcyrf 阅读(780) 评论(0) 推荐(0) 编辑
摘要: 问题: apache启动失败,提示80端口被占用 netstat ano|findstr ":80" 查看进程ID是4的system进程占用了80端口 解决办法: regedit打开注册表 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HT 阅读全文
posted @ 2018-03-19 19:55 abcyrf 阅读(397) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/esperyong/archive/2012/12/20/2825909.html http://www.cnblogs.com/esperyong/archive/2012/12/20/2826302.html http://www.cnblogs.c 阅读全文
posted @ 2018-01-30 10:32 abcyrf 阅读(95) 评论(0) 推荐(0) 编辑
摘要: windows版本 命令行输入 然后在重启mysql即可 阅读全文
posted @ 2018-01-21 12:48 abcyrf 阅读(279) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/luxiaojun/p/6543912.html 阅读全文
posted @ 2017-12-20 14:33 abcyrf 阅读(5105) 评论(0) 推荐(0) 编辑
摘要: 安装 启停 修改root密码 创建用户 . 方法1:在 mysql 数据库中的 user 表添加新用户 . 方法2:通过SQL的 GRANT 命令 常用命令 . show databases . use 数据库名 . show tables . show columns from 表名 . show 阅读全文
posted @ 2017-11-28 10:56 abcyrf 阅读(190) 评论(0) 推荐(0) 编辑