Build my own home server for a large amount of multi-media data

Why I need a so called network attached storage(NAS) server at home? 
- Automatic backup of smartphone data
- Manage and share my data on the internet
- Streaming videos that I saved
- Download and manage Torrents on your smartphone
- Hosting a personal blog
- SSL applied for security

I will need…
- Internet service
- a WiFi router
- A typical computer or a laptop, I use a MacBook Pro(2013).
- ODROID-HC1 and its power supply
- MicroSD card : for operating system
- LAN cable : connect between WiFi router and ODROID-HC1
- Hard Disk Drive (2.5inch) : for my multimedia data

And I need a little bit of understanding on the operating system, openmediavault(OMV), which will allow everyone “to install and administrate a Network Attached Storage without deeper knowledge” — per their website.

Step 1:

I need to download the openmediavault(OMV) for ODROID-HC1 to my MacBook. The file name is OMV_3_0_85_Odroidxu4_4.9.37.7z as of today, 8th of August, 2017. It seems to be updated often. Must read the readme.txt, or at least get username and password. 
web interface:
- username = admin
- password = openmediavault 
console/ssh: 
- username = root
- password (3.0.75+) = openmediavault

On my MacBook, check the downloaded file. 
Finder>Downloads>OMV_3_0_85_Odroidxu4_4.9.37.7z

Step 2 :

I have one 8GB MicroSD Card for Openmediavault(OMV) installation. Plugged it to my MacBook.

Open Ether to flash the OS.

Tip, Ether V1.1.2 does not allow me to select a .7z file so I need to unzip the downloaded file first. The unzipped file name turned out to be something different so I was confused. This is the file name that you need.

OS installation is completed.

Step 3: General configuration

On your ODROID-HC1, insert the Openmediavault(OMV) installed microSD card. 
Slide and insert the hard disk drive to the SATA connector.
Connect the LAN cable from the WiFi router to HC1. 
Plug the power supply to turn it on. It takes ~10minutes for the first booting and ~1minute from the 2nd.
With another LAN cable, connect my MacBook to the same WiFi router which is connected to the HC1.

Download and install Angry IP Scanner and scan the IP addresses of connected devices on my MacBook. The Hostname is shown as odroidxu4.local since I am using the OMV OS for XU4. I can use any OS for HC1 available for XU4.

Open a browser and enter the ODROID-HC1 address. Mine is 192.168.0.159. I am on my server!

The default username and password is in readme.txt on the openmediavault. For this version, 
web interface:
- username = admin
- password = openmediavault

This is the home screen of OMV.

Go to System>Date & Time. Change the time zone to my location. I am using America/Chicago. 
Activate [Use NTP server] > Save > Apply, I need to Apply each time change the configuration.

Tip, change the session timeout to “0” not to log out for my configuration. 
General Settings > Session timeout > 0 > Save > Apply > Yes

Update the system to the latest version.
- Update Management > check Package information > +Upgrade

Once update is done, close the pop-up window.

Reload the page to update the changes.

And reboot the ODROID-HC1.

Error message ignored. Click OK.

I can hear HDD spin-down sound. And it will reboot.

I have seen another Software Failure popup. I just click left mouse button. It take me to login page again.

Step 4 : Giving permissions

I logged in. The HDD is physically connected. My HDD was taken from my old Macbook.

Now, I need my HDD to communicate with the HC1. OMV supports ext4 but not NTFS, vfat or other format. If the file system of HDD is not ext4, I need to create new file system.

I need to delete the existing file system first, click [Delect].

Yes, I know that I am deleting all data in my hard disk drive.

Yes, I really want this. I know that all data will be lost stored in HDD.

Create > Select Device (I have only one device connected) > Label (I label it as 500GBHDD > File system > Select [EXT4] >OK

Yes, I really want to format this device and I am aware that all data is going to be deleted.

I had to wait some minutes until I see the final message of [The file system creation has completed successfully.]. Close the popup.

My HDD Filesystem is changed to ext4.

Select [500GBHDD] and Mount

Apply. The HDD is communicating with my HC1. I can use my HDD now.

Register users who can transfer data from/to my server. I will add one user, odroid first.

User > +Add > Name and Password > Save

Now, I have one user, odroid.

I will make a shared folder which users can share it.

Shared Folders > +Add > Name > select Device > Set Permissions : I permit the administrator and users read/write >Save

I still need to give Privileges to each user.

Give a user, odroid, Shared folder privileges of Read/Write. Save.

ACL is another type of giving permission. You can check the details from the OMV forum. I give user, odroid, permissions of Read/Write/Execute since it is my user ID. I will give different permission to other members later.

ACL > Modify shared folder ACL > check user odroid Read/Write > Select Extra options > Apply > close the window

Step 5 DATA Transfer : SMB

I can share the server with my workgroup using SMB. The Server Message Block (SMB) Protocol is a network file sharing protocol, and as implemented in Microsoft Windows is known as Microsoft SMB Protocol.

SMB/CIFS > Enable > Save

Then, add a shared folder.

Shares > Add > Enable > select a Shared folder > Save

Click Apply and I can see my shared folder.

I will access to my server from my Macbook.

Note: If you have two or more of the same shared devices or folders, your MacBook may rename one for you. For example, if you have two ODROID-HC1s attached to the router, it will recognize the first as odroidxu4 and name the second one, odroidxu4–2, to differentiate the two. If you do not see the two automatically, try rebooting your computer/device.

Open Finder and check SHARED. I can see the shared server of odroidxu4 which is ODROID-HC1. Click Connect As and enter Name and Passsword which is the User name and password that I registered above at my server side. (On a Windows PC, you will look for File Explorer and check Network for your server.)

I can create folders and transfer files from/to my MacBook to/from the ODROID-HC1 server.

Step 6 DATA Transfer : FTP

The File Transfer Protocol (FTP) is a standard network protocol used for the transfer of computer files between a client and server on a computer network.

Enable FTP on OMV.

Services > FTP > 
General settings > Enable 
Advanced settings > Passive FTP enable 
Transfer log > Enable 
Save

I need to enable the shared folder.

Services > FTP > Shares > +Add > Enable > select Shared folder > Save

FTP on my server is enabled. I can simply communicate from/to my server to/from different browsers on my MacBook and smartphone.

On my MacBook, just enter ftp://192.168.0.111(yours might be different)

Firefox

Enter User Name and Password > OK

On Chrome

on my smartphone, I need to install FTP app.

I have installed FTP Sprite on my iPhone.

For Android smartphone, ES File Explorer is recommended.

Step 7. Shutdown

On your Openmediavault screen, below the openmediavault banner, notice the three vertical dots on the right. Click for the dropdown menu and select “Shutdown”.

When asked for Confirmation to shutdown, Click “Yes”.

When this screen appears, your OS has stopped running (blinking blue LED light will turn off on the HC1) and you can now unplug your power and remove the MicroSD card. Follow the shutdown procedure anytime you need to change your harddrive, update the OS on your MicroSD card, or need to unplug the power. This will help avoid damaging the computer board on your HC1.

You have completed the proper shutdown of your HC1.

by Odroid Inc. https://odroidinc.com/

Like what you read? Give Lisa Park a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.