diff options
Diffstat (limited to 'support/doc')
-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 | ||