diff options
author | WingsLikeEagles <40436741+WingsLikeEagles@users.noreply.github.com> | 2021-07-27 19:59:49 -0700 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-07-28 08:11:57 +0200 |
commit | f68d1cb6ac4aa4fb563b9eeb831fccffee260b2f (patch) | |
tree | b95f636d4f9129e1491c6b6f20065bc3cc32288e | |
parent | a892c54a821ae030143b07ba99ee1e159b24d35b (diff) | |
download | PeerTube-f68d1cb6ac4aa4fb563b9eeb831fccffee260b2f.tar.gz PeerTube-f68d1cb6ac4aa4fb563b9eeb831fccffee260b2f.tar.zst PeerTube-f68d1cb6ac4aa4fb563b9eeb831fccffee260b2f.zip |
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.
-rw-r--r-- | support/doc/dependencies.md | 45 |
1 files changed, 45 insertions, 0 deletions
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 | |||
151 | sudo systemctl enable --now postgresql | 151 | sudo systemctl enable --now postgresql |
152 | ``` | 152 | ``` |
153 | 153 | ||
154 | ## Rocky Linux 8.4 | ||
155 | |||
156 | 1. Pull the latest updates: | ||
157 | ``` | ||
158 | sudo dnf update -y | ||
159 | ``` | ||
160 | |||
161 | 2. Install NodeJS 12.x (why 12 and not 14? Not sure...): | ||
162 | ``` | ||
163 | sudo dnf module install -y nodejs:12 | ||
164 | ``` | ||
165 | |||
166 | 3. Install yarn: | ||
167 | ``` | ||
168 | sudo npm install --global yarn | ||
169 | ``` | ||
170 | |||
171 | 4. Install or compile ffmpeg (if you want to compile... enjoy): | ||
172 | ``` | ||
173 | sudo dnf install -y epel-release | ||
174 | sudo dnf --enablerepo=powertools install -y SDL2 SDL2-devel | ||
175 | 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 | ||
176 | sudo dnf install -y ffmpeg | ||
177 | sudo dnf update -y | ||
178 | ``` | ||
179 | |||
180 | 5. Install PostgreSQL and Python3 and other stuff: | ||
181 | ``` | ||
182 | sudo dnf install -y nginx postgresql postgresql-server postgresql-contrib openssl gcc-c++ make wget redis git python3 | ||
183 | sudo ln -s /usr/bin/python3 /usr/bin/python | ||
184 | sudo PGSETUP_INITDB_OPTIONS='--auth-host=md5' postgresql-setup --initdb --unit postgresql | ||
185 | sudo systemctl enable --now redis | ||
186 | sudo systemctl enable --now postgresql | ||
187 | ``` | ||
188 | |||
189 | 6. Configure the peertube user: | ||
190 | ``` | ||
191 | sudo useradd -m -d /var/www/peertube -s /bin/bash -p peertube peertube | ||
192 | ``` | ||
193 | |||
194 | 7. Unknown missing steps: | ||
195 | - Steps missing here... these were adapted from the CentOS 8 steps which abruptly ended. | ||
196 | - /var/www/peertube does not exist yet (expected? done in future steps? documentation?). | ||
197 | - Nothing about Certbot, NGINX, Firewall settings, and etc. | ||
198 | - Hopefully someone can suggest what is missing here with some hints so I can add it? | ||
154 | 199 | ||
155 | ## Fedora | 200 | ## Fedora |
156 | 201 | ||