Emby服务器相关配置 - HelloMorningStar/Bring-up-two-miao-miao GitHub Wiki
Emby服务器相关配置
1,开启虚拟内存 wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh 2,安装bbr加速,甲骨文两个弹窗选择yes wget -N --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh 安装完成后,重启,再次运行脚本,选择7加速 3,安装Emby server sudo apt update && sudo apt upgrade wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.7.11.0/emby-server-deb_4.7.11.0_amd64.deb sudo dpkg -i emby-server-deb_4.7.11.0_amd64.deb sudo systemctl status emby-server.service sudo ufw allow 8096
1,Ubuntu服务器上安装qBittorent
https://hub.docker.com/r/linuxserver/qbittorrent
建议只安装web版 cd ~/dockers mkdir -p /qBittorrent/config cd qBittorrent nano docker-compose.yml 复制内容: version: "2.1" services: qbittorrent: image: ghcr.io/linuxserver/qbittorrent container_name: qbittorrent environment: - PUID=0 - PGID=0 - TZ=Europe/London - UMASK_SET=022 - WEBUI_PORT=8081 volumes: - ~/dockers/qBittorrent/config:/config - /usr/local/data/media:/downloads ports: - 6881:6881 - 6881:6881/udp - 8081:8081 restart: unless-stopped 保存退出 docker-compose up -d
Install qBittorrent on Ubuntu 20.04 Step 1: Update your system First, make sure all your system packages are updated. Run the following commands: $ sudo apt update $ sudo apt upgrade Step 2: Add qBittorrent PPA on Ubuntu 20.04 Next, we add the qBittorrent PPA(Personal Package Archive) in Ubuntu. Run the command: $ sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable To proceed, press ENTER. Step 3: Install qbittorrent Next, update the repository and then install qbittorrent. Run the following commands: $ sudo apt update $ sudo apt install qbittorrent Press Y to continue with the installation. Another package will be installed in the process. Step 4. Opening qBittorrent. Once the installation is complete, launch qBittorrent from the applications menu on ubuntu or run the following command: $ qbittorrent qBittorrent安装在ubuntu服务器后可以从网页端打开配置 qBittorrent Web UI qBittorrent has a web interface that allows you to control torrent clients from a web browser. To enable the web interface, go to Tools > Preferences > Web UI. The program runs on port 8080 though you can also specify the port. Open your browser and gothe address localhost:8080.
2,Ubuntu服务器上安装Radarr(电影)和Sonarr(电视剧)
Radarr用Arr Installation Script自动安装到服务器上 nano ArrInstall.sh
内容参考官网*Arr Installation Script
sudo bash ArrInstall.sh 安装好Radarr后简单配置一下 http://localhost:7878 下载客户端配置一下qBittorent
安装Sonarr
sonarr install on Ubuntu
Ubuntu 20.04 "focal" (i386, amd64, armhf, arm64) sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 2009837CBFFD68F45BC180471F4F90DE2A9B4BF8 echo "deb https://apt.sonarr.tv/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/sonarr.list sudo apt update sudo apt install sonarr 完成安装后打开Sonarr网页配置 http://localhost:8989 配置一下qBittorent
3,安装Jackett
Install on Linux(AMDx64)
Install on Linux (AMDx64) On most operating systems all the required dependencies will already be present. In case they are not, you can refer to this page https://github.com/dotnet/core/blob/master/Documentation/linux-prereqs.md Install as service A) Command to download and install latest package and run the Jackett service: cd /opt && f=Jackett.Binaries.LinuxAMDx64.tar.gz && release=$(wget -q https://github.com/Jackett/Jackett/releases/latest -O - | grep "title>Release" | cut -d " " -f 4) && sudo wget -Nc https://github.com/Jackett/Jackett/releases/download/$release/"$f" && sudo tar -xzf "$f" && sudo rm -f "$f" && cd Jackett* && sudo ./install_service_systemd.sh && systemctl status jackett.service && cd - && echo -e "\nVisit http://127.0.0.1:9117"
http://localhost:9117
*Jackett查找到相关索引配置到Sonarr和Radarr
4,安装ombi
Ombi
Note that this is for Ubuntu 20.xx onwards, and on the development branch, and on the new repo. 1. Add the apt repository to the apt sources list: echo "deb [arch=amd64 signed-by=/usr/share/keyrings/ombi-archive-keyring.gpg] https://packagecloud.io/Ombi-app/Ombi/debian/ jessie main" | sudo tee /etc/apt/sources.list.d/ombi.list echo "deb-src [arch=amd64 signed-by=/usr/share/keyrings/ombi-archive-keyring.gpg] https://packagecloud.io/Ombi-app/Ombi/debian/ jessie main" | sudo tee -a /etc/apt/sources.list.d/ombi.list 2. This repo is signed. This means packages get validated before installation. So, to safely download and install Ombi packages, the Ombi key needs to be installed: sudo curl -sSL https://packagecloud.io/Ombi-app/Ombi/gpgkey | gpg --dearmor > /usr/share/keyrings/ombi-archive-keyring.gpg 3. Update the package list and install Ombi: sudo apt update && sudo apt install ombi If no errors are shown, Ombi has been installed successfully and will automatically start during boot. Ombi should now be reachable on "http://your-ip-address:5000". If you would like to change this port, you will need to use the --host [startup parameter](https://docs.ombi.app/info/startup-parameters). Packages in this repo use systemd. Use either the systemctl or the service command to start, stop, or restart Ombi.
http://localhost:5000在OMBI中简单的配置Sonarr和Radarr
4,字幕下载器配置
ChineseSubFinder
Docker-Compose method - Recommended Install Docker Update the repo to get latest versions sudo apt update Install the latest version sudo apt install docker.io Set Docker to start on startup sudo systemctl enable --now docker Give your user permissions to docker, replacing user with your username sudo usermod -aG docker user Once you have run this command close and reopen your session if you accessing remotely. This is to apply the permissions in the above step Test it has installed correctly by getting the docker version docker --version Docker Compose I also install docker-compose as some dockers need you to compose from a yml file. This downloads 1.29.2, just change this if the version updates to a later version sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose Give permissions to this sudo chmod +x /usr/local/bin/docker-compose Test it has installed correctly by getting the docker-compose version docker-compose --version Install ChineseSubFinder I keep all my dockers in a dockers folder in my home directory. If it doesn’t exist already, create this folder:- mkdir ~/dockers Now create a folder for ChineseSubFinder to live in. mkdir ~/dockers/chinesesubfinder Create a folder for the config mkdir ~/dockers/chinesesubfinder/config Change directory to this folder cd ~/dockers/chinesesubfinder Create a docker-compose.yml file docker-compose 新建docker-compose.yml文件如下,并以命令docker-compose up -d启动(停止用docker-compose down)。 version: "3" services: chinesesubfinder: image: allanpk716/chinesesubfinder:latest volumes: - ./config:/config # 冒号左边请修改为你想在主机上保存配置、日志等文件的路径 - /home/usb/usb/data/media/movies:/media/movies # 请修改为你的媒体目录,冒号右边可以改成你方便记忆的目录,多个媒体目录需要分别映射进来 - /home/usb/usb/data/media/Series:/media/series - ./browser:/root/.cache/rod/browser # 容器重启后无需再次下载 chrome,除非 go-rod 更新 environment: - PUID=1000 # uid - PGID=1000 # gid - PERMS=true # 是否重设/media权限 - TZ=Asia/Shanghai # 时区 - UMASK=022 # 权限掩码 restart: always network_mode: bridge hostname: chinesesubfinder container_name: chinesesubfinder ports: - 19035:19035 # 从0.20.0版本开始,通过webui来设置 - 19037:19037 # webui 的视频列表读取图片用,务必设置不要暴露到外网 logging: driver: "json-file" options: max-size: "100m" # 限制docker控制台日志大小,可自行调整
http://localhost:19035
配置chinesesubfinder
http://localhost:6767 配置BAZARR