paint-brush
Kutheni Uhlawulela Ifu? Yakha eyakho ngeRaspberry Pi kunye neVault yeMedia evulekileyonge@cybershivank
6,804 ukufunda
6,804 ukufunda

Kutheni Uhlawulela Ifu? Yakha eyakho ngeRaspberry Pi kunye neVault yeMedia evulekileyo

nge Shivank Dan7m2025/01/21
Read on Terminal Reader

Inde kakhulu; Ukufunda

Esi sikhokelo sikuhamba ngokuguqula iRaspberry Pi yakho ibe yiseva yelifu lomntu usebenzisa i-Open Media Vault (OMV). Uya kufunda indlela yokuseta i-NAS ekhuselekileyo yokugcina, ukwabelana ngefayile, kunye nolawulo olupheleleyo kubumfihlo bakho kunye nedatha.
featured image - Kutheni Uhlawulela Ifu? Yakha eyakho ngeRaspberry Pi kunye neVault yeMedia evulekileyo
Shivank Dan HackerNoon profile picture
0-item

Ngaba unexhala malunga nokuba bucala okanye ucinga ngokusebenzisa iRaspberry Pi oyithenge kwisiqingatha seshumi leminyaka eyadlulayo kwaye usazama ukusebenzisa kwenye indawo ngokusisigxina… ukwiphepha elifanelekileyo! Guqula iRaspberry Pi yakho ibe "yeyakho iSeva yeLifu" ngaphandle kokuyekelela kwindawo yokugcina, iimpawu, ubumfihlo kunye nokwenza ngokwezifiso usebenzisa i-Open Media Vault (OMV)


Okokuqala, yintoni iNAS?

I-Network-attached storage (NAS) yinkqubo yokugcinwa kwefayile enikezelweyo edityaniswe kwinethiwekhi evumela abasebenzisi abaninzi kunye nezixhobo ukuba bafikelele, bagcine, kwaye babelane ngedatha ukusuka kwindawo ephakathi. Ingasetyenziselwa iinjongo zobuqu, zeshishini, okanye zombini.


Iimfuno zangaphambili

1)Raspberry Pi

2) ikhadi le-SD

3)PC/Mac

4) Umzila

5)Isixhobo soGcino(SSD, SD, Hard Disk, okanye Flash Drive)

6)Intambo ye-Ethernet

Ndisebenzisa iWindows… Ukuseta i-Open Media Vault/Fakelo lomfanekiso weRaspberry Pi/ukuseta i-NAS kwiFayile Explorer inokwahluka kwiMacOS kunye neLinux.


Ukubhaka iPi

1. Khuphela iRaspberry Pi Imager

  1. Vula isikhangeli sakho sewebhu kwaye uye kwiwebhusayithi esemthethweni yeRaspberry Pi

    https://www.raspberrypi.com/software/

  2. Cofa kwindawo ethi "Khuphela iWindows"


Cofa ku "Khuphela iWindows"

2. Faka iRaspberry Pi Imager

  1. Nje ukuba isifakeli sikhutshelwe, yifumane kwifolda yakho yokuKhuphela (iya kuthiywa into efana ne imager-setup.exe ).
  2. Cofa kabini ifayile ukuqhuba isifakeli.
  3. Landela imiyalelo ekwiskrini ukugqiba ukufakelo. Ngokuqhelekileyo, oku kubandakanya:
    • Ukuvumelana nemigaqo nemiqathango.
    • Ukukhetha indawo yofakelo (okanye ukusebenzisa indawo emiselweyo).
    • Cofa u-Hlola ukuqalisa inkqubo.

Qalisa uMfanekiso

Phendla kwimenyu yokuphendla yefestile yomfanekiso

Khangela kwimenyu yokukhangela umzobi ngokuchwetheza igama lakhe kwaye uyivule.

Tshisa uMfanekiso

  • Faka ikhadi le-microSD okanye i-USB drive kwikhompyuter yakho.
  • Khetha inguqulelo yeRaspberry Pi yakho.
  • Khetha inguqulelo
  • Khetha iRaspberry Pi Lite OS
  • Khetha i-lite version
  • Khetha imidiya yokugcina njengekhadi le-SD okanye i-Flash Drive apho ufuna ukwenza umfanekiso.

Lumka ukuba ungakhethi enye yee-SSD zakho okanye ii-hard drives kwikhompyuter yakho ngempazamo. Ukongezelela, ukuba isixhobo sokugcina oceba ukusisebenzisa kwiprojekthi siqulethe idatha ebalulekileyo, qiniseka ukuba uyibuyisele kwangaphambili, njengoko yonke idatha kwisixhobo iya kususwa.

  • Cofa ekubhaleni kwaye wenze kwaye uhlele useto lwendawo, igama lomsebenzisi kunye negama lokugqitha, inethiwekhi engenazingcingo, kwaye okona kubalulekileyo yi-SSH (njengoko sisiya kwi-pi engenantloko okanye ngaphandle kokusebenzisa imonitha okanye ikhibhodi)
  • Yenza i-ssh isebenze
  • Linda ngomonde de yenziwe.

Ukuseta iLifu lakho elizayo (iRaspberry Pi)

  • Thatha iRaspberry PI yakho, kwaye ubeke imidiya yokugcina (ene-os kuyo) kwindawo yazo.s
  • Qhagamshela intambo ye-ethernet kwiRaspberry Pi
  • Yivule

