摘要:
1、添加EPEL软件包安装源 yum install epel-release 2、安装mosquitto yum install mosquitto 3、启动 systemctl start mosquitto 阅读全文
摘要:
1、在 https://www.rabbitmq.com/which-erlang.html 查看erlang和rabbitmq的版本对应关系 2、在https://packagecloud.io/rabbitmq/erlang?page=1 下载erlang的rpm包 3、在https://git 阅读全文
摘要:
一、设置所有用户最大打开文件数和网络连接数 1、编辑 /etc/security/limits.conf 文件,可以使用下面的命令打开该文件: sudo vim /etc/security/limits.conf 2、添加以下四行: 第一行和第二行分别设置所有用户的文件打开数的软限制和硬限制均为 6 阅读全文
摘要:
解决: 创建secret kubectl create secret docker-registry regsecret --docker-server="http://192.168.1.137:8011" --docker-username="admin" --docker-password=" 阅读全文
摘要:
1、下载 curl -O https://docs.tigera.io/archive/v3.25/manifests/calico.yaml 2、修改CIDR,添加图中内容。该yaml文件中默认CIDR为192.168.0.0/16,需要与初始化时kube-config.yaml中的配置一致 vi 阅读全文
摘要:
说明:该脚本把21的mysql数据库factory_cloud.personnel表里的数据迁移到185的mysql数据库tj_factory_prod.bd_person表里,这2个表字段不一致,只要2个表相关联的字段。 import pymysql import sys import datet 阅读全文
摘要:
Spring Boot 是基于 Spring 框架的部分组件进行封装,所以大部分注解都是 Spring 框架中常用的注解。下面是 Spring Boot 中常用的注解: 1、@SpringBootApplication:这个注解是 Spring Boot 应用的入口标志,同时也标注了这是一个Spri 阅读全文
摘要:
1、部署ingress controller下载yaml文件,要指定版本 wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.1/deploy/static/provider/cloud/de 阅读全文
摘要:
1、在插件管理下载Role-based Authorization Strategy插件 2、打开全局安全设置,设置授权策略 3、在管理角色里新增一个全局角色kaifa,只授权Overall的read权限,注意全局角色不要授权job,不然用户只能看指定的项目的权限不生效 4、在管理角色里下拉找到项目 阅读全文
摘要:
1、下载安装包,官网https://nodejs.org/en/download wget https://nodejs.org/download/release/v16.20.0/node-v16.20.0-linux-x64.tar.xz 2、安装gcc yum install -y gcc o 阅读全文