servers:nextpvr
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
servers:nextpvr [2019/10/22 13:32] – [Dependencies] Sean Rhone | servers:nextpvr [2019/11/15 17:02] – Sean Rhone | ||
---|---|---|---|
Line 18: | Line 18: | ||
sudo apt install -f && rm '/ | sudo apt install -f && rm '/ | ||
- | ====== | + | ====== |
- | * 21/tcp is FTP | + | libdvbv5-0 dtv-scan-tables |
- | / | + | https://forums.nextpvr.com/showthread.php? |
- | + | ||
- | sudo firewall-cmd --permanent --add-service=' | + | |
- | + | ||
- | ====== SELinux ====== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo setsebool -P ' | + | |
- | + | ||
- | ====== Service ====== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo systemctl enable ' | + | |
- | + | ||
- | ====== Settings ====== | + | |
- | + | ||
- | ===== General ===== | + | |
- | + | ||
- | * :!: Change '' | + | |
- | + | ||
- | sudo -e '/etc/vsftpd/ | + | |
- | + | ||
- | < | + | |
- | # Custom | + | |
- | local_root=/ | + | |
- | + | ||
- | ===== Encryption Support ===== | + | |
- | + | ||
- | ==== Generate Certs ==== | + | |
- | + | ||
- | * Country: US | + | |
- | * State: PA | + | |
- | * Locality: Charleroi | + | |
- | * Org Name: Realm of Espionage | + | |
- | * Org Unit: NAS | + | |
- | * YOUR Name: x | + | |
- | * Email: x | + | |
- | + | ||
- | sudo openssl req -x509 -nodes -days 730 -newkey rsa:2048 -keyout '/ | + | |
- | + | ||
- | ==== Enable Encryption ==== | + | |
- | + | ||
- | * :!: '' | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | ssl_enable=YES | + | |
- | allow_anon_ssl=NO | + | |
- | force_local_data_ssl=YES | + | |
- | force_local_logins_ssl=YES | + | |
- | require_ssl_reuse=YES | + | |
- | + | ||
- | ssl_ciphers=AES128-SHA | + | |
- | ssl_tlsv1=YES | + | |
- | ssl_sslv2=NO | + | |
- | ssl_sslv3=NO | + | |
- | + | ||
- | rsa_cert_file=/ | + | |
- | rsa_private_key_file=/ | + | |
- | + | ||
- | ====== fstab ====== | + | |
- | + | ||
- | ===== PARTUUID ===== | + | |
- | + | ||
- | * Expects the NAS drive to be GPT | + | |
- | + | ||
- | sudo blkid | + | |
- | + | ||
- | ===== fstab ===== | + | |
- | + | ||
- | * :!: Change the '' | + | |
- | * :!: This expects 1 drive each with a XFS partition | + | |
- | + | ||
- | sudo mkdir -p '/ | + | |
- | + | ||
- | < | + | |
- | # NAS | + | |
- | PARTUUID=x / | + | |
- | + | ||
- | sudo mount --all | + | |
- | + | ||
- | ====== Permissions ====== | + | |
- | + | ||
- | ===== Files ===== | + | |
- | + | ||
- | * :!: Verify the group name with the '' | + | |
- | + | ||
- | sudo chown -R ' | + | |
- | + | ||
- | ===== SELinux ===== | + | |
- | + | ||
- | sudo semanage fcontext --deleteall "/ | + | |
- | + | ||
- | sudo semanage fcontext --add --type ' | + | |
- | + | ||
- | sudo restorecon -R -v '/ | + |