From f68d1cb6ac4aa4fb563b9eeb831fccffee260b2f Mon Sep 17 00:00:00 2001 From: WingsLikeEagles <40436741+WingsLikeEagles@users.noreply.github.com> Date: Tue, 27 Jul 2021 19:59:49 -0700 Subject: Adding Rocky Linux 8.4 Adding documentation for Rocky Linux 8.4 Adapted from CentOS 8... but seems like there is stuff missing from that section. --- support/doc/dependencies.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 8ea0c047d..d6c084cd7 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -151,6 +151,51 @@ sudo systemctl enable --now redis sudo systemctl enable --now postgresql ``` +## Rocky Linux 8.4 + +1. Pull the latest updates: +``` +sudo dnf update -y +``` + +2. Install NodeJS 12.x (why 12 and not 14? Not sure...): +``` +sudo dnf module install -y nodejs:12 +``` + +3. Install yarn: +``` +sudo npm install --global yarn +``` + +4. Install or compile ffmpeg (if you want to compile... enjoy): +``` +sudo dnf install -y epel-release +sudo dnf --enablerepo=powertools install -y SDL2 SDL2-devel +sudo dnf install -y --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm +sudo dnf install -y ffmpeg +sudo dnf update -y +``` + +5. Install PostgreSQL and Python3 and other stuff: +``` +sudo dnf install -y nginx postgresql postgresql-server postgresql-contrib openssl gcc-c++ make wget redis git python3 +sudo ln -s /usr/bin/python3 /usr/bin/python +sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql +sudo systemctl enable --now redis +sudo systemctl enable --now postgresql +``` + +6. Configure the peertube user: +``` +sudo useradd -m -d /var/www/peertube -s /bin/bash -p peertube peertube +``` + +7. Unknown missing steps: +- Steps missing here... these were adapted from the CentOS 8 steps which abruptly ended. +- /var/www/peertube does not exist yet (expected? done in future steps? documentation?). +- Nothing about Certbot, NGINX, Firewall settings, and etc. +- Hopefully someone can suggest what is missing here with some hints so I can add it? ## Fedora -- cgit v1.2.3