redhat:other-redhat:usenet-download-redhat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
redhat:other-redhat:usenet-download-redhat [2019/07/10 12:42] – [Setup Sonarr - TV Download Tool] michaelredhat:other-redhat:usenet-download-redhat [2020/06/14 14:58] (current) – [Install Usenet Services] michael
Line 138: Line 138:
 # cd /opt/nzbget/ # cd /opt/nzbget/
 # ./nzbget -s # ./nzbget -s
-# useradd -nzbget+# useradd --system --home-dir=/opt/nzbget nzbget
 # usermod -a -G usenetserver nzbget # usermod -a -G usenetserver nzbget
 # chown -R nzbget:usenetserver /opt/nzbget # chown -R nzbget:usenetserver /opt/nzbget
Line 210: Line 210:
 # git clone https://github.com/theotherp/nzbhydra /opt/nzbhydra # git clone https://github.com/theotherp/nzbhydra /opt/nzbhydra
  
-# useradd -nzbhydra+# useradd --system --home-dir=/opt/nzbhydra nzbhydra
 # usermod -a -G usenetserver nzbhydra # usermod -a -G usenetserver nzbhydra
 # chown -R nzbhydra:usenetserver /opt/nzbhydra # chown -R nzbhydra:usenetserver /opt/nzbhydra
Line 259: Line 259:
 ---- ----
  
 +<WRAP center box 100%>
 ==== Setup Sonarr - TV Download Tool ==== ==== Setup Sonarr - TV Download Tool ====
  
Line 267: Line 268:
  
 # cd /tmp/ # cd /tmp/
-# useradd -sonarr+# useradd --system --home-dir=/opt/sonarr sonarr
 # usermod -a -G usenetserver sonarr # usermod -a -G usenetserver sonarr
 # wget http://update.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz # wget http://update.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz
Line 321: Line 322:
 # systemctl enable sonarr # systemctl enable sonarr
 </code> </code>
 +</WRAP>
  
 ---- ----
  
 +<WRAP center box 100%>
 ==== Setup Radarr- Movie Download Tool ==== ==== Setup Radarr- Movie Download Tool ====
  
 <code> <code>
-cd /tmp/ +cd /tmp/ 
-wget https://github.com/Radarr/Radarr/releases/download/v0.2.0.980/Radarr.develop.0.2.0.980.linux.tar.gz +wget https://github.com/Radarr/Radarr/releases/download/v0.2.0.1480/Radarr.develop.0.2.0.1480.linux.tar.gz 
-tar -xvf Radarr.develop.0.2.0.980.linux.tar.gz+tar -xvf Radarr.develop*
  
