摘要:1.查看防火墙状态 firewall-cmd --state 2.启动防火墙 systemctl start firewalld 3.关闭防火墙 systemctl stop firewalld 4.检查防火墙开放的端口 firewall-cmd --permanent --zone=public
阅读全文
摘要:第一步:下载 CentOS 8 ISO 文件 在 CentOS 官方网站 https://www.centos.org/download/ 下载 CentOS 8 ISO 文件。 第二步: 创建 CentOS 8 启动介质(USB 或 DVD) 下载 CentOS 8 ISO 文件之后,将 ISO
阅读全文
摘要:https://docs.microsoft.com/zh-cn/virtualization/windowscontainers/manage-docker/configure-docker-daemon boot2docker 下载地址 https://github.com/boot2docke
阅读全文
摘要:docker 环境 CentOS 8.1 拉取镜像 docker pull tomcat:jdk8-openjdk docker pull tomcat:8.5.55-jdk8-openjdk 查看镜像 docker images 显示正在运行的容器: [root@localhost HMK]# d
阅读全文
摘要:参考 https://juejin.im/post/5e3032575188252c6e182a55 软件更新 把相关软件都更新 yum update 卸载旧版本 yum remove docker \ docker-client \ docker-client-latest \ docker-co
阅读全文
摘要:docker 环境 是 CentOS 8.1 拉取镜像 docker pull mysql:8.0.36 在宿主机创建持久化 mysql data 及mysql.cnf 数据目录和配置文件目录 日志目录 mkdir -p /docker-root/mysql_3308/conf.d mkdir -p
阅读全文
摘要:一、修改tomcat启动窗口的名称 场景:我们在启动tomcat的时候,一般会出现tomcat窗口,默认窗口名字是tomcat,如果我们想知道这个tomcat的端口号,我们需要查看配置文件,很麻烦有木有。如果我们可以直接把端口号设置在窗口上,直接打开就知道这个tomcat的端口号。岂不是很爽。只需要
阅读全文
摘要:Mybatis Plus 时间查询无效解决方法 错误写法 正确写法 使用 日期格式化类DateFormatUtils【org.apache.commons.lang3.time.DateFormatUtils】 query.apply("UNIX_TIMESTAMP(create_time) = U
阅读全文