大概如下

mkdir /data/uwsgi

cd /data/uwsgi

wget http://projects.unbit.it/downloads/uwsgi-2.0.11.tar.gz

tar zxvf uwsgi-2.0.11.tar.gz

cd uwsgi-2.0.11

在 buildconf/core.ini 文件中添加如下

plugin_dir = /data/uwsgi

bin_name = /usr/bin/uwsgi

编译uwsgi

python uwsgiconfig.py --build core

编译 python2.7 版本的 plugins

python2.7 uwsgiconfig.py --plugin plugins/python core python27

uwsgi -d --emperor /data/www/uwsgi.ini --enable-threads

相关文章:

  • 2021-12-17
  • 2021-12-20
  • 2021-04-25
  • 2021-05-18
  • 2021-09-19
  • 2021-04-21
  • 2021-11-23
  • 2022-01-17
猜你喜欢
  • 2021-10-09
  • 2021-12-02
  • 2021-12-16
  • 2022-12-23
  • 2021-11-15
  • 2021-10-30
  • 2021-09-13
相关资源
相似解决方案