-mkdir -p /opt/radarr/bin +mkdir -p /opt/radarr/bin 
-useradd -radarr +useradd --system --home-dir=/opt/radarr radarr 
-usermod -a -G usenetserver radarr +usermod -a -G usenetserver radarr 
-cp -R Radarr/* /opt/radarr/bin/ +cp -R Radarr/* /opt/radarr/bin/ 
-ls -l /opt/radarr/bin/ +ls -l /opt/radarr/bin/ 
-chown -R radarr:usenetserver /opt/radarr/+chown -R radarr:usenetserver /opt/radarr/
  
-vim /opt/radarr/.config/Radarr/config.xml+vim /opt/radarr/.config/Radarr/config.xml
 </code> </code>
  
Line 359: Line 362:
  
 <code> <code>
-vim /etc/systemd/system/radarr.service+vim /etc/systemd/system/radarr.service
 </code> </code>
  
Line 381: Line 384:
  
 <code> <code>
-systemctl start radarr && systemctl status radarr +# systemctl daemon-reload 
-systemctl enable radarr+systemctl start radarr && systemctl status radarr 
 +systemctl enable radarr
 </code> </code>
 +</WRAP>
  
 ---- ----
  
 +<WRAP center box 100%>
 ==== Setup Lidarr - Music Download Tool ==== ==== Setup Lidarr - Music Download Tool ====
  
Line 411: Line 417:
  
 # ls -la /opt/lidarr/bin/ # ls -la /opt/lidarr/bin/
-# useradd -lidarr+# useradd --system --home-dir=/opt/lidarr lidarr
 # usermod -a -G usenetserver lidarr # usermod -a -G usenetserver lidarr
 # chown -R lidarr:usenetserver /opt/lidarr/ # chown -R lidarr:usenetserver /opt/lidarr/
Line 467: Line 473:
 # systemctl enable lidarr.service # systemctl enable lidarr.service
 </code> </code>
 +</WRAP>
  
 +----
 +
 +<WRAP center box 100%>
 +==== Setup bazarr - Subtitles Download Tool ====
 +''Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements.''
 +
 +<code>
 +# yum install https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
 +# yum install unrar.x86_64 python3-pip python36-distutils-extra.noarch
 +# cd /opt/
 +# git clone https://github.com/morpheus65535/bazarr.git
 +
 +# useradd --system --home-dir=/opt/bazarr bazarr
 +# usermod -a -G usenetserver bazarr
 +# chown -R bazarr: /opt/bazarr
 +
 +# ls -la /opt/bazarr/
 +# pip install -r /opt/bazarr/requirements.txt
 +
 +# vim /opt/bazarr/data/config/config.ini
 +</code>
 +
 +<sxh bash; highlight: [11];>
 +...
 +[general]
 +update_restart = True
 +movie_default_hi = False
 +movie_default_language = []
 +serie_default_forced = False
 +chmod = 0640
 +use_scenename = True
 +use_postprocessing = False
 +use_radarr = False
 +base_url = /usenetdl/bazarr
 +page_size = 25
 +...
 +</sxh>
 +
 +<code>
 +# /usr/bin/python /opt/bazarr/bazarr.py
 +</code>
 +
 +''CTRL + C''
 +
 +<code>
 +# vim /etc/systemd/system/bazarr.service
 +</code>
 +
 +<sxh bash>
 +[Unit]
 +Description=Bazarr Daemon
 +After=syslog.target network.target
 +
 +[Service]
 +WorkingDirectory=/opt/bazarr/
 +User=bazarr
 +Group=usenetserver
 +UMask=0002
 +Type=simple
 +ExecStart=/usr/bin/python /opt/bazarr/bazarr.py
 +TimeoutStopSec=20
 +KillSignal=SIGINT
 +RestartSec=5
 +Restart=on-failure
 +SyslogIdentifier=bazarr
 +
 +[Install]
 +WantedBy=multi-user.target
 +</sxh>
 +
 +<code>
 +# chown -R bazarr:usenetserver /opt/bazarr/
 +# systemctl daemon-reload
 +
 +# systemctl start bazarr && systemctl status bazarr
 +# systemctl enable bazarr
 +</code>
 +</WRAP>
  
 ===== Finishing Server Setup ===== ===== Finishing Server Setup =====
  
 +==== Configure Muximux Landingpage ====
 <code> <code>
 +# vim /var/www/html/muximux/settings.ini.php
 </code> </code>
 +
 +<sxh bash; highlight: [30-36,38-45,47-53,55-61,63-69];>
 +<?php die('Access denied'); ?>
 +[general]
 +title = "Usenet Download-Server v3"
 +branch = "master"
 +theme = "modern"
 +color = "#31ac63"
 +tabcolor = "true"
 +rssUrl = ""
 +userNameInput = "admin"
 +password = "muximux"
 +
 +[settings]
 +branch_changed = ""
 +sha = ""
 +enabled = "true"
 +default = "false"
 +name = "Settings"
 +url = "muximux.php"
 +landingpage = "false"
 +icon = "fa-cog"
 +dd = "true"
 +branches[develop] = "RANDOM_NUMBER"
 +branches[experimental] = "RANDOM_NUMBER"
 +branches[master] = "RANDOM_NUMBER"
 +branches[parseError] = "RANDOM_NUMBER"
 +branches[saveProblem] = "RANDOM_NUMBER"
 +last_check = RANDOM_NUMBER
 +branch = ""
 +
 +[nzbhydra]
 +name = "NZB Hydra"
 +url = "/usenetdl/nzbhydra/"
 +scale = 1
 +icon = "muximux-nzbhydra"
 +color = "#108f34"
 +enabled = "true"
 +
 +[Sonarr]
 +name = "Sonarr"
 +url = "/usenetdl/sonarr/"
 +scale = 1
 +icon = "muximux-sonarr"
 +color = "#35c5f4"
 +enabled = "true"
 +default = "true"
 +
 +[423418newApplication]
 +name = "Radarr"
 +url = "/usenetdl/radarr/"
 +scale = 1
 +icon = "muximux-sonarr"
 +color = ""
 +enabled = "true"
 +
 +[726600newApplication]
 +name = "Lidarr"
 +url = "/usenetdl/lidarr/"
 +scale = 1
 +icon = "muximux-sonarr"
 +color = ""
 +enabled = "true"
 +
 +[NZBGet]
 +name = "NZBGet"
 +url = "/usenetdl/nzbget/"
 +scale = 1
 +icon = "muximux-download"
 +color = "#3f8927"
 +enabled = "true"
 +
 +</sxh>
 +----
 +
 +<WRAP center box 100%>
 +==== Checking Server Setup ====
 +
 +''Checking if all services are in the usenetserver group:''<sxh bash; gutter: false; highlight: [1];>
 +[root@rhdl03 ~]# cat /etc/group | grep usenetserver
 +usenetserver:x:1001:nzbget,nzbhydra,radarr,sonarr,lidarr
 +</sxh>
 +
 +----
 +
 +''Checking if Userhome is set to /opt:''<sxh bash; gutter: false; highlight: [1];>
 +[root@rhdl03 ~]# cat /etc/passwd | grep -e 'sonarr' -e 'radarr' -e 'lidarr' -e 'nzbget' -e 'nzbhydra'
 +nzbget:x:996:993::/opt/nzbget:/bin/bash
 +nzbhydra:x:995:992::/opt/nzbhydra:/bin/bash
 +sonarr:x:994:991::/opt/sonarr:/bin/bash
 +radarr:x:993:990::/opt/radarr:/bin/bash
 +lidarr:x:992:989::/opt/lidarr:/bin/bash
 +</sxh>
 +
 +----
 +
 +''Checking if all services are up and running:''<sxh bash; gutter: false; highlight: [1];>
 +[root@rhdl03 ~]# netstat -tulpn | grep -e 'nzbget' -e 'mono' -e 'httpd' -e 'python2.7'
 +tcp        0      0 0.0.0.0:6789            0.0.0.0:              LISTEN      3177/nzbget
 +tcp        0      0 0.0.0.0:7878            0.0.0.0:              LISTEN      3105/mono
 +tcp        0      0 0.0.0.0:8686            0.0.0.0:              LISTEN      3113/mono
 +tcp        0      0 0.0.0.0:5075            0.0.0.0:              LISTEN      3106/python2.7
 +tcp        0      0 0.0.0.0:8989            0.0.0.0:              LISTEN      3109/mono
 +tcp6            0 :::80                   :::                   LISTEN      3196/httpd
 +</sxh>
 +</WRAP>
 +
 +
  • redhat/other-redhat/usenet-download-redhat.1562755352.txt.gz
  • Last modified: 2019/07/10 12:42
  • by michael