centos7上用apache+mod_wsgi部署django项目
1.安装apache
sheel>yum install httpd
2.启动apache服务
sheel>/sbin/service httpd start (设置自启动:/sbin/chkconfig httpd on)
3.验证是否安装成功
浏览器输入centos7公网ip,有相应页面显示表示安装成功。
4.安装httpd-devel
shell>yum install -y httpd-devel
1.安装apache
sheel>yum install httpd
2.启动apache服务
sheel>/sbin/service httpd start (设置自启动:/sbin/chkconfig httpd on)
3.验证是否安装成功
浏览器输入centos7公网ip,有相应页面显示表示安装成功。
4.安装httpd-devel
shell>yum install -y httpd-devel