aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2020-04-29 09:07:01 +1000
committerBen Sturmfels <ben@sturm.com.au>2020-04-29 09:07:01 +1000
commit35494ed66c1ee380e9331fc3a81fd6ade4c897ff (patch)
treeb718811270ca080ac2337c3cca3d5fdffc67d797
parent62a565e13b2a839f28c1382a72f17b165d546e4e (diff)
downloadmediagoblin-35494ed66c1ee380e9331fc3a81fd6ade4c897ff.tar.lz
mediagoblin-35494ed66c1ee380e9331fc3a81fd6ade4c897ff.tar.xz
mediagoblin-35494ed66c1ee380e9331fc3a81fd6ade4c897ff.zip
Add CentOS rabbitmq instructions.
-rw-r--r--Dockerfile-fedora-python3-sqlite5
-rw-r--r--docs/source/siteadmin/deploying.rst8
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.