小睿私人云刷OMV教程

1,把小睿私人云刷debian刷机教程参考:上一篇
固件地址:https://github.com/hanwckf/build-raycloud/releases
2,ssh 连接上小睿 账号:root,密码:admin

1
2
3
4
5
6
7
替换源
nano /etc/apt/sources.list
替换成下面内容:
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib

保存并推出
更新

1
apt update

安装 Realtek Firmware

1
apt-get install firmware-realtek

安装其他内核

1
apt-get install firmware-linux firmware-linux-free firmware-linux-nonfree

安装其gnupg2

1
apt install gnupg2

下载公钥并添加

1
2
wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"

添加omv软件源

1
2
3
4
5
6
7
8
9
10
11
cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
deb https://packages.openmediavault.org/public usul main
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul main
## Uncomment the following line to add software from the proposed repository.
# deb https://packages.openmediavault.org/public usul-proposed main
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul-proposed main
## This software is not part of OpenMediaVault, but is offered by third-party
## developers as a service to OpenMediaVault users.
# deb https://packages.openmediavault.org/public usul partner
# deb https://downloads.sourceforge.net/project/openmediavault/packages usul partner
EOF

环境设置

1
2
3
4
5
6
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
apt-get update
apt-get --allow-unauthenticated install openmediavault-keyring
apt-get update

安装

1
2
3
4
5
6
apt-get --yes --auto-remove --show-upgraded \
--allow-downgrades --allow-change-held-packages \
--no-install-recommends \
--option Dpkg::Options::="--force-confdef" \
--option DPkg::Options::="--force-confold" \
install postfix openmediavault

8,等待安装结束,输入IP地址就能进OMV系统了
默认账号:admin,密码:openmediavault

文章转自恩山 链接:https://www.right.com.cn/forum/thread-1329009-1-1.html

-------------���Ľ�����л�����Ķ�-------------
0%