前言
接上一篇繼續折騰,這次在 N1 上進行一些本地化設置並安裝使用 OpenMediaVault
步驟
使用 ssh 連接到 N1,修改系統源
cd /etc/apt
cp sources.list sources.list.bak
vim sources.list
按 d 刪除全部內容,按 i 粘貼以下內容,完成后按 Esc 然后 :wq 保存並退出,完成后可輸入 apt update 查看是否有問題
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
輸入 armbian-config,選擇 Personal,修改 Timezone 為 Asia/Shanghai,Hostname 按需修改
選擇 Software→Softy,在 OMV 處按空格選擇,然后回車確定,等待安裝
安裝完成后在瀏覽器輸入 N1 的 IP,打開 OMV 的管理頁面,默認用戶名 admin,密碼 openmediavault
將移動硬盤接到 N1 的 USB 口,在存儲器→文件系統中選擇掛載移動硬盤並應用
在訪問權限管理→共享文件夾中添加一項,選擇剛才掛載的文件夾,共享整個目錄
在服務→SMB/CIFS 中的“共享”選項卡加入剛才添加的共享目錄,選擇“允許訪客”可免密碼訪問,在“設置”中啟用,保存並應用
在存儲器→磁盤中可設置移動硬盤自動停轉時間
完成!在電腦的“網絡”中即可看到 N1 的共享目錄了
后記
下一篇記錄其他折騰過程