【发布时间】:2014-07-16 10:18:06
【问题描述】:
我正在研究在运行 Apache 的共享服务器上部署一个 Django 项目。这是我第一次这样做。我在服务器上有一个共享文件夹用于我的工作,并且我已被添加到 sudo 组,因此我可以安装新软件。
如何通过终端命令行检查 mod_wsgi 是否已安装?最好是哪个版本?
我可以ssh到服务器上,Apache的版本是
$ apache2 -v
Server version: Apache/2.2.22 (Ubuntu)
Server built: Jul 12 2013 13:37:10
$
非常感谢任何帮助。
编辑:
仅供参考,在我运行 Dirk Eschler 提供的命令 $ dpkg -s libapache2-mod-wsgi 后,它显示它没有安装。它返回了
Package `libapache2-mod-wsgi' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
希望这对其他人有所帮助。
【问题讨论】:
标签: django apache mod-wsgi wsgi