How to Install the Operating System FreeNAS

Introduction

FreeNAS (now rebranded as TrueNAS Core) is a powerful, open-source
network–attached storage (NAS) OS built on FreeBSD. Despite the common “Linux or bust” mindset,
your files crave the rock-solid reliability of ZFS on FreeBSD—plus a snazzy web interface.
Buckle up: this is your very detailed, slightly humorous guide to turning
an old PC (or brand-new server) into a file-serving powerhouse.

1. What You’ll Need

Hardware

Component Minimum Recommended
CPU 64-bit x86 (Intel/AMD) Multi-core 64-bit with AES-NI
RAM 8 GB 16 GB (ZFS loves memory)
Storage 8 GB USB or SSD (boot) 120 GB SSD for OS
Data Disks At least 2× HDDs/SSDs 4× (RAIDZ or mirror)
Network 1 GbE NIC 10 GbE for high throughput

Software Tools

2. Downloading the FreeNAS ISO

  1. Visit the official download page:
    TrueNAS Core Downloads.
  2. Select the latest stable “ISO” build. Don’t pick betas unless you like living dangerously.
  3. Verify the checksum (SHA256) on your existing system:
    sha256sum FreeNAS-13.x.iso

    Confirm it matches the website’s published value.

3. Preparing Bootable Media

  1. Insert your USB stick (8 GB ).
  2. Open Rufus (Windows) or balenaEtcher (macOS/Linux).
  3. Select the downloaded ISO, choose the USB drive, then click “Start.”
  4. When prompted, accept any warning about data destruction—your USB stick signed up for this.

4. BIOS/UEFI Setup

  • Reboot your target machine and enter BIOS/UEFI (commonly F2, Del or Esc).
  • Disable Secure Boot (FreeBSD doesn’t hold hands with Secure Boot).
  • Set USB drive as first boot device.
  • Enable AHCI mode for SATA controllers (no IDE emulation, please).

5. Installing FreeNAS

  1. Boot from USB—you’ll see the FreeNAS installer menu.
  2. Select Install/Upgrade and press Enter.
  3. Choose your target boot device (the SSD/USB you’ll dedicate to the OS).
  4. Confirm wiping—these precious bits will be formatted.
  5. Set a root (administrator) password pick something strong but memorable.
  6. When installation completes, remove the USB and reboot into your new FreeNAS system.

6. Initial Network Configuration

  1. At the console menu, choose Configure Network Interfaces.
  2. Assign a static IP (e.g., 192.168.1.100) or enable DHCP.
  3. Set gateway and DNS servers if using static IP.
  4. Reboot if prompted.

Now point a browser on another machine to
http://your-FreeNAS-IP. You should see the sleek FreeNAS web GUI.

7. Storage Pool Dataset Creation

ZFS is the star here. It offers snapshots, checksums, compression, and more.

  1. Go to Storage gt Pools gt Add.
  2. Select Create new pool, give it a name (e.g., “tank”).
  3. Pick your data disks. Combine them in a mirror or RAIDZ for redundancy.
  4. Enable compression (lz4) and at your discretion, encryption.
  5. Click Add and then Confirm. ZFS will resilver to glory.

8. Sharing Your Files (SMB, NFS, iSCSI)

SMB (Windows/CIFS)

  1. Services gt SMB gt Enable.
  2. Sharing gt Windows (SMB) Shares gt Add.
  3. Select path (e.g., /mnt/tank/shared), name your share (e.g., “Media”).
  4. Set permissions: guest ok? read-only? your call.
  5. Save amp Start SMB service. Browse from Windows with FreeNAS-IPMedia.

NFS (Unix/Linux)

  1. Services gt NFS gt Enable.
  2. Sharing gt UNIX (NFS) Shares gt Add.
  3. Define path, authorized networks (e.g., 192.168.1.0/24).
  4. Save amp Start NFS. Mount on Linux:
    mount -t nfs 192.168.1.100:/mnt/tank/shared /mnt/share

9. Users Permissions

  • Accounts gt Users: Create local users or sync with LDAP/AD.
  • Accounts gt Groups: Group up users for easy share permissioning.
  • Storage gt Pools gt your pool gt Permissions: assign user/group read/write.

10. Snapshots Replication

ZFS snapshots are your time machine. They’re instant and space-efficient.

  1. Tasks gt Snapshots gt Add.
  2. Choose dataset, schedule (e.g., hourly, daily).
  3. Enable and let ZFS capture your data in time.
  4. For offsite safety, set up Replication Tasks to another FreeNAS/TrueNAS box.

11. Plugins Jails (Optional)

If you need Plex, Nextcloud, or other services, dive into:

  1. Plugins gt Available: pick your app (e.g., plexmediaserver).
  2. Install into a jail configure networking (bridge or host). Let it run wild!

12. Maintenance Tips

  • Keep it updated: System gt Update gt Check for updates weekly.
  • Monitor health: Storage gt Reports (SMART, ZFS usage).
  • Back up configuration: System gt General gt Save Config.
  • Security: Change default SSH port, disable root login over SSH.

Conclusion

Congratulations, you’ve transformed mere hardware into a robust, ZFS-powered NAS that can
stand toe-to-toe with expensive enterprise solutions. Revel in your newfound storage
mastery—and remember: with great redundancy comes great responsibility (and plenty of
snapshots).

Enjoy your FreeNAS adventure! And may your scrubbing cycles always finish without errors.

Official Website of FreeNAS

Download TXT




Leave a Reply

Your email address will not be published. Required fields are marked *