摘要: 一、环境准备 1. 关闭交换区 #临时关闭 sudo swapoff -a #永久关闭 #把/etc/fstab中的swap注释掉 sudo sed -i 's/.*swap.*/#&/' /etc/fstab 2. 禁用selinux #临时关闭 setenforce 0 #永久关闭 sudo s 阅读全文
posted @ 2021-05-19 09:57 Susie_Li 阅读(7414) 评论(3) 推荐(0)
摘要: 1、构建Dockerfile ,路径 /root/mysql 1 FROM hub.c.163.com/library/mysql:5.7 2 #作者信息 3 MAINTAINER lsj 4 #修改编码方式 5 RUN echo "character-set-server=utf8" >> /et 阅读全文
posted @ 2021-03-31 10:56 Susie_Li 阅读(2334) 评论(0) 推荐(0)
摘要: 查看防火墙是否开启,not running表示未开启 # 查看防火墙是否开启 firewall-cmd --state 查看防火墙所开放的端口 firewall-cmd --list-ports [root@zsr ~]# firewall-cmd --list-ports 20/tcp 21/tc 阅读全文
posted @ 2021-03-30 16:05 Susie_Li 阅读(91) 评论(0) 推荐(0)
摘要: 1、创建SpringBoot项目 2、编写Controller @RestController @RequestMapping("/hello") public class HelloController { @PostMapping(value = "/test") public String h 阅读全文
posted @ 2021-03-30 09:18 Susie_Li 阅读(361) 评论(0) 推荐(0)
摘要: 现在比较主流的虚拟机有VMware、VirtualBox和win10自带且只有winows有的Hyper-V。 VMware: 功能最齐全,收费。 VirtualBox: 开源软件,免费 比VMware小多了 安装配置简单实用,社区活跃 1、VirtualBox6.1下载 2、CentOS8虚拟机镜 阅读全文
posted @ 2021-03-26 11:48 Susie_Li 阅读(226) 评论(0) 推荐(0)