|
@@ -19,20 +19,17 @@ Out of scope:
|
|
|
</br>
|
|
|
|
|
|
|
|
|
-######
|
|
|
-Install/Enable additional repositories (epel) and packages.
|
|
|
+###### Install/Enable additional repositories (epel) and packages.
|
|
|
```
|
|
|
dnf install epel-release
|
|
|
dnf makecache
|
|
|
dnf install wget nano nginx unzip tar xz
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Setup nginx directories for multisite as it makes it more versatile, reference: [https://docs.rockylinux.org/guides/web/nginx-multisite/](https://docs.rockylinux.org/guides/web/nginx-multisite/)
|
|
|
+###### Setup nginx directories for multisite as it makes it more versatile, reference: [https://docs.rockylinux.org/guides/web/nginx-multisite/](https://docs.rockylinux.org/guides/web/nginx-multisite/)
|
|
|
|
|
|
|
|
|
-######
|
|
|
-Create a nginx configuration-file for the DVR resource in /etc/nginx/sites-available/ with the following content.
|
|
|
+###### Create a nginx configuration-file for the DVR resource in /etc/nginx/sites-available/ with the following content.
|
|
|
```
|
|
|
server {
|
|
|
listen 80;
|
|
@@ -47,14 +44,12 @@ server {
|
|
|
}
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Enable the above configuration to be loaded on nginx startup
|
|
|
+###### Enable the above configuration to be loaded on nginx startup
|
|
|
```
|
|
|
ln -s /etc/nginx/sites-available/your_configfile.conf /etc/nginx/sites-enabled/
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Download and execute the dvr Agent installation, and set it as system service. (this also creates the AgentDVR directory)
|
|
|
+###### Download and execute the dvr Agent installation, and set it as system service. (this also creates the AgentDVR directory)
|
|
|
```
|
|
|
cd /opt
|
|
|
bash <(curl -s "https://raw.githubusercontent.com/ispysoftware/agent-install-scripts/main/v2/install.sh")
|
|
@@ -65,8 +60,7 @@ To run Agent either call ./Agent from the terminal or install it as a system ser
|
|
|
Setup AgentDVR as system service (y/n)? y
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Setup ffmpeg6 directory manually (i never got a good result with DVR installer, just an empty directory)
|
|
|
+###### Setup ffmpeg6 directory manually (i never got a good result with DVR installer, just an empty directory)
|
|
|
```
|
|
|
cd /opt/AgentDVR
|
|
|
mkdir ffmpeg6
|
|
@@ -74,8 +68,7 @@ wget -O ffmpeg.tar.xz https://ispyrtcdata.blob.core.windows.net/downloads/ffmpeg
|
|
|
tar -xvf ffmpeg.tar.xz --strip-components=1 -C ffmpeg6
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Start and enable the AgentDVR service
|
|
|
+###### Start and enable the AgentDVR service
|
|
|
```
|
|
|
systemctl enable AgentDVR --now
|
|
|
```
|
|
@@ -90,8 +83,7 @@ State Recv-Q Send-Q Local Address:Port Pe
|
|
|
LISTEN 0 500 0.0.0.0:opsmessaging 0.0.0.0:*
|
|
|
```
|
|
|
|
|
|
-######
|
|
|
-Start nginx to make the application available on the default HTTP port.
|
|
|
+###### Start nginx to make the application available on the default HTTP port.
|
|
|
```
|
|
|
systemctl enable nginx --now
|
|
|
```
|