The uWSGI server provides a non-FastCGI method for deploying Python applications with the nginx web server. In coordination with nginx, uWSGI offers great stability, flexibility, and performance. However, to deploy applications with uWSGI and nginx, you must compile nginx manually with the included uwsgi module. Set the HostnameBefore you begin installing and configuring the components described i
最近GAE上で書いていたサイトが、ちょっとGAEには向かないという事がわかりまして、仕方が無いので、普通のサーバ上で書き直す事にしました。巷ではapache + mod_pythonはもう古いらしく、じゃあ何が良いのと思って色々調べていると、このベンチマークエントリが見つかりまして、その中で良さそうだったuwsgiを使う事にしました。HTTPサーバは上記エントリで使われてたnginxです。ずっと気になっていたのでこの機会に触ってみました。なお環境はCentOS 5.5です。 思ったよりも長い記事になってしまいました。以下の手順を踏みます。 Pythonのインストール virtualenvやDjangoのインストールとテストプロジェクト作成 uwsgiのインストール nginxのインストール・設定・動作確認 Djangoのadminアプリを動かす(おまけ) 1. Pythonのインストール
As a Python or Django developer, various WSGI and webservers are available to deploy an application. A very fast, lightweight and relatively easy-to-install solution is the combination of Nginx, the high-performance HTTP server, and uWSGI (see benchmark of python WSGI servers). Furthermore, virtualenv and Fabric are invaluable tools to handle Python dependencies and to automate deployments. This t
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く