摘要: 环境 CentOS7 步骤 安装依赖包 yum install -y policycoreutils-python openssh-server systemctl enable sshd systemctl start sshd 安装邮件服务 yum -y install postfix syst 阅读全文
posted @ 2020-09-06 18:40 NetRookieX 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 示例1-无break和last 请求:访问/1.html 结果:最终会匹配到b.html 执行顺序:连续执行两次rewrite后,匹配到location /3.html,最终匹配到b.html server{ listen 80; server_name test.com; root /tmp; l 阅读全文
posted @ 2020-09-06 10:52 NetRookieX 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 背景 一般情况下,我们直接拉取mysql的镜像即可。但是如果需要在centos的镜像里安装并启动mysql,那么这篇文章将会给你帮助。 既然可以在容器中安装mysql,本教程同样适用于CentOS中。 安装 yum -y install mariadb-server mariadb 初始化 mysq 阅读全文
posted @ 2020-09-06 01:13 NetRookieX 阅读(0) 评论(0) 推荐(0) 编辑