Home Server Building Guide

cc Also published on S&C

PREFACE

Last year, I built a home server based on Linksys Router EA4200 v2, which was with openwrt system. Openwrt is a great router system which you could install Transmission on it. So you could get your objects like:

  • Home share;
  • Files backup in your own private cloud;
  • Download media anytime, anywhere;
  • etc.

It is cheap and useful, however there are some defects:

  • limit storage;
  • poor CPU and RAM;
  • high risk you will lose all you data.
  • optional: USB 3 transfer and 2.4G WiFi make noise to each other.

You may need a update NAS proposal.

New Build Properties

In this new build proposal, you will get multiple dual socket 2011 solutions, accessories, upgrades.

  • Highly upgradable, with a clear path for upgrades;
  • Bargain basement prices on all components;
  • Extreme value, even with the base system;
  • Support many different possible configurations, and use-cases;

My own build list

And because I build the chassis by myself, I purchased a 4*3.5-Inch HDD Cage at the same time.

Motherboard

GA-7PESH2 is with LSI SAS2008 onboard, gives 2 SAS2 ports which support 8 HDD’s, 2*SATA 3, dual 10GbE via onboard Intel X540(10GbE Base-T), and 4 PCI-E expantions. Remember the onboard LSI SAS2008 will need to be flashed to IT mode. And the BIOS flashed to R17 is better. You may be lucky that all of those have been done when you get the GA-7PESH2.

CPU

I suggest you would use this for NAS only. So, you could pick a single E5-2620, E5-2630, E5-2630L or similar. It is enough.

If you want some virtualization, you should consider dual E5-2650, E5-2660v2. Add more RAM by the way.

For those Gamers and who are building workstation, dual E5-2643, dual E5-2667, or dual E5-2690.

Chassis

Chassis for E-ATX always is okay. Rosewill 4U Server Chassis is a good choise, too. And also, you may want to some full tower chassis like Phanteks Enthoo Pro if you are a gamer.

PSU

Make sure your PSU has dual EPS because you may use dual CPU. If not, you will need a long EPS splitter. Your motherboard is 305W x 330D (mm).

Build it

  1. Install everything you need including the Ethernet cable. If you don’t use VGA cable connect to your display, you may need a video card. Because the motherboard only have VGA port.
  2. Prepare a USB which is written a operating system. I use FreeNAS 11.2. You could find some documents on its website.
  3. Press F2 to BIOS to setup. First, go to PCI setting to enable the LSI controller. Then set the USB to boot first.
  4. Choose disk the one you run FreeNAS only. Install normally. You could check details on the FreeNAS documents.
  5. Login the web shown to you after installation.

Install Plugins

In your FreeNAS GUI, go to Storage.

  1. Storage-Pool, choose a disk to add a pool, named it media for example. Independent disk for media use only.
  2. Under your media pool, to add a Dataset, named it transmission for example.
  3. Add a user admin and set it to the group transmission. You could also set it to the group media at the same time.
  4. Go back to the media pool, transmission dataset, to edit the permission. Set user to admin, and group to transmission.
  5. Go to the Jails, activate media pool for Jail Manager.
  6. Go to Plugins, install the transmission, and other plugins like Plex or Emby as you like.
  7. Stop the plugin.
  8. Edit transmission jail, or other plugin jail which you want to setup. Add Mount Point. Set Source Share(/mnt/media/FolderName) and set Destination(/media).
  9. If you are Editing Configuration for Plex, I suggest to use DHCP, unless you do know the network settings. And you should Check VNET and Berkeley Packet Filter, and in the next step to Select allow:raw_sockets.
  10. Launch Management from the plugin menu.
  11. Set the Folder to /media.

Set Share Folders

In the Sharing section, you should setup SMB, NFS or others sharing. Therefor you could access to your media files on other devices.

Issues

If you have issues, like:

  • Plugins not working after system update.

NEVER DELETE YOUR DATASET which have your files.

Try to get help from the FreeNAS documents or their forum.

so


Re-Install Ubuntu after it was down

cc Also published on S&C

My Ubuntu 18.04 LTS ran for a long time, and I did many things what maybe slow down the computer, what was worse, it could NOT boot normally as usual. When I checked the log file, found that it due to some error of the Elan touchscreen. May be some error of the EFI file, too.

So, I decided to re-install a new one.

As you know, I had Ubuntu and Windows 10 dual boot systems.

  • I login to Windows 10 to do the backup job.
  • Under the Windows 10, RUN PowerShell, with administrator.
  • Input diskmgmt.msc, WIPE the Ubuntu system partition. Mega them to one partition.
  • Use Etcher to flash your Ubuntu 18.04 LTS, or other systems you want, to an USB disk.
  • Insert the USB disk and boot to BIOS.
  • Disable the secure boot, and choose USB driver first boot.
  • There you go. Install the Ubuntu as normal.

REMEMBER to choose Install alongside the Windows boot manager

It is better for beginners, in my opinion.

BACKUP YOUR FILES FIRST!

so