Nceda uqaphele phantsi idilesi ye-IP kwaye uqinisekise ukuba ikhompyuter kunye neRaspberry Pi ziqhagamshelwe kuthungelwano olufanayo.

  • Faka amandla kwiPC yakho yokukhangela i-Powershell kwaye uyivule
  • Khangela i-Powershell


  • Chwetheza le khowudi ilandelayo kwi-PowerShell

     ssh <username>@<ip>

tshintsha igama lomsebenzisi kwigama lomsebenzisi olisetayo kwimenyu yezicwangciso ngelixa ubhala umfanekiso kwaye ubhale idilesi ye-IP oyiqaphele ngaphambili


Sshing kwi raspberry pi

Ukuba ufumana into efana nale:-

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@
@ ISILUMKISO: UKUCHANISWA KOMBUNGAZI OWUDE KUTSHINTSHIWE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@
KUSENOKUSENZEKA UKUBA UMNTU WENZA INTO EBUHLUNGU!
Umntu unokukuva ngoku (uhlaselo lomntu ophakathi)!
Kwakhona kunokwenzeka ukuba isitshixo sokusingatha sisandula ukutshintshwa.
Ushicilelo lweminwe lweqhosha le-ED25519 elithunyelwe ngumamkeli okude
SHA256:yC9xSHKdd8qc98ekXQge/LTY4giXVQDui2RnytkpqBQ.
Nceda uqhagamshelane nomphathi wakho wesixokelelwano.
Yongeza iqhosha lenginginya elichanekileyo kwi-C:\\Abasebenzisi\\umsebenzisi/.ssh/known_hosts ukususa lo myalezo.
Ikhubekisa iqhosha le-ED25519 kwi-C:\\Abasebenzisi\\umsebenzisi/.ssh/known_hosts:4
Isitshixo somamkeli 192.168.xx.xx sitshintshile kwaye ucele uqwalaselo olungqongqo.
Ukuqinisekiswa kweqhosha lomamkeli akuphumelelanga.

Musa ukoyika kwaye uchwetheze oku kwiqokobhe lamandla:-

 notepad C:\Users\user\.ssh\known_hosts

kwaye ucime umgca wokuqala kwaye kwakhona uzame umyalelo


Uya kufumana imveliso efana nale: -

Isilumkiso sokongeza i-ip kwiinginginya ezaziwayo

Chwetheza ewe kwaye uqhubeke.

Ukuvumelana nesicelo kunye nokufaka igama eliyimfihlo

Faka igama lokugqithisa

imveliso

Ngoku unokulawula i-pi yakho ngaphandle kokuyichukumisa


Ngoku faka ikhowudi elandelayo kwi-prompt yokuhlaziya kunye nokuphucula inkqubo kwinguqulelo yamva nje.

 sudo apt update && sudo apt upgrade

Le nkqubo izakuthatha ixesha… ke nceda ube nomonde.t

Ngoku siza kusebenzisa i-wget ukutsala i-GitHub yokugcina i-Open Media Vault kwaye siqhube iirepos usebenzisa iBash.

 sudo wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash

Oku kungathatha nemizuzu engama-30 ukugqiba

Inxalenye yokufakela yenziwe


Ukuseta i-Open Media Vault (OMV)

I-IP yeRaspberry Pi inokutshintsha

Kuyacetyiswa ukuba uqalise kwakhona iRaspberry Pi

Emva kokuqalisa kwakhona nceda uqaphele i-IP yePi

Chwetheza i-IP yePi kwibar yokukhangela yesikhangeli sewebhu kwikhompyuter.

Vula iPhepha leMedia kwivault yokuSayina

Kwigama lomsebenzisi thayipha "admin" kunye nohlobo lwegama lokugqitha"openmediavault".

Ngoku kufuneka sifake isixhobo sokugcina (isixhobo apho zonke iifayile ziya kugcinwa) kwikhompyuter yakho

Khetha iQhuba

Lumka ukuba ungakhethi enye yee-SSD zakho okanye ii-hard drives kwikhompyuter yakho ngempazamo. Ukongezelela, ukuba isixhobo sokugcina oceba ukusisebenzisa kwiprojekthi siqulethe idatha ebalulekileyo, qiniseka ukuba uyibuyisele kwangaphambili, njengoko yonke idatha kwisixhobo iya kususwa.

Cofa ekunene kwi-drive kwaye ucofe iqhosha lokufomatha

Bhala igama ofuna ukulinika kwi-drive kwaye utshintshe inkqubo yefayile kwi-NTFS

Ifomathi

Nceda ukhethe isixokelelwano sefayile kwi-NTFS

kwaye nqakraza ekuqaleni

uya kwaziswa ngomyalezo olandelayo xa ugqityiwe

Ukufomatha kugqityiwe

ngoku buyela kwindawo yokusebenzela ye-OMV (elo phepha ulivulayo kwi-chrome) kwaye ufake i-drive oyifomatileyo kwi-pi.

faka i-Drive (usebenzisa i-flash drive)

Vula ibhodi yedeshi

Ngoku yiya kwiqhosha leseto lomsebenzisi kwaye ukhethe Guqula igama lokugqitha Cofa kwindawo yokutshintsha

Bhala

L O A D I N G
. . . comments & more!

About Author

Shivank Dan HackerNoon profile picture
Shivank Dan@cybershivank
Student, Learner, Experimenter and Enthusiast about IoT and Raspberry Pi projects. Loves to build and pilot drones.

ZIJONGE IIMPAWU

ELI NQAKU LINIKEZELWE KU...