uwsgi 설치와 함께..
메모
uwsgi의 최신버젼을 설치하려면.. pip를 이용해본다.
현재 최신버젼은 1.9.17.1 버젼.
LTS버젼도 있지만 난 Stable한 최신버젼을 선택.
$ sudo pip install http://projects.unbit.it/downloads/uwsgi-1.9.17.1.tar.gz
또는
$ sudo apt-get install uwsgi
요렇게 하면, 설치가 자동으로 쭉~ 된다.
그리고, 맨 마지막에 configuration에서 support하는 리스트가 뜨는데.. 혹시나 False가 있다면.. 해당 라이브러리를 설치하고 난뒤에 reinstall 해줘야 한다고 한다.
################# uWSGI configuration #################
pcre = False
kernel = Linux
malloc = libc
execinfo = False
ifaddrs = True
ssl = True
matheval = False
zlib = True
locking = pthread_mutex
plugin_dir = .
timer = timerfd
yaml = True
json = False
filemonitor = inotify
routing = False
debug = False
zeromq = False
capabilities = False
xml = expat
event = epoll
############## end of uWSGI configuration #############
*** uWSGI is ready, launch it with /usr/local/bin/uwsgi ***
예를들어서, json이 위에서 False로 되어있다. 이 configuration을 True로 바꾸기 위해서 linjansson-dev를 설치해줘야 한다. (참고 설치되는 버젼은 2.2.1. 최신버젼은 2.5)
$ sudo apt-get install libjansson-dev