【问题标题】:Install WSGI in my apache localhost Ubuntu 12.04在我的 apache localhost Ubuntu 12.04 中安装 WSGI
【发布时间】:2014-04-06 05:13:47
【问题描述】:

我在 Ubuntu 12.04 中使用 LAMP 服务器。并想在 apache 中安装 wsgi 模块以运行 python 应用程序。这个模块怎么安装?

【问题讨论】:

    标签: python linux apache wsgi


    【解决方案1】:

    试试这个:

    # sudo apt-get install apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert
    
    # sudo apt-get install libapache2-mod-wsgi
    
    # sudo service apache2 restart
    

    所有这些都成功后,转到您的 apache httpd conf enable WSGI 模块配置您的 pythone 应用程序并再次重新启动 apache。

    【讨论】:

      猜你喜欢
      • 2014-02-18
      • 2017-12-29
      • 1970-01-01
      • 2015-03-28
      • 2014-08-10
      • 2014-08-12
      • 2012-12-10
      • 2013-07-10
      • 1970-01-01
      相关资源
      最近更新 更多