From 35494ed66c1ee380e9331fc3a81fd6ade4c897ff Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 29 Apr 2020 09:07:01 +1000 Subject: [PATCH] Add CentOS rabbitmq instructions. --- Dockerfile-fedora-python3-sqlite | 5 +---- docs/source/siteadmin/deploying.rst | 8 ++++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile-fedora-python3-sqlite b/Dockerfile-fedora-python3-sqlite index 6cabcb1a..cdaa8385 100644 --- a/Dockerfile-fedora-python3-sqlite +++ b/Dockerfile-fedora-python3-sqlite @@ -36,16 +36,13 @@ python3-webtest \ # Fedora only which -# RUN apt-get install -y \ +# RUN dnf -y install \ # gstreamer1.0-libav \ # gstreamer1.0-plugins-bad \ # gstreamer1.0-plugins-base \ # gstreamer1.0-plugins-good \ # gstreamer1.0-plugins-ugly \ -# libsndfile1-dev \ # python3-gst-1.0 \ -# python3-numpy \ -# python3-scipy # RUN apt-get install -y \ # gir1.2-gst-plugins-base-1.0 \ diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index d6dcd43c..9488d94b 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -92,7 +92,7 @@ server and RabbitMQ to store the media processing queue:: sudo apt install nginx-light rabbitmq-server # Fedora and co. - dnf install nginx rabbitmq + sudo dnf install nginx rabbitmq-server .. note:: @@ -100,7 +100,11 @@ server and RabbitMQ to store the media processing queue:: co. because rabbitmq-server might be not included in official repositories. That looks like this for CentOS:: - dnf install centos-release-rabbitmq-38.noarc + sudo dnf config-manager --set-enabled centos-rabbitmq-38 + sudo dnf config-manager --set-enabled PowerTools + sudo dnf install rabbitmq-server + sudo systemctl enable rabbitmq-server.service + # TODO: Celery repeatedly disconnects from RabbitMQ. As an alternative, you can try installing redis-server and configure it as celery broker. -- 2.25.1