2010-12-02 54 views

回答

0

This可能是你在找什麼。另一個是Here

+0

是的,我已經看到了那些。對不起,應該提到我想用uWSGI。 web2pyslices一個很不錯,但有點過時。 – pbreitenbach 2010-12-03 19:48:57

1

更新:Much more concise, direct instructions for the latest Cherokee?來自問題的作者?


我剛剛成功設置了Ubuntu 10.04 + Cherokee 0.99.39 + Web2Py 1.91.4。它設置在 VPS上,但我認爲 setting it up on Amazon EC沒有太大差別(與 setting up on a VPS相比,Web2py的特定步驟是相同的​​)。另外,我想使用uWSGI,但 FastCGI is also an option。最新版本的Web2Py(1.90.1+)有 built-in support for MySql

步驟簡要:

  1. 提供與Ubuntu 10.04
  2. Ensure "Universe" repositories are enabled VPS。
  3. 跟着these steps運行this script,安裝Web2Py和相關的依賴關係。
  4. 上面的腳本實際上安裝了Apache2 webserver。 Uninstall/disable Apache2
  5. 安裝Cherokee web服務器。我只是用sudo apt-get install cherokee
  6. Install uWSGI
  7. Configure uWSGI for Web2Py
  8. 將Cherokee虛擬服務器配置爲使用uWSGI + Web2Py平臺。 (Jump to step III

可選: 漂亮的切諾基管理圖不無一些additional steps工作(安裝rddtools和libcherokee-MOD-RRD; 等待5-10分鐘