摘要:
1.安装kubeadm之前 cat <<EOF > /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubern 阅读全文
posted @ 2021-12-20 17:01
cookieM
阅读(720)
评论(0)
推荐(0)
摘要:
1.安装三台或三台以上的虚拟机并互相ping得通 ping xxx.xxx.xx.xxx 2.关闭各个虚拟机的防火墙 systemctl stop firewalld 3.关闭selinux sed -i 's/enforcing/disabled/' /etc/selinux/config set 阅读全文
1.安装三台或三台以上的虚拟机并互相ping得通 ping xxx.xxx.xx.xxx 2.关闭各个虚拟机的防火墙 systemctl stop firewalld 3.关闭selinux sed -i 's/enforcing/disabled/' /etc/selinux/config set 阅读全文
posted @ 2021-12-20 15:51
cookieM
阅读(56)
评论(0)
推荐(0)

1.不同模块之间的包名需要相同 比如 com.xxx.业务名 .业务名可以不同 2. 可以在启动类注解 @SpringbootApplication(scanBasePackages={相应的包名})这样就可以扫描到了
public static ThreadLocal toThreadLocal = new ThreadLocal<>(); // 赋值 toThreadLocal.set(userInfoTo); // 取值 UserInfoTo userInfoTo = CartInterceptor.toTh
/** * @description:跨域配置 * @Author:ZaoYao * @Time: 2021/9/28 12:32 */@Configurationpublic class StoreCorsConfiguration { @Bean public CorsWebFilter cor
1. docker 安装 1.安装实用工并设置稳定的存储库。 sudo yum install -y yum-utilssudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce
浙公网安备 33010602011771号