N1盒子—關(guān)于安裝omv(首次安裝指南)
非原創(chuàng),融合修改大量教程的精華,所有能想到的有用信息都有歸結(jié)
1.通過恩山或各種途徑的教程安裝好armbian到內(nèi)存中
2.進入系統(tǒng)后通過指令 armbian-config 進入可視化設(shè)置-personal-timezone改為Asia-chongqing(這一步是設(shè)置時間,按道理來說可以不執(zhí)行,具體看盒子講不講道理)
回到命令行
執(zhí)行
nano /etc/apt/sources.list也可以可視化復(fù)制粘貼

換源為
deb https://mirrors.ustc.edu.cn/debian stretch main contrib non-free
#deb-src http://httpredir.debian.org/debian stretch main contrib non-free
deb https://mirrors.ustc.edu.cn/debian stretch-updates main contrib non-free
#deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian stretch-backports main contrib non-free
#deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
#deb-src http://security.debian.org/ stretch/updates main contrib non-free
4.添加 OMV 軟件源
echo "deb http://packages.openmediavault.org/public arrakis main" > /etc/apt/sources.list.d/openmediavault.list ?
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 7E7A6C592EF35D13 24863F0C716B980B
?
注意,下面這一步網(wǎng)上教程全是錯的?。。?!
我也不知道他們是怎么裝完的,也可能是我的網(wǎng)絡(luò)環(huán)境有問題。
?
執(zhí)行
apt-get update
再
apt-get upgrade
一定要完全一樣 不是 sudo apt-get update 也不是 ?apt update
5.設(shè)置環(huán)境變量
export LANG=C
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
6.安裝 OMV
apt install openmediavault-keyring postfix
apt install openmediavault
7.和6效果一樣,但是實際執(zhí)行還是得看結(jié)果
命令行執(zhí)行?
????armbian-config

然后進入software-softy
空格(space)為選擇鍵,上下鍵移動,回車(enter)為安裝
安裝完成后,輸入http://ip
打開登陸頁面,默認賬號密碼如下
賬號:
admin
密碼:
openmediavault

標簽: