Cov txheej txheem:

NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Zoo Siab: 5 Kauj Ruam (nrog Duab)
NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Zoo Siab: 5 Kauj Ruam (nrog Duab)

Video: NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Zoo Siab: 5 Kauj Ruam (nrog Duab)

Video: NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Zoo Siab: 5 Kauj Ruam (nrog Duab)
Video: NCO KOJ KOM TUAG KUS tsom xyooj 2020-2021 2024, Kaum ib hlis
Anonim
Image
Image
NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Lom Zem
NAS-pi: Lub thawv kawg rau Koj PLEX, DLNA thiab NAS Kev Lom Zem

Nyob zoo, Folks!

Hnub no, peb tab tom tsim lub ntsej muag zoo! Raspberry Pi network txuas nrog cia nrog kev tshaj tawm xov xwm ua haujlwm! Raspberry Pi 3 & Raspberry Pi 2 tau tshaj! Qhov tsim tshwj xeeb los nrog 160GB RAID1 thiab 1.4 TB PLEX server.

Cov yam ntxwv zoo:

  • NAS tsav (hauv RAID1 teeb tsa) tsom iav koj cov ntaub ntawv thiab nkag los ntawm txhua qhov chaw!
  • Samba (SMB) server rau kev yooj yim hauv zos network cia daws
  • PLEX neeg rau zaub mov - qhov chaw nyiam tshaj tawm ntawm pawg neeg!
  • DLNA server - tsuas yog thaum koj tsis nyiam PLEX
  • 3 nkag tau yooj yim HHD 2.5 "bays - hloov pauv tau nyuaj
  • USB interface rau kev hloov cov ntaub ntawv thiab cov keyboard nkag mus
  • Lub thawv zoo saib!

Txhua qhov zoo no muaj rau tsawg dua $ 50*!

Koj puas tseem zoo siab? Tsis muaj $ 50 kom tseg? Tsis txhob txhawj xeeb, yog tias koj hla ob peb lub tswb thiab xuav koj tuaj yeem tsim nws kom tsawg li $ 21

Nws ua tau dab tsi:

  • Hloov cov ntaub ntawv ntawm qhov ruaj khov 10Mb/s
  • Tshaj tawm cov vis dis aus hauv FHD
  • Ua suab paj nruag
  • Khaws cov ntaub ntawv
  • Ua rau koj tsev neeg thiab cov phooj ywg - los nrog txhua txoj cai khav theeb!

Npaj? Cia peb pib qhov qhia tau txaus! Cov ntaub ntawv ntxiv txog qhov kev tsim no muaj nyob ntawm nplooj ntawv no:

notenoughtech.com/raspberry-pi/raspberry-pi-nas/

Tsis tas li, hint Raspberry Pi lub sijhawm sib tw… pov npav tau ua tsaug rau!

*tus nqi ntawm cov tsav tsis suav nrog

Kauj Ruam 1: Tsim thiab Cov Khoom

Tsim thiab Cov Khoom Siv
Tsim thiab Cov Khoom Siv

NASpi tau tsim nrog 3 nyuaj tsav hauv siab. Qhov no tso qee qhov kev xav tau ntawm cov ntu peb yuav tsum tau ua kom ruaj ntseg.

Nov yog cov npe khoom lag luam yooj yim rau koj:

  • 4 chaw nres nkoj 3.0 USB powered hub (micro USB nyiam dua) (nws yuav tsum yog qhov tsim qauv zoo sib xws kom haum rau cov kab sab hauv) x1
  • USB angled cables x4
  • 2.5A -3A micro USB charger x1
  • Raspberry Pi 2/3 x1
  • HDD Bay x 3
  • 2.5 "HDD (khaws los ntawm lub khoos phis tawj qub)
  • Perspex iav (koj xaiv cov xim) 3 x A4 (tshwj xeeb iav khov)
  • Perspex iav rau logo x2 10x10cm ntsuab thiab liab

Cov lus qhia tsis zoo rau lub rooj sau zoo, yog li yog koj xav pom txhua feem nrog qee tus nqi los ntawm AmazonUK/US Aliexpress thiab Banggood thov saib cov ntawv no. (hauv qab heev)

Kauj Ruam 2: Hloov Kho Raspberry Pi

Hloov kho Raspberry Pi
Hloov kho Raspberry Pi
Hloov kho Raspberry Pi
Hloov kho Raspberry Pi
Hloov kho Raspberry Pi
Hloov kho Raspberry Pi

Txhawm rau zais tag nrho cov kab hluav taws xob, kuv lub rooj tsav xwm uas kuv nyiam yuav tsum tau hloov kho me ntsis. Muaj ob txoj hlua uas yuav tawm zoo li tus ntiv tes xoo. Kuv yuav tsum ua ib yam dab tsi txog nws.

  • kev cai USB txuas
  • kev cai fais fab xa

Fais fab

Ib qho ntawm cov kab uas hla tau yuav tsum tau khaws cia. Txiav tawm qhov mini-USB ib sab tawm kom txaus ua kom khoov txoj hlua sab hauv lub thawv.

