Tuesday, August 25, 2015

Building my Homeserver : Operating System

It’s the second part of my homeserver build. You can find the first part here.

I have initially planned to use NAS4Free for the os. But later changed to Centos 7 as Redhat distributions were my favourite one. And also i would like use GitLab and need run the server as well as NAS server as well as a testing Home Server. As it’s hard to use a  wired  connection to the router i compelled to use a Wifi dongle which will not be supported by the NAS4Free.

First installed Centos 7 (1406) minimal install. To my surprise it detected the WIfi dongle i have used the static ip of Using RAID 10 in my 4 500GB HDD i have successfully installed the server and also i have installed the Webmin which will accesible through . But when i updated the packages the Wifi simply stop to work. It’s showing in the nmtui but not activating . It’s status is DOWN. Then i downloaded Centos 7 (1503) and reinstalled it. The problem is it’s showing in the installation screen but when i restarted it , the wifi simply stop to work. I don’t want to waste time on figuring out what went wrong , so i reinstalled it with Centos 7 (1406) again and it worked with Wifi very well. So i stick with the 1406.
Note : Though it’s supporting the wifi it’s not a good idea to use wifi for a server. I used it simply because wired connection is possible in my room as the router is situated in another room. But in the near future i will switch to a wired connection. Currently it’s a  temporary setup.

I will skip the DVD boot up process .

First create /boot. Click on the + button and select /boot.  I have selected for 1GB . It’s bit higher than what it need. 500mb will be ideal one. Make sure the Raid level is selected to RAID 1. I don’t know the exact reason why i chose RAID1 , but lot of tutorials and forums suggests for RAID1 for /boot.

Next create the SWAP partition. Click on the + button and select SWAP.  I have decided to go for 8GB based on that old convention , double of RAM for SWAP. Though i have only 2GB of RAM, i am planning to upgrade it to 4GB in near future. Click on the modify button and select all four drives and change the RAID level to RAID10.

What i generally do is use rest of the space for / . Just did the same here also. Click on + button and select / . Don’t specify any size , it will select all available space. Make sure it also selected the RAID level 10.

Next configure the wifi. As i said above the Wireless connectivity is bad idea. Though i am ot concerned about the speed and the physical concerns i stick to the wireless. Choose a static ip so that you could use this to access webmin in the future or login to the server using SSH.

Next select the minimum install , choose the root password and create a user. Complete the installation . Next i will cover how i installed webmin