How to install FreeNAS 10 “Corral” in 5 easy steps
FreeNAS Corral has been released just a week ago, yet it has already reached its fans’ hearts thanks to its sleek interface and its new features. Today we’ll look at how to install it in 5 easy steps.
About FreeNAS Corral
Corral is (as of the moment I’m writing this article) the latest release of FreeNAS, based on FreeBSD 11. It brings many improvements and above all, a new sleek, polished and asynchronous web User Interface. In the case you missed what’s new, here you can take a look at the new features.
About this guide
You should use ECC memory; using non-ECC memory is a potential threat to your data and should be avoided. FreeNAS Corral has a suggested minimum 8GB of memory. From my tests, unlike FreeNAS 9, attempting to use 4GB will heavily affect performance and should be avoided.
In order to install Corral successfully you will need:
- A machine with a 64-bit processor.
- At least 8GB of RAM (ECC is preferred although not strictly required).
- A boot medium (CD/DVD, USB, whatever).
- If you plan to install FreeNAS on a USB pendrive you can’t use that same drive to boot from (you will need two USB drives).
Installing FreeNAS Corral
1) PreparationsThe first thing you have to do to proceed with the installation of FreeNAS Corral is to boot it from a support (CD/DVD and USB Pendrives are today the best options).
Once you have your support, reboot the machine, select an option like “boot options” or “boot priority list” and select your support, in this way you should see this screen. Press enter and then enter a second time.
2) Install menuIf everything went correctly, you should see this screen which is quite self-explanatory. Just select option 1 and press enter.
3) Selecting install destination
In this step you will get a list of the possible destinations for your FreeNAS Corral installation. The most common destination is a USB device (you can also select a disk, however FreeNAS won't allow you to use that same disk as storage). If you want to install FreeNAS on USB search for entries starting with da, if you want to install on a disk search for entries starting with ad. Check your selection twice: the installation will completely erase the destination. When you're ready click enter and confirm.
4) Root password
You will be prompted to select a root password (that you will use during the initial setup). It is suggested to pick a strong password since the root user can do anything to your machine and if someone were to guess that password you would be in danger.
5) Boot mode
In this step you have to decide how FreeNAS will be booted from the destination you are installing it onto. If you're running on a machine which only uses UEFI you will of course select UEFI. Other systems may allow turning off UEFI boot (also called legacy mode by some vendors), in that case the choice of whether to use UEFI or BIOS is up to you, if you choose to use Legacy, remember to disable the UEFI mode in your UEFI.
6) Installation successful
If everything went smoothly you will now see this screen. Do as you are told: press ok to return to the menu, then issue a shutdown by selecting the appropriate option, after that remove the installation media (not the one you installed FreeNAS onto if you used a USB pendrive). Then power up your machine (you should also configure the BIOS/UEFI settings to make your computer boot from the destination of your installation by default). At this point the installation is over.
7) Boot environments
From here you will be able to select the different boot environments. At the first boot you will have only one, but they will start growing as time passes and updates are released. Selecting one will prompt you to select one mode, the default one is fine. Keep in mind that the first time you boot a new FreeNAS installation it can take quite some time (even 10-20 minutes).
This screen means that you installed and booted FreeNAS Corral correctly. This CLI is a new feature and replaces the old (nifty) menu. From here you can modify system settings, they can also be modified through the web UI that can be accessed through another computer by going to the provided address (in my case: 10.0.2.15).
9) Configuring network
A thing you might want to do before accessing the web interface is to configure the network interfaces. It is wise to set a static IP and disable DHCP in order to keep your server in a known position (address-wise). To do so you just have to issue two commands:
# network interface em0 set dhcp=false # network interface em0 alias create address=YOURADDRESS netmask=YOURNETMASKOf course you should replace em0 with the actual interface you want to configure (it might be different for you), and you should replace YOURADDRESS and YOURNETMASK with the actual values you desire.
You now know what the basic requirements for a Corral installations are. The process itself isn’t that difficult and resembles the FreeNAS 9 installation, although the part regarding configuring the network is completely different because of the new CLI.