- install ubuntu server
- install basic config:
wget https://raw.githubusercontent.com/mnbf9rca/public_server_config/master/basic_config.sh sudo chmod +x ./basic_config.sh sudo ./basic_config.sh
- increase max file limit:
- GUI login:
- modify
/etc/systemd/user.conf
by settingDefaultLimitNOFILE=1048576
- modify
/etc/systemd/system.conf
by settingDefaultLimitNOFILE=2097152
- modify
- non-GUI login:
modify
/etc/security/limits.conf
to add at the end:* hard nofile 2097152 * soft nofile 2097152 root soft nofile 64000 root hard nofile 64000
- reboot
- GUI login:
- Install Docker CE https://docs.docker.com/install/linux/docker-ce/ubuntu/
- install basic config:
- in Rancher, create new custom cluster
- edit config map
nginx-cofiguration
by pasting this in to the "edit" box (it'll parse it to individual values):
hsts: true
hsts-include-subdomains: true
hsts-max-age: 0
hsts-preload: false
proxy-body-size: 20m
- Create new "project" called "Downloads"
In general, you just paste the yaml in to the
Import YAML
box
- Create persistent volume claims and
downloads
namespace withpersistent-nfs-storage.yaml
- sabnzbd, couchpotato, sonarr - just create a cname sab, cp, sonarr.* and deploy the relevant yaml file.
- emby --> still working on this
- deploy emby.yaml
- edit tcp_services configmap to add emby