3. 搭建HTTPS 文件服务器
1. 安装nginx
dnf update -y
dnf install -y nginxsystemctl enable --now nginxsystemctl status nginx2. 配置 Let's Encrypt SSL 证书
dnf install -y certbot python3-certbot-nginxcertbot certonly --manual --preferred-challenges dns -d fs.sysidc.com3.配置 Nginx 作为文件服务器
4. 配置防火墙
5. 配置 SELinux
6. 安全加固(可选项,配置复杂未配置成功)
7. 配置自动更新证书
8. 总结
最后更新于