USB muaj 4 kab sab hauv - feem ntau yog xim nrog Liab thiab Dub rau xa hluav taws xob thiab Ntsuab thiab Dawb rau cov ntaub ntawv ntsia. Tsis quav ntsej cov ntaub ntawv thiab hle cov kab hluav taws xob.

Kuv tau muab kuv tus kheej tso rau Raspberry Pi ncaj qha, nyob ze lub qhov hluav taws xob kom xa lub zog li no. (Saib daim duab)

Kev cai USB

Kuv yuav tsum desolder USB header los ntawm pawg thawj coj saib. Kuv yuav hloov nws nrog lub yas txuas, tab sis koj tuaj yeem muab cov xov hlau txuas ncaj qha rau ntawm lub rooj tsavxwm. Ua tib zoo saib daim duab thiab daim ntawv lo.

R = redG = greenW = whiteB = dub

Qhov thib ob USB lub taub hau tuaj yeem siv rau kev xa cov ntaub ntawv.

Kauj ruam 3: NAS-pi Box

NAS-pi Box
NAS-pi Box
NAS-pi Box
NAS-pi Box
NAS-pi Box
NAS-pi Box
NAS-pi Box
NAS-pi Box

Lub thawv pib tau ua los ntawm cov duab los qhia. Qhov no txhais tau tias koj tuaj yeem ua lub thawv tawm ntawm txhua yam! Tom qab ntawm kuv qhov kev paub CAD tau txhim kho me ntsis thiab kuv tau siv Sketchup los tsim cov ntaub ntawv tsim nyog uas tau siv tom qab los txiav tawm cov duab los ntawm perspex iav. Saib Zip cov ntaub ntawv rau daim ntawv sketchup.

Kuv tau mus rau thaj chaw hackspace kom tau txais perspex txiav nrog lub tshuab txiav laser.

Kuv drilled qhov ntxiv hauv phaj pem hauv ntej los tsim kom muaj cua nkag tau zoo. Cov no yog tom qab npog los ntawm lub logo uas tau lo rau ntawm lub ntsej muag pem hauv ntej siv me me studs. Txoj kev no huab cua tuaj yeem ntws thiab qhov tsis pom.

Raspberry Pi tau teeb tsa siv 4 tus ntsia hlau - Kuv tau ua ntej qhov me me qhov hauv sab hauv - thiab tso tus kheej zawm ceev.

Kuv kuj tau ua lub qhov me me (tsis hla hla) hauv ntu sab saum toj kom haum rau lub hli 3.5 hli, tab sis Yog tias kuv tau ua nws dua - Kuv yuav tshem lub jack tag nrho. Kuv khaws Raspberry Pi ze rau saum toj li qhov ua tau, yog li yog tias koj xav tau koj tuaj yeem tsim lub qhov rau HDMI thiab suab.

Kauj Ruam 4: Sijhawm Tsim Lub Thawv

Lub Sijhawm Los Tsim Lub Thawv
Lub Sijhawm Los Tsim Lub Thawv
Lub Sijhawm Los Tsim Lub Thawv
Lub Sijhawm Los Tsim Lub Thawv

Nws yog lub sijhawm los tsim qhov zoo nkauj IKEA style enclosure.

Koj yuav xav tau:

  • acrylic kua nplaum (kwv yees li $ 3/£ 2) (tsis txhob siv superglue !! nws yuav ua rau iav puas tsuaj)
  • 3M kab xev
  • agile ntiv tes raws li qhov chaw yog tus hwm.

Pib nrog Rasberry Pi, thiab tswj cov xov hlau. Thaum ua tiav, sib sau ua ke lub cev pob txha sab hauv thiab muab tag nrho ua ke. Tom qab ntawd nws yog lub sijhawm los ntsaws cov hlua txuas rau hauv lub zog txuas thiab lo lub hub nrog 3M daim kab xev.

Siv cov kua nplaum acrylic los lo (qhib yav tas los) HDD bays rau ntawm ob sab. Xyuas kom cov bays ntsib txoj kev raug.

Thaum cov bays nyob hauv qhov chaw siv cov kua nplaum kom ruaj ntseg hauv qab. Koj tseem tuaj yeem ntxiv qee cov kua nplaum rau ntawm cov ntug ntawm ntug - tab sis nco ntsoov ntawm qhov txav chaw. Kuv tawm sab saum toj yam tsis muaj kua nplaum yog li kuv tuaj yeem nkag siab tau yooj yim.

Ua ntej koj saib xyuas rau pem hauv ntej thiab nraub qaum, txuas txhua lub xov tooj suav nrog lub hwj chim cable mus rau lub hub. Tawm lub logo ua lub hauv paus kawg.

Cov ntaub ntawv yuav yog pob zeb khov kho tsis pub dhau 24 teev

Kauj Ruam 5: OpenMediaVault - Software

OpenMediaVault - Software
OpenMediaVault - Software
OpenMediaVault - Software
OpenMediaVault - Software
OpenMediaVault - Software
OpenMediaVault - Software

