我有一个 Ubuntu 12.04 服务器设置,当前在 Passenger / Nginx 安装上运行 Ruby on Rails 应用程序。我决定尝试一些 Python 并使用Bottle编写了一个小应用程序。我想将此应用程序部署到我的服务器。我按照本指南设置我的服务器以运行 Python 应用程序。当我运行时,sudo service uwsgi restart
我收到以下错误消息:
Restarting app server(s) uwsgi
[uWSGI] getting INI configuration from
/usr/share/uwsgi/conf/default.ini [uWSGI] parsing config file /etc/uwsgi/apps-enabled/example.net.xml
open("./python_plugin.so"): No such file or directory [core/utils.cline 4700]
!!! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared object file: No such file or directory !!!
Sat Dec 8 18:29:14 2012 - [WARNING] option "app" is deprecated: use the more advanced "mount" option
我真的不太了解 Python,我已经安装了我需要的插件easy_install
哪个是:
- pymongo
- 美丽的汤
- 瓶子
我的问题是:如何将这个简单的应用程序部署到我的服务器上?
谢谢