Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
redhat:other-redhat:usenet-download-redhat [2019/07/10 12:58] – [Configure XXX] michael | redhat:other-redhat:usenet-download-redhat [2020/06/14 14:58] (current) – [Install Usenet Services] michael | ||
---|---|---|---|
Line 138: | Line 138: | ||
# cd / | # cd / | ||
# ./nzbget -s | # ./nzbget -s | ||
- | # useradd -r nzbget | + | # useradd --system --home-dir=/ |
# usermod -a -G usenetserver nzbget | # usermod -a -G usenetserver nzbget | ||
# chown -R nzbget: | # chown -R nzbget: | ||
Line 210: | Line 210: | ||
# git clone https:// | # git clone https:// | ||
- | # useradd -r nzbhydra | + | # useradd --system --home-dir=/ |
# usermod -a -G usenetserver nzbhydra | # usermod -a -G usenetserver nzbhydra | ||
# chown -R nzbhydra: | # chown -R 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 -r sonarr | + | # useradd --system --home-dir=/ |
# usermod -a -G usenetserver sonarr | # usermod -a -G usenetserver sonarr | ||
# wget http:// | # wget http:// | ||
Line 321: | Line 322: | ||
# systemctl enable sonarr | # systemctl enable sonarr | ||
</ | </ | ||
+ | </ | ||
---- | ---- | ||
+ | <WRAP center box 100%> | ||
==== Setup Radarr- Movie Download Tool ==== | ==== Setup Radarr- Movie Download Tool ==== | ||
< | < | ||
- | cd /tmp/ | + | # cd /tmp/ |
- | wget https:// | + | # wget https:// |
- | tar -xvf Radarr.develop.0.2.0.980.linux.tar.gz | + | # tar -xvf Radarr.develop* |
- | mkdir -p / | + | # mkdir -p / |
- | useradd -r radarr | + | # useradd --system --home-dir=/ |
- | usermod -a -G usenetserver radarr | + | # usermod -a -G usenetserver radarr |
- | cp -R Radarr/* / | + | # cp -R Radarr/* / |
- | ls -l / | + | # ls -l / |
- | chown -R radarr: | + | # chown -R radarr: |
- | vim / | + | # vim / |
</ | </ | ||
Line 359: | Line 362: | ||
< | < | ||
- | vim / | + | # vim / |
</ | </ | ||
Line 381: | Line 384: | ||
< | < | ||
- | systemctl start radarr && systemctl status radarr | + | # systemctl daemon-reload |
- | systemctl enable radarr | + | # systemctl start radarr && systemctl status radarr |
+ | # systemctl enable radarr | ||
</ | </ | ||
+ | </ | ||
---- | ---- | ||
+ | <WRAP center box 100%> | ||
==== Setup Lidarr - Music Download Tool ==== | ==== Setup Lidarr - Music Download Tool ==== | ||
Line 411: | Line 417: | ||
# ls -la / | # ls -la / | ||
- | # useradd -r lidarr | + | # useradd --system --home-dir=/ |
# usermod -a -G usenetserver lidarr | # usermod -a -G usenetserver lidarr | ||
# chown -R lidarr: | # chown -R lidarr: | ||
Line 467: | Line 473: | ||
# systemctl enable lidarr.service | # systemctl enable lidarr.service | ||
</ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | |||
+ | <WRAP center box 100%> | ||
+ | ==== Setup bazarr - Subtitles Download Tool ==== | ||
+ | '' | ||
+ | |||
+ | < | ||
+ | # yum install https:// | ||
+ | # yum install unrar.x86_64 python3-pip python36-distutils-extra.noarch | ||
+ | # cd /opt/ | ||
+ | # git clone https:// | ||
+ | |||
+ | # useradd --system --home-dir=/ | ||
+ | # usermod -a -G usenetserver bazarr | ||
+ | # chown -R bazarr: /opt/bazarr | ||
+ | |||
+ | # ls -la / | ||
+ | # pip install -r / | ||
+ | |||
+ | # vim / | ||
+ | </ | ||
+ | |||
+ | <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 = / | ||
+ | page_size = 25 | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # / | ||
+ | </ | ||
+ | |||
+ | '' | ||
+ | |||
+ | < | ||
+ | # vim / | ||
+ | </ | ||
+ | |||
+ | <sxh bash> | ||
+ | [Unit] | ||
+ | Description=Bazarr Daemon | ||
+ | After=syslog.target network.target | ||
+ | |||
+ | [Service] | ||
+ | WorkingDirectory=/ | ||
+ | User=bazarr | ||
+ | Group=usenetserver | ||
+ | UMask=0002 | ||
+ | Type=simple | ||
+ | ExecStart=/ | ||
+ | TimeoutStopSec=20 | ||
+ | KillSignal=SIGINT | ||
+ | RestartSec=5 | ||
+ | Restart=on-failure | ||
+ | SyslogIdentifier=bazarr | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # chown -R bazarr: | ||
+ | # systemctl daemon-reload | ||
+ | |||
+ | # systemctl start bazarr && systemctl status bazarr | ||
+ | # systemctl enable bazarr | ||
+ | </ | ||
+ | </ | ||
===== Finishing Server Setup ===== | ===== Finishing Server Setup ===== | ||
Line 476: | Line 561: | ||
</ | </ | ||
- | <sxh bash; highlight: [];> | + | <sxh bash; highlight: [30-36, |
<?php die(' | <?php die(' | ||
[general] | [general] | ||
Line 498: | Line 583: | ||
icon = " | icon = " | ||
dd = " | dd = " | ||
- | branches[develop] = "92b392c88b24faa6dd63c9ada2ee7db6b667e123" | + | branches[develop] = "RANDOM_NUMBER" |
- | branches[experimental] = "262b1a4c4ca6fa0386e46400211604d66c0bd22d" | + | branches[experimental] = "RANDOM_NUMBER" |
- | branches[master] = "66b11488206b44364b6ed8bb438462cbbb0835c5" | + | branches[master] = "RANDOM_NUMBER" |
- | branches[parseError] = "14ea3581389e329e27c496367b2b85b15fc106f9" | + | branches[parseError] = "RANDOM_NUMBER" |
- | branches[saveProblem] = "4d16f3f4b1d7fb18bac5d8ed09b9a45dbe6711ff" | + | branches[saveProblem] = "RANDOM_NUMBER" |
- | last_check = 1562658166 | + | last_check = RANDOM_NUMBER |
branch = "" | branch = "" | ||
Line 548: | Line 633: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | <WRAP center box 100%> | ||
==== Checking Server Setup ==== | ==== Checking Server Setup ==== | ||
- | <sxh bash; gutter: false; highlight: [1-2, | + | '' |
- | # Checking if all services are in the usenetserver group: | + | |
[root@rhdl03 ~]# cat /etc/group | grep usenetserver | [root@rhdl03 ~]# cat /etc/group | grep usenetserver | ||
usenetserver: | usenetserver: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
- | # Checking if Userhome is set to /opt: | + | '' |
[root@rhdl03 ~]# cat /etc/passwd | grep -e ' | [root@rhdl03 ~]# cat /etc/passwd | grep -e ' | ||
nzbget: | nzbget: | ||
Line 562: | Line 652: | ||
radarr: | radarr: | ||
lidarr: | lidarr: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
- | # Checking if all services are up and running: | + | '' |
[root@rhdl03 ~]# netstat -tulpn | grep -e ' | [root@rhdl03 ~]# netstat -tulpn | grep -e ' | ||
tcp 0 0 0.0.0.0: | tcp 0 0 0.0.0.0: | ||
Line 571: | Line 664: | ||
tcp 0 0 0.0.0.0: | tcp 0 0 0.0.0.0: | ||
tcp6 | tcp6 | ||
- | |||
</ | </ | ||
+ | </ | ||
+ | |||
+ |