Koj yuav xav tau tus tweezers tshwj tsis yog koj tau rub lub software twb tau tso rau ntawm koj li Raspberry Pi.

Raspberry Pi NAS tab tom qhib Open Media Vault software. Nws yog NAS kev ua haujlwm pub dawb. Rub tawm qhov chaw cia khoom kawg thiab teeb tsa nws ntawm koj lub rooj tsavxwm. Nrhiav Raspberry's IP thiab nkag mus rau hauv:

  • Tus neeg siv: admin, hauv paus (rau davhlau ya nyob twg)
  • Lo lus zais: openmediavaut

Kuv tau teeb tsa cov tsav ntawm kuv lub PC desktop kom nrawm dua. Teem nws txhua yam li Ext4. Thaum npaj txhij ntsaws txhua yam hauv thiab nkag mus rau lub vev xaib interface.

Kuv xav qhia kom ceev-so cov tsav ua ntej koj ua lwm yam. Txoj hauv kev no koj 100% paub tseeb tias tsav tau nkag los ntawm Raspberry Pi NAS. Kuj luam theej duab rau tsav txawm tias muaj cov tsav. Cov ntaub ntawv fstab yuav tau txais cov neeg nyob hauv txoj kev no thiab yuav cawm koj qee qhov teeb meem tom qab.

Tsim tus lej siv, teeb tus username thiab password. Koj yuav xav tau daim ntawv pov thawj no tom qab txhawm rau nkag mus rau lub network cia. Thaum qhov no ua tiav, koj yuav tsum tsim cov ntaub ntawv kaw lus. Yog tias koj xav tsim RAID muab faib, tsis txhob tsim cov ntaub ntawv kaw lus ntawm cov tsav siv rau qhov ntawd. Peb yuav ua qhov no ib zaug RAID muab faib tau tsim.

SMB - sib qhia cov ntaub ntawv Qhib tau SMB hauv cov kev pabcuam, nyem rau ntawm qhov kev xaiv sib koom thiab tsim cov khoom lag luam. Nws yog qhov tseem ceeb uas koj xaiv qhov kev tso cai qub txeeg qub teg rau ib qho ntawv tais ceev tseg uas muaj cov ntaub ntawv tshaj tawm rau Plex lossis DLNA, txwv tsis pub, Plex server yuav tsis pom cov ntawv tshiab.

Thaum koj muaj cov khoom faib, hloov kho cov neeg siv tso cai siv ACL xaiv hauv cov neeg siv/sib qhia. Txoj hauv kev no koj tuaj yeem tso cai rau cov neeg siv, pab pawg thiab lwm yam los sau/nyeem cov ntsiab lus los ntawm kev sib koom.

RAID1 - Daim iav cov ntaub ntawv Kev nrawm ntawm USB ntawm Raspberry Pi NAS tsis zoo, yuav tsis muaj qhov nce los ntawm kev tshem cov ntaub ntawv hla cov tsav, tab sis kuv tuaj yeem siv qhov zoo ntawm RAID1 teeb tsa. Kev tsom iav tau teeb tsa yog li ib daim disk tau txais kev tsom iav ntawm lwm qhov tsav, thiab tsim kom muaj kev nyab xeeb ib puag ncig. Tawm hauv cov kauj ruam no mus rau qhov kawg. Qhov no yuav siv ob peb teev nyob ntawm koj lub zog.

Thaum RAID teeb tsa tiav, koj tuaj yeem tsim cov ntaub ntawv kaw lus, thiab ntxiv cov khoom sib faib.

PLEX

Ua ntej, mus rau OMV- ntxiv thiab pab kom Plex. Thaum qhov no ua tiav, rub tawm Plex plugin los ntawm cov ntawv qhia zaub mov thiab kev teeb tsa yuav pib. Nws yuav siv sijhawm me ntsis, tom qab uas koj yuav tau txais Plex xaiv hauv kev khiav haujlwm. Nov yog qhov uas koj tuaj yeem teeb tsa koj li Plex server thiab nkag mus rau Plex interface.

Nco ntsoov tias koj muaj qee cov ntaub ntawv ntawm koj tsav (hloov nws siv SMB raws tu qauv) vim nws yuav yooj yim dua rau koj los txheeb xyuas tias koj muaj koj li Plex server ua tiav ntawm Raspberry Pi NAS.

Nkag mus rau hauv koj tus lej Plex, thiab cov tsev qiv ntawv xaiv txoj hauv kev raug thiab tom qab ob peb lub sijhawm koj yuav tsum pom Plex thiab koj cov xov xwm muaj rau streaming.

Txhawm rau kom ntseeg tau tias lub zog thauj khoom raug rau khau raj peb yuav tsum ncua lub hauv paus. Kuv siv sijhawm ntau suav tsis txheeb sim los xyuas seb vim li cas kuv RAID1 muab faib ploj mus tom qab khau raj. Hloov tawm tias cov disks tsis tig nrawm txaus ntawm khau raj rau npe. Txhawm rau kho qhov no, tshem daim npav SD tawm thiab ntxiv qhov no rau hauv cov ntawv cmdline.txt

rootdelay = 10

Pom zoo: