内容简介:OpenMediaVault,是一个开源的基于 Debian Linux 的下一代网络附加存储 (NAS) 解决方案。安装:编辑
OpenMediaVault,是一个开源的基于 Debian Linux 的下一代网络附加存储 (NAS) 解决方案。
镜像源
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
omv-extras
安装:
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
docker mirror
编辑 vi /etc/docker/daemon.json
:
{
"registry-mirrors": [
"https://registry.azk8s.cn"
"https://reg-mirror.qiniu.com",
],
"data-root": "/var/lib/docker"
} ~ 重启:
/etc/init.d/docker restart
开启 sharedfolders
我全新安装的 OpenMediaVault 5.3.4 中,创建共享文件夹,系统不会自动在 sharedfolders 中创建文件夹,查了一下,发现是 OpenMediaVault 在 5.3.3-1 版本中将 sharedfolders 功能给禁用了,官方的 说明 是可能造成不稳定。不过可以通过如下方法手工开启:
Disable the '/sharedfolder/<xyz>' feature by default on new installations because it makes too much problems. It can be enabled by setting the environment variable to 'OMV_SHAREDFOLDERS_DIR_ENABLED="YES"'. Finally run the command 'omv-salt stage run prepare' to apply the modified default values and 'omv-salt deploy run systemd' to create the unit files.
但是我尝试一下之后发现创建共享文件后,sharedfolder 中依然没有,那我就只能手动 ln
了。
ln -s /srv/dev-disk-by-label-storage/appdata /sharedfolders/appdata ln -s /srv/dev-disk-by-label-storage/ruTorrent/ /sharedfolders/ruTorrent
ruTorrent
Pull 镜像:
docker pull dockerhub.azk8s.cn/linuxserver/ruTorrent
创建:
docker run -d \ --name=rutorrent \ -e PUID=1000 \ -e PGID=1000 \ -p 8080:80 \ -p 5000:5000 \ -p 51415:51413 \ -p 6881:6881/udp \ -v /sharedfolders/appdata/ruTorrent:/config \ -v /sharedfolders/ruTorrent:/downloads \ --restart unless-stopped \ dockerhub.azk8s.cn/linuxserver/rutorrent
然后根据这里 的说明改一下主题。
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Pattern Recognition and Machine Learning
Christopher Bishop / Springer / 2007-10-1 / USD 94.95
The dramatic growth in practical applications for machine learning over the last ten years has been accompanied by many important developments in the underlying algorithms and techniques. For example,......一起来看看 《Pattern Recognition and Machine Learning》 这本书的介绍吧!