Nainštalujte a nakonfigurujte FreeNAS
FreeNAS je komplexný a bezplatný operačný systém NAS. Tento praktický tip vysvetľujeme, ako ho nainštalovať a nakonfigurovať.
Čo potrebujete pre inštaláciu FreeNAS
Skôr ako začnete, mali by ste skontrolovať, či máte všetky potrebné veci pripravené na inštaláciu. Potrebujete:
- Počítač s jedným alebo viacerými pevnými diskami
- USB kľúč s najmenej 2 GB úložnej kapacity alebo alternatívne malý disk SSD
- Prázdne CD na inštaláciu
- Správna verzia FreeNAS (32 alebo 64-bitová verzia).
32 alebo 64 bit: Vyberte správnu verziu systému FreeNAS
FreeNAS je k dispozícii v 32-bitovej a 64-bitovej verzii. Stiahnite si systém ako súbor ISO, aby ste ho mohli neskôr napáliť na CD:
- 64-bitovú verziu si môžete vybrať, ak ju váš procesor podporuje. Z toho budete mať úžitok, iba ak máte v počítači viac ako 4 GB pamäte RAM.
- Ak používate starší počítač s nainštalovaným procesorom Celeron alebo Sempron, určite by ste mali používať 32-bitovú verziu systému FreeNAS.
- Na webovej stránke výrobcu nájdete aj ďalšie verzie beta. Nemali by ste ich však používať, pretože často existujú nezrovnalosti.
Pripravuje sa inštalácia systému FreeNAS
Skôr ako začnete, vykonajte niekoľko posledných krokov:
- Napaľujte stiahnutú ISO na CD pomocou napaľovacieho softvéru. Ako napáliť ISO na Mac je možné prečítať v inom praktickom tipe. Používatelia Windows môžu na vypálenie ISO použiť zdarma CDBurnerXP.
- Vložte USB kľúč do budúceho počítača FreeNAS. Používa sa ako bootovacie médium pre operačný systém. FreeNAS potrebuje kompletný pevný disk (alebo USB kľúč) pre seba.
- Ak namiesto jednotky USB používate disk SSD, pred inštaláciou ho tiež pripojte k počítaču.
FreeNAS: Inštalácia
Aj keď môžete FreeNAS nakonfigurovať oveľa neskôr prostredníctvom webového rozhrania, inštalácia sa najskôr uskutoční v počítači. Mali by ste teda pripojiť monitor a klávesnicu; Ak všetko pôjde dobre, môžete ho odstrániť neskôr.
- Spustite počítač a pomocou správneho kľúča otvorte ponuku bootovania systému BIOS. Pre niektoré čipy systému BIOS je to kláves F11. Ak skratka nefunguje, zmeňte poradie zavádzania v systéme BIOS. Pretože inštalujete FreeNAS z disku CD, musíte najskôr určiť optickú jednotku.
- Teraz vložte CD a potvrďte proces bootovania. Inštalátor FreeNAS sa spustí automaticky a po chvíli vám zobrazí jednoduchú textovú ponuku. Vyberte číslo 9 „Inštalácia / Aktualizácia“ a potvrďte tlačidlom [Enter].
- V nasledujúcom okne inštalátor požiada o vaše inštalačné médium. V každom prípade teraz vyberte disk USB alebo SSD. Upozorňujeme, že FreeNAS vymaže všetky údaje z tohto média! Potvrďte dialógové okno „Áno“.
- Počkajte na inštaláciu a potom vyberte možnosť „Reštartovať“. Pripravte sa na stlačenie tlačidla ponuky BIOS. Na tomto mieste umiestnite disk USB (alebo SSD) ako prvé bootovacie médium. Odtiaľ môžete začať FreeNAS.
Konfigurovať FreeNAS: správne sieťové nastavenia
Po inštalácii sa dostanete do textovej ponuky, v ktorej môžete vykonať nastavenia siete. FreeNAS by vám teraz mal ukázať vašu IP adresu: "Do webového používateľského rozhrania môžete vyskúšať nasledujúce adresy URL:". Ak sa vaša adresa IP nezobrazuje, postupujte takto:
- Najprv skontrolujte sieťové pripojenie a kliknite na možnosť 1 „Konfigurovať sieťové rozhranie“. Potom vyberte sieťovú kartu (napríklad „em0“) a potvrďte konfiguráciu pomocou [Enter].
- Zadajte, či má NAS získať adresu zo servera DHCP alebo nie. Ak nie, v príslušnom kroku vyberte „Nie“. Teraz priraďte vo svojej sieti adresu IPv4 a ponechajte „IPv6“ mimo. Nemusíte tiež prideľovať meno.
- Reštartujte NAS, zapíšte si IP a prepnite na iný počítač v rovnakej sieti. Spustite tam prehliadač a zadajte IP vášho NAS. Týmto sa dostanete na konfiguračnú stránku. Inštalácia je teraz dokončená.
Posledné kroky: Konfigurácia FreeNAS
Teraz je to skoro tam. Ak chcete dokončiť nastavenie servera NAS, vytvorte si účet a sieťovú jednotku:
- Prvé prihlásenie. Štandardný užívateľ je „admin“ a heslo „freenas“.
- Zmeňte svoje heslo kvôli bezpečnosti. Ak to chcete urobiť, kliknite na položku „Účet“ vľavo, vyhľadajte „Účet správcu“ a vyberte „Zmeniť administrátora“. Najlepšie je zadať nové užívateľské meno a iné heslo, aby sa cudzinci nemohli prihlásiť do vášho servera NAS.
- V ľavej časti panela nájdete aj ponuku „Ukladací priestor“. Potom v pravom okne vyberte možnosť „Vytvoriť zväzok“.
- Vo FreeNAS sa „zväzok“ skladá z jedného alebo viacerých pevných diskov. Teraz môžete vybrať toľko pevných diskov alebo „členských diskov“, koľko chcete použiť pre server. Najlepšie je zvoliť súborový systém „ZFS“.
- Ak ste nainštalovali niekoľko pevných diskov, teraz určte, ako by sa úložný priestor mal používať. „Prúžok“ spája niekoľko pevných diskov s väčším diskom, „zrkadlo“ odráža údaje niekoľkých diskov a „RAID“ tvorí pole RAID. Ak si nie ste istí, jednoducho vyberte možnosť Prúžok.
- Kliknutím na položku „Pridať zväzok“ naformátujte svoje pevné disky pomocou „ZFS“. Všetky predchádzajúce údaje sa stratia.
- Po dokončení formátovania môžete v NAS nastaviť nové priečinky a zdieľať ich v sieti. Ak to chcete urobiť, kliknite na odkaz „Zdieľanie“ na paneli s ponukou vľavo. V časti Zdieľané položky systému Windows (CIFS) vyberte možnosť Pridať zdieľané súčasti systému Windows (CIFS). Pomenujte zdieľaný priečinok a začiarknite políčka „Prehliadať pre sieťových klientov“ a „Povoliť prístup pre hostí“. Môžete tak zdieľať priečinok bez používateľského účtu.
- Ak chcete zdieľať niektoré priečinky iba s určitými používateľmi, môžete vytvoriť nových používateľov v položkách „Účet“> „Používatelia“> „Pridať používateľa“. V časti Zdieľanie potom používateľom pridelíte práva.
Teraz ste nainštalovali a nakonfigurovali FreeNAS. Teraz môžete nové sieťové úložisko v systéme Windows pripojiť ako sieťovú jednotku.