【文件属性】:
文件名称:CentOS7部署Flask(Apache、mod_wsgi、Python36、venv)
文件大小:56KB
文件格式:PDF
更新时间:2021-01-20 15:58:15
apache AS c
一、安装Apache
# yum install -y httpd httpd-devel
# systemctl start httpd.service # 启动
# systemctl stop httpd.service # 关闭
# systemctl restart httpd.service # 重启
# systemctl enable httpd.service # 开机自启
防火墙开放80端口
# firewall-cmd --zone=public --add-port=80/tcp --permanent
# firewall-cmd --