Instalirajte i konfigurirajte FreeNAS
FreeNAS je sveobuhvatan i besplatan NAS operativni sustav. U ovom praktičnom savjetu objašnjavamo kako ga instalirati i konfigurirati.
Što vam treba za instalaciju FreeNAS-a
Prije nego što započnete, provjerite imate li sve potrebne stvari za instalaciju. Trebate:
- Računalo s jednim ili više tvrdih diskova
- USB stick s najmanje 2 GB prostora za pohranu ili malo SSD-a
- Prazan CD za instalaciju
- Prava verzija FreeNAS-a (32 ili 64-bitna).
32 ili 64 bitna: odaberite ispravnu verziju FreeNAS-a
FreeNAS je dostupan u 32-bitnoj i 64-bitnoj verziji. Preuzmite sustav u obliku ISO datoteke kako biste ga kasnije mogli snimiti na CD:
- Možete odabrati 64-bitnu verziju ako vaš procesor to podržava. Od toga imate koristi samo ako na računalu imate više od 4 GB RAM-a.
- Ako koristite starije računalo na kojem je instaliran Celeron ili Sempron procesor, svakako biste trebali koristiti 32-bitnu verziju FreeNAS-a.
- Na web-mjestu proizvođača možete pronaći i druge beta verzije. Međutim, ne biste ih trebali koristiti, jer često postoje nedosljednosti.
Priprema za instaliranje FreeNAS-a
Prije početka, nekoliko završnih koraka:
- Snimite preuzeti ISO na CD pomoću softvera za snimanje. Kako izgorjeti ISO na Macu možete pročitati u drugom praktičnom savjetu. Korisnici sustava Windows mogu koristiti besplatni CDBurnerXP za snimanje ISO-a.
- Umetnite USB stick u buduće FreeNAS računalo. Koristi se kao medij za pokretanje operativnog sustava. FreeNAS za sebe treba kompletan tvrdi disk (ili USB stick).
- Ako umjesto SSD kartice upotrebljavate SSD, montirajte ga i na računalo prije instalacije.
FreeNAS: Instalacija
Čak i ako FreeNAS možete konfigurirati znatno kasnije putem web sučelja, instalacija će se najprije odvijati na računalu. Dakle, trebali ste povezati monitor i tipkovnicu; ako sve pođe dobro, možete ga ukloniti kasnije.
- Pokrenite računalo i pomoću ispravne tipke otvorite izbornik za pokretanje vašeg BIOS-a. Za neke BIOS-ove čipove ovo je tipka F11. Ako prečac ne radi, promijenite redoslijed pokretanja u BIOS-u. Budući da instalirate FreeNAS s CD-a, prvo morate navesti svoj optički pogon.
- Sada umetnite svoj CD i potvrdite postupak dizanja. Instalacijski program FreeNAS pokreće se automatski i prikazuje vam jednostavan tekstualni izbornik nakon nekog vremena. Odaberite broj 9 "Instalacija / nadogradnja" i potvrdite tipkom [Enter].
- U sljedećem prozoru instalacijski program traži vaš instalacijski medij. U svakom slučaju, sada odaberite svoj USB stick ili SSD. Imajte na umu da FreeNAS briše sve podatke s ovog medija! Potvrdite dijaloški okvir s "Da".
- Pričekajte instalaciju, a zatim odaberite opciju "Ponovno pokretanje". Pripremite se da pritisnete gumb izbornika BIOS. Postavite svoj USB stick (ili SSD) kao prvi medij za pokretanje. Odatle možete pokrenuti FreeNAS.
Konfigurirajte FreeNAS: ispravne mrežne postavke
Nakon instalacije stižete do tekstnog izbornika u kojem možete izvršiti mrežne postavke. FreeNAS bi vam sada trebao pokazati vaš IP na "Možete isprobati sljedeće URL-ove za pristup web korisničkom sučelju:". Ako vaša IP adresa nije prikazana, postupite na sljedeći način:
- Prvo provjerite mrežnu vezu i kliknite na opciju 1 "Konfiguriranje mrežnog sučelja". Zatim odaberite mrežnu karticu (poput "em0") i potvrdite konfiguraciju s [Enter].
- Navedite treba li NAS dobiti adresu s DHCP poslužitelja ili ne. Ako ne, odaberite "Ne" u odgovarajućem koraku. Sada dodijelite IPv4 adresu u vašoj mreži i ostavite "IPv6" vani. Također ne morate dodijeliti ime.
- Ponovno pokrenite NAS, zapišite IP i prebacite se na drugo računalo na istoj mreži. Tamo pokrenite svoj preglednik i unesite IP adresu NAS-a. Ovo će vas odvesti na stranicu s konfiguracijom. Instalacija je sada gotova.
Posljednji koraci: Konfiguriranje FreeNAS-a
Sada je gotovo tu. Postavite račun i mrežni pogon da biste dovršili postavljanje vašeg NAS-a:
- Prvo se prijavite. Standardni korisnik je "admin", a lozinka "freenas".
- Promijenite zaporku zbog sigurnosti. Da biste to učinili, kliknite na stavku "Račun" s lijeve strane, potražite "Admin račun" i odaberite "Promijeni korisnika administratora". Najbolje je unijeti novo korisničko ime i drugu lozinku kako se stranci ne bi mogli prijaviti u vaš NAS.
- S lijeve strane trake naći ćete i izbornik "Skladištenje". Zatim odaberite opciju "Stvori volumen" u desnom prozoru.
- U FreeNAS-u se "glasnoća" sastoji od jednog ili više tvrdih diskova. Sada možete odabrati onoliko tvrdih diskova ili "članova diskova" koliko želite koristiti za poslužitelj. Najbolje je odabrati "ZFS" kao datotečni sustav.
- Ako ste instalirali nekoliko tvrdih diskova, sada odredite kako se pohrana treba koristiti. "Stripe" povezuje nekoliko tvrdih diskova na veći pogon, "Mirror" zrcali podatke nekoliko diskova, a "RAID" formira RAID polje. Ako niste sigurni, jednostavno odaberite "Stripe".
- Kliknite "Dodaj volumen" da biste tvrde diskove formatirali s "ZFS". Svi prethodni podaci bit će izgubljeni.
- Kad je formatiranje završeno, možete postaviti nove mape na svoj NAS i dijeliti ih s mrežom. Da biste to učinili, kliknite "Dijeljenje" na traci izbornika na lijevoj strani. U odjeljku "Dijeljenja Windows (CIFS)" odaberite "Dodaj Windows (CIFS) Podijeli". Dodijelite naziv zajedničkoj mapi i potvrdite "Pregledava mrežnim klijentima" i "Dopusti gostovanju". Tako možete mapu dijeliti bez korisničkog računa.
- Ako želite dijeliti neke mape samo s određenim korisnicima, možete stvoriti nove korisnike u odjeljku "Račun"> "Korisnici"> "Dodaj korisnika". Zatim dodijelite prava za korisnike pod "Dijeljenje".
Sada ste instalirali i konfigurirali FreeNAS. Sada možete povezati novu mrežnu pohranu u sustavu Windows poput mrežnog pogona.