1. 程式人生 > >Python--Ubuntu系統下原始碼安裝uWSGI和配置

Python--Ubuntu系統下原始碼安裝uWSGI和配置

一.uWSGI下載地址

https://uwsgi-docs.readthedocs.io/en/latest/Download.html

二.安裝

1.下載

wget https://projects.unbit.it/downloads/uwsgi-2.0.17.1.tar.gz

2.解壓

tar -zxvf uwsgi-2.0.17.1.tar.gz

3.進入到解壓目錄

cd uwsgi-2.0.17.1/

4.安裝

python3 setup.py install

三.啟動

如上圖,這表明你的uwsgi已經在啟動路徑了。最後只需要結合專案進行配置,然後再執行。

四.參考資料

[1] uWSGI官方文件 https://uwsgi-docs.readthedocs.io/en/latest/