Add CentOS rabbitmq instructions.
authorBen Sturmfels <ben@sturm.com.au>
Tue, 28 Apr 2020 23:07:01 +0000 (09:07 +1000)
committerBen Sturmfels <ben@sturm.com.au>
Tue, 28 Apr 2020 23:07:01 +0000 (09:07 +1000)
Dockerfile-fedora-python3-sqlite
docs/source/siteadmin/deploying.rst

index 6cabcb1af5c9a4d3f65273decd2aab45b6cc6959..cdaa83858a933f857c4d68f7a902b0f6daaff8bb 100644 (file)
@@ -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 \
index d6dcd43cca8b3b328da4dc262fffcf036f510d1d..9488d94b0c3076bbf070bedd3069572cb378a71b 100644 (file)
@@ -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.