2021年2月25日

kube-flannel.yml

摘要: https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: na 阅读全文

posted @ 2021-02-25 20:21 及途又八 阅读(181) 评论(0) 推荐(0)

centos7部署K8S

摘要: 准备三台centos7服务器 一台 master node (主机名 k8s-master-01) 两台 work node(主机名 k8s-work-01、k8s-work-02) 【环境准备】(k8s-master-01、k8s-work-01、k8s-work-02 都要执行) 设置固定IP: 阅读全文

posted @ 2021-02-25 17:23 及途又八 阅读(352) 评论(0) 推荐(0)

2021年2月23日

CentOS7 防火墙 firewall 相关命令(启动、停止、状态)

摘要: 查看状态: systemctl status firewalld.service 关闭: systemctl stop firewalld.service 开机禁用 : systemctl disable firewalld.service 启动:systemctl start firewalld. 阅读全文

posted @ 2021-02-23 11:32 及途又八 阅读(226) 评论(0) 推荐(0)

docker 启动 nginx 报错 docker0: iptables: No chain/target/match by that name

摘要: 原文:https://blog.csdn.net/newtelcom/article/details/79548152 在CentOS 7下使用类似nginx之类的web server,启动docker时有时会报以下错误: docker0: iptables: No chain/target/mat 阅读全文

posted @ 2021-02-23 11:26 及途又八 阅读(1302) 评论(0) 推荐(0)

2021年2月22日

docker 部署 nginx

摘要: 先启动一个临时nginx docker run -p 5080:80 --name temp-nginx -d nginx 将nginx相关配置文件从docker复制到本地,b4cc12141323 为容器ID docker container cp b4cc12141323:/etc/nginx 阅读全文

posted @ 2021-02-22 20:33 及途又八 阅读(95) 评论(0) 推荐(0)

2021年2月21日

K8S环境准备

摘要: 关防火墙(master 和 work 执行) systemctl stop firewalld systemctl disable firewalld 关SeLinux(master 和 work 执行) # 查看状态 [root@192 ~]# getenforce Enforcing # 临时关 阅读全文

posted @ 2021-02-21 17:13 及途又八 阅读(135) 评论(0) 推荐(0)

docker运行elasticsearch和kibana

摘要: [root@host-132 ~]# mkdir -p /mydata/elasticsearch/config [root@host-132 ~]# mkdir -p /mydata/elasticsearch/data [root@host-132 ~]# mkdir -p /mydata/el 阅读全文

posted @ 2021-02-21 14:38 及途又八 阅读(122) 评论(0) 推荐(0)

2021年2月10日

使用mysql命令行工具登录mycat报错:ERROR 1045 (HY000): Access denied for user 'mycat', because password is error

摘要: 修改server.xml <property name="nonePasswordLogin">1</property> <!-- 0为需要密码登陆、1为不需要密码登陆 ,默认为0,设置为1则需要指定默认账户--> 阅读全文

posted @ 2021-02-10 22:09 及途又八 阅读(1568) 评论(0) 推荐(0)

远程连接mongodb,Connection refused的解决办法

摘要: 原贴 https://blog.csdn.net/longweizhe/article/details/82047954 环境:centos 6.7,virtualbox虚机安装,basic server,IP地址为192.168.0.104。 用户:新建用户mongodb。 安装步骤: 1、wge 阅读全文

posted @ 2021-02-10 18:24 及途又八 阅读(1446) 评论(0) 推荐(0)

2021年2月8日

解决 intelliJ idea maven 项目 target bytecode version 自动变化的问题

摘要: maven编译项目不会按照系统环境变量JAVA_HOME对应的版本编译,而是默认代码版本为java 5(或者 6),需要在pom.xml中配置如下 <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <arti 阅读全文

posted @ 2021-02-08 22:37 及途又八 阅读(1427) 评论(0) 推荐(0)

导航