1. 安装apache2
2.安装django
3.安装数据库Sqlite2
4.测试数据库和django 与 python关联成功
5.安装mod_wsgi 参考博客:http://www.cnblogs.com/EncryptingLife/p/4817027.html
问题:‘missing Apache httpd server packages.‘ % APXS
参考资料: https://pypi.python.org/pypi/mod_wsgi
apt-get install apache2-threaded-dev
apt-get install apache2-mpm-worker
问题:error: command ‘x86_64-linux-gnu-gcc‘ failed with exit status 1
apt-get install python-dev
时间: 2024-11-13 06:08:45