воскресенье, 22 марта 2020 г.

apache2 python wsgi install compile

1)  wget https://github.com/GrahamDumpleton/mod_wsgi/archive/4.7.1.tar.gz
2) apt update
3) apt install  apache2-dev
4)  ./configure --with-apxs=/usr/bin/apxs   --with-python=/usr/bin/python3.5
5) make
6) make install
7) ls /etc/apache2/mods-enabled/wsgi.conf
ls /etc/apache2/mods-enabled/wsgi.load
ls -al /usr/lib/apache2/modules/mod_wsgi.so
8) service apache2 start

Комментариев нет:

Отправить комментарий