@@ -70,17 +70,15 @@ gunicorn patchman.wsgi -b 0.0.0.0:80
7070
7171### Source
7272
73- #### Ubuntu 18 .04 (bionic )
73+ #### Ubuntu 20 .04 (focal )
7474
75751 . Install dependencies
7676
7777``` shell
78- apt -y install -t buster-backports python3-django
79- apt -y install python3-django-tagging python3-django-extensions
80- python3-djangorestframework python3-defusedxml python3-lxml \
81- python3-requests python3-rpm python3-debian \
82- python3-colorama python3-humanize python3-magic \
83- apache2 libapache2-mod-wsgi
78+ apt -y install python3-django python3-django-tagging python3-django-extensions \
79+ python3-djangorestframework python3-defusedxml python3-lxml python3-requests \
80+ python3-rpm python3-debian python3-colorama python3-humanize python3-magic \
81+ apache2 libapache2-mod-wsgi-py3 python3-pip python3-progressbar
8482```
8583
86842 . Install django-bootstrap3
@@ -313,8 +311,8 @@ Install Celery for realtime processing of reports from clients:
313311#### Ubuntu / Debian
314312
315313``` shell
316- apt -y install python3-celery redis python3-redis
317- C_FORCE_ROOT=1 celery worker --loglevel=info -E -A patchman
314+ apt -y install python3-celery redis python3-redis python-celery-common
315+ C_FORCE_ROOT=1 celery worker --loglevel=info -b redis://localhost:6379/0 - E -A patchman
318316```
319317
320318#### CentOS / RHEL
@@ -323,7 +321,7 @@ C_FORCE_ROOT=1 celery worker --loglevel=info -E -A patchman
323321dnf -y install python3-celery redis python3-redis
324322systemctl restart redis-server
325323semanage port -a -t http_port_t -p tcp 6379
326- C_FORCE_ROOT=1 celery worker --loglevel=info -E -A patchman
324+ C_FORCE_ROOT=1 celery worker --loglevel=info -b redis://localhost:6379/0 - E -A patchman
327325
328326```
329327
0 commit comments