树莓派4B安装OpenMediaVault(OMV)搭建一个小型家用NAS系统
樹(shù)莓派4B安裝OpenMediaVault(OMV)搭建一個(gè)小型家用NAS系統(tǒng)
前言
手上有一塊樹(shù)莓派4B 4GB版本的樹(shù)莓派,折騰來(lái)折騰去,亂七八糟的總是不讓他長(zhǎng)久跑,做點(diǎn)有用的事情,,,于是這個(gè)想法就誕生了。。。。
手上的清單
一.安裝系統(tǒng)
這個(gè)比較簡(jiǎn)單,我之前的開(kāi)箱體驗(yàn)有
1.官網(wǎng)下載鏡像
下載網(wǎng)址:https://www.raspberrypi.org/downloads/raspbian/
下載好后減壓備用
2.格式化SD卡
使用專(zhuān)用工具SDFormatter 我用的版本是4.0
自己下載安裝吧
格式化SD卡
3.制作系統(tǒng)到SD卡
制作系統(tǒng)工具:Win32DiskImager-0.9.5-install 下載
自己下載安裝吧
4.開(kāi)始制作系統(tǒng)鏡像
選擇前面下載好的系統(tǒng)鏡像
點(diǎn)擊OK 系統(tǒng)做完了
插入內(nèi)存卡,上電啟動(dòng)即可
二、安裝OMV
我是在B站看的教程
原作者鏈接:https://www.bilibili.com/video/av86842966/
bilibili站安裝教程 添加hosts sudo nano /etc/hosts # GitHub Start 192.30.253.112 github.com 192.30.253.119 gist.github.com 151.101.100.133 assets-cdn.github.com 151.101.100.133 raw.githubusercontent.com 151.101.100.133 gist.githubusercontent.com 151.101.100.133 cloud.githubusercontent.com 151.101.100.133 camo.githubusercontent.com 151.101.100.133 avatars0.githubusercontent.com 151.101.100.133 avatars1.githubusercontent.com 151.101.100.133 avatars2.githubusercontent.com 151.101.100.133 avatars3.githubusercontent.com 151.101.100.133 avatars4.githubusercontent.com 151.101.100.133 avatars5.githubusercontent.com 151.101.100.133 avatars6.githubusercontent.com 151.101.100.133 avatars7.githubusercontent.com 151.101.100.133 avatars8.githubusercontent.com # GitHub End 151.101.0.133 raw.githubusercontent.com 查看系統(tǒng)版本 lsb_release -a sudo nano /etc/apt/sources.list deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi sudo nano /etc/apt/sources.list.d/raspi.list deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ buster main ui deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui deb-src http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui 先更新 sudo apt-get update sudo apt-get install vlc-bin -y sudo apt-get upgrade -y 安裝ovm wget --no-check-certificate -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
如果安裝有問(wèn)題,大多數(shù)是因?yàn)榫W(wǎng)絡(luò)原因,我也是折騰了很久最后 是路由器開(kāi)啟全路由模式,就好了(這個(gè)我也不懂,到底干了個(gè)啥)
三、登錄系統(tǒng)配置相關(guān)設(shè)置
在瀏覽器輸入樹(shù)莓派ip地址直接進(jìn)入web配置界面
用戶(hù)名: admin
密碼:openmediavault
1.登錄
2.樹(shù)莓派4B OMV相關(guān)信息
3.磁盤(pán)和文件系統(tǒng)分別掛載磁盤(pán)和添加共享文件夾
4.添加完成文件夾開(kāi)啟共享文件
這樣就ok
四、主機(jī)添加網(wǎng)絡(luò)驅(qū)動(dòng)器
win10或者win7電腦開(kāi)啟網(wǎng)絡(luò)共享發(fā)現(xiàn)
網(wǎng)絡(luò)共享中心,高級(jí)設(shè)置 --->開(kāi)啟共享發(fā)現(xiàn)即可
然后添加網(wǎng)絡(luò)驅(qū)動(dòng)器 win7為例就是這樣
五、測(cè)試
1.寫(xiě)入速度測(cè)試
電腦-->樹(shù)莓派-->移動(dòng)硬盤(pán)3.0 寫(xiě)入數(shù)據(jù)
23MB/s 左右
2.讀取數(shù)據(jù)速度測(cè)試
移動(dòng)硬盤(pán)3.0-->樹(shù)莓派-->電腦 讀取數(shù)據(jù)
整體來(lái)說(shuō)還不錯(cuò),哈哈,終于算是有點(diǎn)作用了。這個(gè)速度還可以接受,小姐姐的片終于有地方放了。哈哈哈哈哈。。就醬紫,。。。下課。
六、外殼制作
雖然都做好了,但是一堆線亂七八糟的,于是想做個(gè)外殼把它裝起來(lái),雖然和群輝或者威聯(lián)通的nas不能比,但是氣質(zhì)這方面也得拿捏的死死的。。。于是就動(dòng)工,購(gòu)買(mǎi)相關(guān)線材等材料
購(gòu)買(mǎi)了幾根7類(lèi)線、還有之前的亞克力板啥的
純手工打造,。。。。哈哈哈哈,純屬娛樂(lè)
總結(jié)
以上是生活随笔為你收集整理的树莓派4B安装OpenMediaVault(OMV)搭建一个小型家用NAS系统的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 说人话是什么意思
- 下一篇: ISE14.7安装教程(转)