両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン |
python:uwsgi [2019/08/12 23:48] – [Apache 2.4 への mod_uwsgi.so のインストール] ともやん | python:uwsgi [2019/08/19 05:50] – ともやん |
---|
| |
===== Apache 2.4 への mod_uwsgi.so のインストール ===== | ===== Apache 2.4 への mod_uwsgi.so のインストール ===== |
<WRAP prewrap 100% #result> | |
<code> | <code> |
| $ sudo dnf install httpd-devel |
$ sudo -s | $ sudo -s |
| </code> |
| <WRAP prewrap 100%> |
| <code> |
# cd ~ | # cd ~ |
# curl -O https://raw.githubusercontent.com/unbit/uwsgi/master/apache2/mod_uwsgi.c | # curl -O https://raw.githubusercontent.com/unbit/uwsgi/master/apache2/mod_uwsgi.c |
Dload Upload Total Spent Left Speed | Dload Upload Total Spent Left Speed |
100 22715 100 22715 0 0 60251 0 --:--:-- --:--:-- --:--:-- 60251 | 100 22715 100 22715 0 0 60251 0 --:--:-- --:--:-- --:--:-- 60251 |
| </code> |
| </WRAP> |
| <WRAP prewrap 100% #result> |
| <code> |
# apxs -i -a -c mod_uwsgi.c | # apxs -i -a -c mod_uwsgi.c |
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_uwsgi.lo mod_uwsgi.c && touch mod_uwsgi.slo | /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_uwsgi.lo mod_uwsgi.c && touch mod_uwsgi.slo |
Include conf.modules.d/*.conf | Include conf.modules.d/*.conf |
</file> | </file> |
| |
| ===== 参考文献 ===== |
| [[https://uwsgi-docs.readthedocs.io/en/latest/|The uWSGI project — uWSGI 2.0 documentation]]\\ |
| [[https://uwsgi-docs.readthedocs.io/en/latest/Apache.html|Apache support — uWSGI 2.0 documentation]]\\ |
| |