Installation and configuration of a TrueNAS CORE server - Starline Computer: Storage und Server Lösungen von erfahrenen Experten

Installation and configuration of a TrueNAS CORE Server

Step-by-step guide

Zealbox Mini-Tower

System requirements

  • You need a 64-bit system that is used exclusively for TrueNAS CORE. (TrueNAS is not dual-boot capable!)
  • From 8 GB RAM - more memory is required for plugins or virtual machines.
  • The boot drive (SSD or HDD, USB sticks are unsuitable) should have at least 16 GB storage capacity. 32 GB offers enough reserves for updates.
  • A single drive (SSD or HDD) is sufficient for storage. However, it is advisable to integrate several storage media with the same capacity so that the data can be stored redundantly. Note: You should not use hard drives with SMR (Shingled Magnetic Recording) technology for ZFS.
  • You must have an Ethernet port to connect your system to the network. TrueNAS does not support wireless connections.
  • You will need a blank DVD or a USB stick (larger than 1GB) as installation medium.
  • A monitor and keyboard are required for setup.
TrueNAS CORE Logo

Preparatory steps for installing TrueNAS CORE

  1. Set the boot mode in the BIOS to UEFI.
  2. Create a bootable USB stick with the current version of TrueNAS CORE.

Start installation

Boot into the TrueNAS CORE setup

1. to do this, press the F11 key to access the boot menu when starting the PC (please refer to your mainboard manual for different key assignments) and select the USB stick. The installation will now start automatically.

2. The Console Setup now appears. Select Install/Upgrade 

Installation_1_Setup_Console

3. Now select the target drive for the OS using the space bar. If there is more than one medium for the OS, you can select both with the space bar. The system then automatically creates a software mirror of the selected media.

Installation_2_Auswahl_medium

4. You will be informed that all data on the data carrier will be deleted during formatting. Select "Yes" to continue.

Installation_3_Formatierung

5. You will now be asked to enter a root password. Repeat the entry (Confirm Password) and continue with Enter.

Installation_4_Passwort_setzen

6. Now select the boot mode: Confirm "Boot via UEFI" with Enter. 

Installation_5_Boot_Modus

7. In the following screen, TrueNAS asks for the 16 GB swap partition.  Confirm "Create Swap" and continue with Enter.

Installation_6_Create_Swap

8. TrueNAS CORE will now install itself on your system. To restart the system, go to the Console Setup again and select "Reboot System". Please do not remove the USB stick until the server restarts.

Installation_7_Inst_fertig

Initial configuration

The TrueNAS CORE operating system should now boot and look like this. Remember that you should have plugged in a network cable by now at the latest so that your system receives an IP address. See below: "The Web user interface is at"

You can now log in to the TrueNAS Web GUI via browser using the IP address specified there. (However, you must be in the same network for this to work).

Nach_Installation_Hochgefahren

Open TrueNAS GUI

After entering the IP address in the browser line, you will be given access to the GUI.

There you must enter the login data (user name root and password) that you assigned in the previous installation (step 5 above).

Nach_Installation1_Web_Gui

Language and time zone

As soon as you log in to the TrueNAS GUI, you can set the language and time zone under "System > General". 

Add user

Add a new user under "Accounts > Users > Add". The full name and user name must be entered. You need the user name for the login (SMB). Also set a password.

The "Primary Group" box remains ticked. TrueNAS automatically creates a group with the name of the user. The username and password here are therefore: Test / Test

Test_3_User_name_test

Create pool

Go to "Storage > Pools > ADD":

Pool_anlegen_add_Pool

1. define a pool name ( Pool0 )

Pool_anlegen_1_create_new

2. Select the hard drives to be included in the pool. 

Pool_anlegen_2_Name_pool

3. Add them to Data VDevs.

 

Pool_anlegen_3_RaidZ_auswahl

4. Select the software RAID level and confirm by clicking on "Create".

You will now be asked once again whether you want to create the pool. Tick the "Confirm" box and confirm the creation with "Create Pool".

Pool_anlegen_4_Confirm_create_Pool

Create share

Under "Sharing > Windows (SMB) Shares > Add", specify the path of the pool on which the share is to be created. You also assign the name for the respective share there. Confirm the process with "Save".

TrueNAS then asks whether the SMB service should be activated. Confirm here as well.

 

SMB_Share

Configure Access Control List (ACL)

After you have created the SMB share, a window opens in which you must configure the ACL (Create ACL--> Configure NOW)

SMB_ACL_Configure

Select preset ACL --> OPEN

ACL_Preset_Open

In the ACL settings, assign the created dataset as PATH. Use your created entries (here: test) as User and Group.

Finally, tick the Apply box and confirm with SAVE.

ACL_User_group_

Configuring network interfaces

Add network interfaces under "Network > Interfaces > Add".

1. select your corresponding network interface card (NIC).  Please note that the first NIC that has/should receive its address from the DHCP server must always be configured first. Otherwise, no connection to the GUI would be possible until a NIC has been configured from the console.
 

Netzwerkeinstellungen_zum_Testen_Interfaces_IP

2. now select Configure IX1.

3. now assign a static IP address if required, e.g. (192.168.0.220) and deactivate the DHCP checkbox. Save the setting with "APPLY".

4. if the interface is online, it is labelled as UP under LINK STATE.

 

Interface_Edit_Ip_adress

Access to the share

To be able to access the created share, you must add it as a network drive under Windows and log in with the username/password of the created user.

However, you must first assign the same IP to the interface of the test server or the built-in test card. You will find this setting under Network/Adapter properties IP4.

Fn-7-connect

If everything has been configured correctly, you can now find your TrueNAS CORE system as a network drive in your local network.

Would you like to buy a preconfigured server?

Here we have sample offers for you.

Still have questions?

starline_logo_kontur_300
Enterprise Storage Solutions Team
Technik

Our experts are of course also experts in Linux, Ceph and ZFS