Setting up a TrueNAS Server

Step-by-step guide for configuring storage, shares, and connectivity

  • 1

    Download and Install TrueNAS SCALE

    Download the ISO from this link and start the virtual machine with 8GB of RAM and 4 CPU cores. Add a 32GB hard drive for the operating system and another 400GB drive for storage.
  • 2

    System Restart and Web Access

    Restart the system and once it completes the boot process, access the web interface using the IP address displayed on the console. Log in with the username truenas_admin.
  • 3

    Prepare the Storage

    Wipe and format the hard drive, then create a storage pool.

  • 4

    Create Datasets

    Add datasets within the pool to organize your data efficiently.

  • 5

    Add a User

    Create a user account to manage access permissions for the shares.

  • 6

    Configure SMB Share

    Navigate to the Shares section and set up a new SMB share.

    • 6.1

      Advanced Options

      Configure authentication, permissions, and network settings to secure the share.

  • 7

    Mount on Linux

    Use your msmb script to execute commands and mount the SMB share on your Linux system.
  • 8

    Connect via macOS

    Optionally, access the SMB share from a macOS device.
  • 9

    Verify Connectivity

    Test access from all devices to ensure that the setup is working properly.
  • 10

    Integrate with UniFi Protect

    To add the NAS to UniFi, go to Protect, navigate to the Storage section, and add a Linked account NAS.
  • 11

    Configure Storage Share

    After entering your server credentials, choose the specific share you created where you want to store the data.
    Ready!