Manual Installation FreeNAS/en

Aus EUserv Wiki

Wechseln zu: Navigation, Suche

Installation and configuration of FreeNAS

Inhaltsverzeichnis

Installation and configuration of FreeNAS

General

FreeNAS is a free operation system for Network Attached Storage. It runs on x86-compatible platforms and is based on FreeBSD.
The latest version FreeNAS 8.x is a minimal version of FreeBSD 8.2 and requires about 64 MB free memory. FreeNAS is bootable from a compact flash card, USB stick or hard drive.
The management over the network is handled through a comfortable web interface.

Installation

FreeNAS can be downloaded as an image from sourceforge.net and mounted. The start screen of FreeNAS provides different options for the starting. Boot FreeNAS [default] is the default starting.

The installation wizard helps you with the instalation of the operation system.
Confirm with Ok.

Choose the volume on which you want to install FreeNAS.
Confirm with Ok.

The installation can be started. FreeNas will be installed on the selected volume.
Confrim with Yes.

A reboot of the operation system is required.
Choose Reboot System and confrim with Ok.

First configuration

To achieve FreeNAS, you should give the system a network address, if no address has been assigned through DHCP.
If an url has been assigned, you find this under the line:
You may try the following URLs to access the web user interface:

Now you can call over your assigned ip address the web interface with you browser.

Please change immediately your password. The alert light flashes red and refers you to set a password. You can do this over Account → Change Password.

Green light! The password has been successfully changed. Now the alert flashes green.

Functions


Add mass storages

To add mass storages is very comfortable with FreeNAS: Simply click on Storage and then on Create Volume. If the system identifies other volumes except the installation volume, they will be shown here.

By selection of more than one volume, the system offers to set up a RAID. Here a new volume would be mounted under /mnt/<volume> and can be immediately used. If two volumes were mounted, a mirror and a stripe will be created.

The raid has been created. The creating of a raid is to be done in less than two minutes.

If you create a ZFS-Volume, you can create timed snapshots of the volume.

Services, users, groups and sharing

Under the function Services --> Services you can define, which services the system should provides for you. All services are deactivated by default. If you click on the switch these can be activated. The available services are AFP, Active Directory, CIFS, DNS, FTP, LDAP, NFS, SNMP, TFTP und iSCSI.

You can define different users and groups. Under Account --> Users/Groups you can define access rights.

Under the function Sharing you can find three areas: Apple, UNIX and Windows. It is clear which shares have which effect.

System and reportings

Under the function System you can find useful information about the utilization of the NAS. Over System --> Reporting administrators can also send reports by mail.

You also have the possibility to save the configuration of the system. Through Rsync this is a practical issue if FreeNAS hast to be reinstalled or moved. You can comfortably install the old settings later. Under Rsync Tasks --> Add Rsync Task you can create a new Rsync task.

Under S.M.A.R.T. Tests you can check your hard drives on errors. This service has to be activated. Under S.M.A.R.T. Tests --> Add S.M.A.R.T. Test you can create a new S.M.A.R.T. test.

Dynamic DNS

To use your dynamic dns domain in FreeNAS you have to activate the service Dynamic DNS first. The function Dynamic DNS is based on INADYN.
First you have to make some settings. Click on the settings symbol right next to the switch.

Leave the field Provider blank and specify the custom provider in the Auxiliary parameters field.
Under Domain enter your fully qualified domain name.
Under Username and Password enter the username and password to logon to the provider and update the record.
In the field Update Period enter a value (in seconds) how often the IP changes.
In the field Forced update period enter the value (in seconds). It issues a DDNS update request even when the address has not changed, so that the service provider knows that the account is still active.
In the field Auxiliary parameters enter the additional parameters. Here you can define the DNS server and the authhash.(see create a dynamic DNS).
Click on Ok.

A confirmation field Dynamic DNS was successfully updated pops up. Now your Dynamic DNS settings has been accepted. Click on the switch to activate the service.

Now FreeNAS web interface is reachable under the defined Dynamic DNS domain.