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:41] – 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 316: | Line 317: | ||
</ | </ | ||
+ | < | ||
# systemctl daemon-reload | # systemctl daemon-reload | ||
# systemctl start sonarr && systemctl status sonarr | # systemctl start sonarr && systemctl status sonarr | ||
# 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 358: | Line 362: | ||
< | < | ||
- | vim / | + | # vim / |
</ | </ | ||
Line 380: | 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 410: | 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 466: | 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 ===== | ||
+ | ==== Configure Muximux Landingpage ==== | ||
< | < | ||
+ | # vim / | ||
</ | </ | ||
+ | |||
+ | <sxh bash; highlight: [30-36, | ||
+ | <?php die(' | ||
+ | [general] | ||
+ | title = " | ||
+ | branch = " | ||
+ | theme = " | ||
+ | color = "# | ||
+ | tabcolor = " | ||
+ | rssUrl = "" | ||
+ | userNameInput = " | ||
+ | password = " | ||
+ | |||
+ | [settings] | ||
+ | branch_changed = "" | ||
+ | sha = "" | ||
+ | enabled = " | ||
+ | default = " | ||
+ | name = " | ||
+ | url = " | ||
+ | landingpage = " | ||
+ | icon = " | ||
+ | dd = " | ||
+ | branches[develop] = " | ||
+ | branches[experimental] = " | ||
+ | branches[master] = " | ||
+ | branches[parseError] = " | ||
+ | branches[saveProblem] = " | ||
+ | last_check = RANDOM_NUMBER | ||
+ | branch = "" | ||
+ | |||
+ | [nzbhydra] | ||
+ | name = "NZB Hydra" | ||
+ | url = "/ | ||
+ | scale = 1 | ||
+ | icon = " | ||
+ | color = "# | ||
+ | enabled = " | ||
+ | |||
+ | [Sonarr] | ||
+ | name = " | ||
+ | url = "/ | ||
+ | scale = 1 | ||
+ | icon = " | ||
+ | color = "# | ||
+ | enabled = " | ||
+ | default = " | ||
+ | |||
+ | [423418newApplication] | ||
+ | name = " | ||
+ | url = "/ | ||
+ | scale = 1 | ||
+ | icon = " | ||
+ | color = "" | ||
+ | enabled = " | ||
+ | |||
+ | [726600newApplication] | ||
+ | name = " | ||
+ | url = "/ | ||
+ | scale = 1 | ||
+ | icon = " | ||
+ | color = "" | ||
+ | enabled = " | ||
+ | |||
+ | [NZBGet] | ||
+ | name = " | ||
+ | url = "/ | ||
+ | scale = 1 | ||
+ | icon = " | ||
+ | color = "# | ||
+ | enabled = " | ||
+ | |||
+ | </ | ||
+ | ---- | ||
+ | |||
+ | <WRAP center box 100%> | ||
+ | ==== Checking Server Setup ==== | ||
+ | |||
+ | '' | ||
+ | [root@rhdl03 ~]# cat /etc/group | grep usenetserver | ||
+ | usenetserver: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | '' | ||
+ | [root@rhdl03 ~]# cat /etc/passwd | grep -e ' | ||
+ | nzbget: | ||
+ | nzbhydra: | ||
+ | sonarr: | ||
+ | radarr: | ||
+ | lidarr: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | '' | ||
+ | [root@rhdl03 ~]# netstat -tulpn | grep -e ' | ||
+ | tcp 0 0 0.0.0.0: | ||
+ | tcp 0 0 0.0.0.0: | ||
+ | tcp 0 0 0.0.0.0: | ||
+ | tcp 0 0 0.0.0.0: | ||
+ | tcp 0 0 0.0.0.0: | ||
+ | tcp6 | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ |