运行一键脚本:bash -c "$(curl -sLk https://ddsrem.com/xiaoya_install.sh)"
运行之后,我们依次选择2
—回车
—1
—回车
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
—————————————————————————————————————————————————————————————————————————————————— 小雅Emby全家桶 1、一键安装Emby全家桶 2、下载/解压 元数据 3、安装Emby(可选择版本) 4、替换DOCKER_ADDRESS(已弃用) 5、安装/更新/卸载 Resilio-Sync 当前状态:未安装 6、立即同步小雅Emby config目录 7、创建/删除 Emby config同步定时任务 当前状态:未创建 8、图形化编辑 emby_config.txt 9、卸载Emby全家桶 10、返回上级 —————————————————————————————————————————————————————————————————————————————————— 请输入数字 [1-10]:1 [INFO] 已读取小雅Alist配置文件路径:/volume1/docker/xiaoya (默认不更改回车继续,如果需要更改请输入新路径) CONFIG_DIR: [INFO] 请输入媒体库目录(默认 /opt/media ) MEDIA_DIR:/volume1/docker/xiaoya_media [INFO] docker0 的 IP 地址是:172.17.0.1 [INFO] 测试xiaoya的联通性... Location: https://bj29-enet.cn-beijing.data.alicloudccp.com/DZnxNDmz%2F189426850%2F648ca9cef1ba5a23502344f8951e7e20b6237710%2F64970917db671c513fa943b1ba9b5784f2add83d?callback=eyJjYWxsYmFja1VybCI6Imh0dHA6Ly9iajI5LmFwaS1ocC5hbGl5dW5wZHMuY29tL3YyL2ZpbGUvZG93bmxvYWRfY2FsbGJhY2siLCJjYWxsYmFja0JvZHkiOiJodHRwSGVhZGVyLnJhbmdlPSR7aHR0cEhlYWRlci5yYW5nZX1cdTAwMjZidWNrZXQ9JHtidWNrZXR9XHUwMDI2b2JqZWN0PSR7b2JqZWN0fVx1MDAyNmRvbWFpbl9pZD0ke3g6ZG9tYWluX2lkfVx1MDAyNnVzZXJfaWQ9JHt4OnVzZXJfaWR9XHUwMDI2ZHJpdmVfaWQ9JHt4OmRyaXZlX2lkfVx1MDAyNmZpbGVfaWQ9JHt4OmZpbGVfaWR9XHUwMDI2cGRzX3BhcmFtcz0ke3g6cGRzX3BhcmFtc30iLCJjYWxsYmFja0JvZHlUeXBlIjoiYXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVkIiwiY2FsbGJhY2tTdGFnZSI6ImJlZm9yZS1leGVjdXRlIiwiY2FsbGJhY2tGYWlsdXJlQWN0aW9uIjoiaWdub3JlIn0%3D&callback-var=eyJ4OmRvbWFpbl9pZCI6ImJqMjkiLCJ4OnVzZXJfaWQiOiJkODM0NDRiYzUzNmQ0ZTkwOWM5NzczODE1YzYxZjc4ZSIsIng6ZHJpdmVfaWQiOiI4MzExNDY5NzMiLCJ4OmZpbGVfaWQiOiI2NWU5NmI2ZTFhOTllYzEwMGIwZDQyYWRhM2VkNTRiNTgwMmFjYmNmIiwieDpwZHNfcGFyYW1zIjoie1wiYXBcIjpcIjc2OTE3Y2NjY2Q0NDQxYzM5NDU3YTA0ZjYwODRmYjJmXCJ9In0%3D&di=bj29&dr=831146973&f=65e96b6e1a99ec100b0d42ada3ed54b5802acbcf&pds-params=%7B%22ap%22%3A%2276917ccccd4441c39457a04f6084fb2f%22%7D&response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27README.md&security-token=CAIS8gF1q6Ft5B2yfSjIr5DNfeOBqadKhoyJSRf1gVEsOs5ap43Mjzz2IHhMf3NpBOkZvvQ1lGlU6%2Fcalq5rR4QAXlDfNSzVLQXeqFHPWZHInuDox55m4cTXNAr%2BIhr%2F29CoEIedZdjBe%2FCrRknZnytou9XTfimjWFrXWv%2Fgy%2BQQDLItUxK%2FcCBNCfpPOwJms7V6D3bKMuu3OROY6Qi5TmgQ41Uh1jgjtPzkkpfFtkGF1GeXkLFF%2B97DRbG%2FdNRpMZtFVNO44fd7bKKp0lQLs0ARrv4r1fMUqW2X543AUgFLhy2KKMPY99xpFgh9a7j0iCbSGyUu%2FhqAAaUrbpc%2Bt3X%2BOSd0vKcgXum93BYadJa1hqO95dPu%2BzuIu1Ckgq5gDRhyph%2FvH2bKaqSSMonCmRVSdBZ5W3SMqFTDUVAYR09dhyWj0nhv9int1CWAh6A%2F4C0PsUNH6Hv7krwSzg8clOXrtR2HDzqYWzNatifYdOrs8bQl6ZdVL2AdIAA%3D&u=d83444bc536d4e909c9773815c61f78e&x-oss-access-key-id=STS.NSx6Y5Dxk1NbK1DeQy6AvHHgm&x-oss-expires=1709797109&x-oss-signature=Bx5792z%2BC1G33ZG9GZYM2bI1widgNkltHK4UDjlfMJk%3D&x-oss-signature-version=OSS2 x-oss-request-id: 65E96B717A795E3437EE4228 x-oss-object-type: Multipart x-oss-hash-func: SHA-1 x-oss-hash-value: 780D633F85BFF28B4E47422B23CF98BB64D913FA x-oss-hash-crc64ecma: 17125971843307411358 x-oss-storage-class: Standard x-oss-server-time: 33 [INFO] 连接小雅地址为 http://127.0.0.1:5678 [INFO] 磁盘容量:45270G [INFO] 开始下载解压... Unable to find image 'xiaoyaliu/glue:latest' locally latest: Pulling from xiaoyaliu/glue 57c139bbda7e: Pull complete ca4a2f5c2f07: Pull complete 547c4f31f115: Pull complete a36d51af957b: Pull complete e80762760778: Pull complete Digest: sha256:09ab171877bcf0670a4cc0391895679584534b45ca57d41a60f0e2c3a4c19ff1 Status: Downloaded newer image for xiaoyaliu/glue:latest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1805 100 1805 0 0 314 0 0:00:05 0:00:05 --:--:-- 514 rm: cannot remove 'config.mp4': No such file or directory 03/07 07:24:33 [NOTICE] Downloading 1 item(s) [#b1b9d9 0B/0B CN:1 DL:0B] 03/07 07:24:35 [NOTICE] CUID#7 - Redirecting to https://bj29-enet.cn-beijing.data.alicloudccp.com/r8Bjkz15%2F189426850%2F65baa77115b7b5f1667b4f5f9c937ff3ceb9e6e3%2F65e358b85a7ca5eddf6e43cd951d19fe32b45619?callback=eyJjYWxsYmFja1VybCI6Imh0dHA6Ly9iajI5LmFwaS1ocC5hbGl5dW5wZHMuY29tL3YyL2ZpbGUvZG93bmxvYWRfY2FsbGJhY2siLCJjYWxsYmFja0JvZHkiOiJodHRwSGVhZGVyLnJhbmdlPSR7aHR0cEhlYWRlci5yYW5nZX1cdTAwMjZidWNrZXQ9JHtidWNrZXR9XHUwMDI2b2JqZWN0PSR7b2JqZWN0fVx1MDAyNmRvbWFpbl9pZD0ke3g6ZG9tYWluX2lkfVx1MDAyNnVzZXJfaWQ9JHt4OnVzZXJfaWR9XHUwMDI2ZHJpdmVfaWQ9JHt4OmRyaXZlX2lkfVx1MDAyNmZpbGVfaWQ9JHt4OmZpbGVfaWR9XHUwMDI2cGRzX3BhcmFtcz0ke3g6cGRzX3BhcmFtc30iLCJjYWxsYmFja0JvZHlUeXBlIjoiYXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVkIiwiY2FsbGJhY2tTdGFnZSI6ImJlZm9yZS1leGVjdXRlIiwiY2FsbGJhY2tGYWlsdXJlQWN0aW9uIjoiaWdub3JlIn0%3D&callback-var=eyJ4OmRvbWFpbl9pZCI6ImJqMjkiLCJ4OnVzZXJfaWQiOiJkODM0NDRiYzUzNmQ0ZTkwOWM5NzczODE1YzYxZjc4ZSIsIng6ZHJpdmVfaWQiOiI4MzExNDY5NzMiLCJ4OmZpbGVfaWQiOiI2NWU5NmJiMWRkZGYzOTVmYzQxYTQ0YTdhZTAwZGIxODFlNWRmMTlmIiwieDpwZHNfcGFyYW1zIjoie1wiYXBcIjpcIjc2OTE3Y2NjY2Q0NDQxYzM5NDU3YTA0ZjYwODRmYjJmXCJ9In0%3D&di=bj29&dr=831146973&f=65e96bb1dddf395fc41a44a7ae00db181e5df19f&pds-params=%7B%22ap%22%3A%2276917ccccd4441c39457a04f6084fb2f%22%7D&response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27config.mp4&security-token=CAIS8gF1q6Ft5B2yfSjIr5DAGo%2BF2Y5W47XfeEHV0jUYaMJ8tpDhqjz2IHhMf3NpBOkZvvQ1lGlU6%2Fcalq5rR4QAXlDfNUXGdwTeqFHPWZHInuDox55m4cTXNAr%2BIhr%2F29CoEIedZdjBe%2FCrRknZnytou9XTfimjWFrXWv%2Fgy%2BQQDLItUxK%2FcCBNCfpPOwJms7V6D3bKMuu3OROY6Qi5TmgQ41Uh1jgjtPzkkpfFtkGF1GeXkLFF%2B97DRbG%2FdNRpMZtFVNO44fd7bKKp0lQLs0ARrv4r1fMUqW2X543AUgFLhy2KKMPY99xpFgh9a7j0iCbSGyUu%2FhqAAZi90dfsWuscKkmo92mXQPOxTSENyaXNcVftCQmHUTBjzA%2FSQyLbPokLxrwtMSAeQ%2Fa9cBLTKSx7MbH1FX6ji4V7OvimqQKyEIfFlPTzYmRDBCKmJusHFKmuNeLVlO43mub6xi7EZpFBmZX5EA75lw8VvYynB4bPtOv2lno%2F%2F4oJIAA%3D&u=d83444bc536d4e909c9773815c61f78e&x-oss-access-key-id=STS.NSuQ514QwTw4zgd65MdMPYUJH&x-oss-expires=1709797175&x-oss-signature=AwwwOlFilxJaCOd7qNtn3bFwsG%2FGUT%2B1uHJ4Dg1Rz4Q%3D&x-oss-signature-version=O [#b1b9d9 0B/3.7GiB(0%) CN:1 DL:0B] |
等所有下载之后,会进行解压:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
执行解压............ 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs AMD Ryzen Embedded V1500B (810F10),ASM,AES-NI) Scanning the drive for archives: 1 file, 4048038287 bytes (3861 MiB) Extracting archive: temp/config.mp4 -- Path = temp/config.mp4 Type = 7z Offset = 370745 Physical Size = 4047667542 Headers Size = 1581268 Method = LZMA2:24 BCJ Solid = + Blocks = 7 - config - config/cache - config/cache/fanart-movies - config/cache/fanart-movies/1000081 - config/cache/fanart-movies/10009 - config/cache/fanart-movies/1000938 - config/cache/fanart-movies/10010 - config/cache/fanart-movies/1001500 - config/cache/fanart-movies/1001717 |
整个过程会很久,耐心等待即可~
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
Everything is Ok Folders: 13456 Files: 312730 Size: 20640872458 Compressed: 15168649913 解压执行时间:57 分钟 刮削数据已经解压完成,请登入http://127.0.0.1:2345,用户名:xiaoya 密码:1234 [INFO] docker0 的 IP 地址是:172.17.0.1 [INFO] 设置目录权限... [INFO] 这可能需要一定时间,请耐心等待! [INFO] 下载解压完成! [INFO] docker0 的 IP 地址是:172.17.0.1 [INFO] 请选择使用的网络模式 [ 1:host | 2:bridge ](默认 1) Net: [INFO] hosts 文件设置正确! [INFO] 如果需要开启Emby硬件转码请先返回主菜单开启容器运行额外参数添加 -> 72 [INFO] nsswitch.conf 配置文件路径:/etc/nsswitch.conf [INFO] 请选择使用的Emby镜像 [ 1:amilys/embyserver | 2:emby/embyserver | 3:lovechen/embyserver(目前不能直接同步config数据,且还存在一些已知问题未修复) ](默认 2) IMAGE:1 [INFO] 开始安装Emby容器..... [INFO] 您的架构是:x86_64 Unable to find image 'amilys/embyserver:4.8.0.56' locally 4.8.0.56: Pulling from amilys/embyserver d2dce026a06e: Pull complete 2506394661d8: Pull complete 3d6c29aaa1be: Pull complete 9bfa438fee60: Pull complete 2fc92eaf6d9f: Pull complete Digest: sha256:229ec2e80e55714d83570028e08864464383199dbaea60efa628d5e2836ed832 Status: Downloaded newer image for amilys/embyserver:4.8.0.56 aa24c76a2c2959548e5b4f54e1ec028d78aa5ddfc18014cc35d36482c42e887e [INFO] docker0 的 IP 地址是:172.17.0.1 [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... Info App: File /system/plugins/Emby.Server.CinemaMode.dll has version 1.0.46.0 Info App: File /config/plugins/Emby.Webhooks.dll has version 1.0.35.0 Info App: File /system/plugins/Emby.Webhooks.dll has version 1.0.32.0 Info App: File /config/plugins/Fanart.dll has version 1.0.16.0 Info App: File /system/plugins/Fanart.dll has version 1.0.15.0 Info App: File /config/plugins/MovieDb.dll has version 1.7.4.0 Info App: File /system/plugins/MovieDb.dll has version 1.7.3.0 Info App: File /config/plugins/NfoMetadata.dll has version 1.0.79.0 Info App: File /system/plugins/NfoMetadata.dll has version 1.0.77.0 Info App: File /config/plugins/OMDb.dll has version 1.0.21.0 Data path: /config Application path: /system Info App: Logs path: /config/logs Info App: Cache path: /config/cache Info App: Internal metadata path: /config/metadata Info App: Transcoding temporary files path: /config/transcoding-temp Info App: InfuseSync is starting. Info FfmpegManager: FFMpeg: /bin/ffmpeg Info FfmpegManager: FFProbe: /bin/ffprobe Info FfmpegManager: FFDetect: /bin/ffdetect Info App: Starting entry point Emby.Server.MediaEncoding.Api.EncodingManagerEntryPoint Info App: Entry point completed: Emby.Server.MediaEncoding.Api.EncodingManagerEntryPoint. Duration: 0.0021825 seconds Info App: Starting entry point Emby.Notifications.NotificationManagerEntryPoint Info Notifications: Registering event nofitier Emby Server User Notifications Info App: Entry point completed: Emby.Notifications.NotificationManagerEntryPoint. Duration: 0.0164402 seconds Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Duration: 0.0021638 seconds Info App: Starting entry point EmbyServer.Windows.LoopUtilEntryPoint Info App: Entry point completed: EmbyServer.Windows.LoopUtilEntryPoint. Duration: 0.0001152 seconds Info App: All entry points have started [INFO] 重启小雅容器中... xiaoya [INFO] Emby安装完成! [INFO] 已读取媒体库目录:/volume1/docker/xiaoya_media (默认不更改回车继续,如果需要更改请输入新路径) MEDIA_DIR: [INFO] 请输入配置文件目录(默认 /volume1/docker/xiaoya_media/resilio ) CONFIG_DIR: [INFO] 请输入后台管理端口(默认 8888 ) HT_PORT:23241 [INFO] 请输入同步端口(默认 55555 ) SYNC_PORT: [INFO] resilio容器内存上限(单位:MB,默认:2048) mem_size: [INFO] 是否自动配置系统 inotify watches & instances 的数值 [Y/n](默认 Y) inotify: fs.inotify.max_user_watches=524288 fs.inotify.max_user_instances=524288 kernel.panic = 3 net.core.somaxconn = 65535 net.ipv4.tcp_tw_reuse = 1 fs.protected_hardlinks = 1 fs.protected_symlinks = 1 kernel.syno_forbid_console = 0 kernel.syno_forbid_usb = 0 net.ipv6.conf.default.accept_ra_defrtr = 0 net.ipv4.conf.default.accept_redirects = 0 net.ipv6.conf.default.accept_redirects = 0 net.ipv4.conf.default.send_redirects = 0 net.ipv4.conf.default.secure_redirects = 0 net.ipv6.conf.default.accept_ra = 0 fs.inotify.max_user_watches = 524288 fs.inotify.max_user_instances = 524288 [INFO] 开始安装resilio... Unable to find image 'linuxserver/resilio-sync:latest' locally latest: Pulling from linuxserver/resilio-sync 56421c574a05: Pull complete 09b67666f430: Pull complete 7c560419e997: Pull complete d7a5d4a5cc06: Pull complete 24667339c752: Pull complete 103292b34c06: Pull complete 01e010b10e48: Pull complete 0ec38c874096: Pull complete a61faff55f07: Pull complete Digest: sha256:fa3007e207e46f580c75e65acb0249ca621b17e8a3e71e129092c420c20d0044 Status: Downloaded newer image for linuxserver/resilio-sync:latest 966ed68ee364676018fce5a89a17494b9267ad7199c5ccaae39a2dd69785c03b [INFO] 请输入您希望的同步时间 注意:24小时制,格式:hh:mm,小时分钟之间用英文冒号分隔 (示例:23:45,默认:06:00):01:00 您希望几天同步一次?(单位:天)(默认:7) [INFO] 已创建/etc/crontab.bak备份文件 [INFO] 已经添加下面的记录到crontab定时任务 [INFO] 00 01 */7 * * bash -c "$(curl http://docker.xiaoya.pro/sync_emby_config.sh)" -s /volume1/docker/xiaoya_media /volume1/docker/xiaoya emby resilio >> /volume1/docker/xiaoya_media/resilio/cron.log 2>&1 [INFO] 安装完成! [INFO] 全家桶安装完成! |
整个下载过程大概是1
小时,解压过程也是1
小时~
几个关键信息:
后台管理地址:http://192.168.1.108:23241/gui/
账号:第一次打开该页面设置的
密码:第一次打开该页面设置的
前端控制台:http://192.168.31.1.108/web/index.html#!/home
账号:xiaoya
密码:1234
跑到这里卡住了,[INFO] docker0 的 IP 地址是:172.17.0.1
[INFO] 设置目录权限…
[INFO] 这可能需要一定时间,请耐心等待! 这里需要多长时间才能过呀
@kk 我应该是等了大概2小时左右