Skip to main content

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 192.168.1.250. 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 https://192.168.1.250:10000 . 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







Comments

Dinh Ha said…
đồng tâm
game mu
cho thuê nhà trọ
cho thuê phòng trọ
nhac san cuc manh
số điện thoại tư vấn pháp luật miễn phí
văn phòng luật
tổng đài tư vấn pháp luật
dịch vụ thành lập công ty trọn gói

“Nếu muốn liên hợp mà không muốn bị công kích thì chỉ có hai cách là quan hệ thầy trò hoặc thông gia.” Sở Dương lẳng lặng nói tiếp hắn: “Quan hệ thầy trò thì có nguy cơ tuyệt kỹ của gia tộc mình bị đánh cắp nên việc dùng các đệ tử không ra gì trong gia tộc thiết lập quan hệ thông gia là có lợi nhất. Giá trị của những đệ tử này là họ có thể thông qua quan hệ thông gia để mang lại lợi ích rất lớn cho gia tộc của mình.”

“Đúng, là như thế đấy!” Đại hán áo đen gục đầu nói: “Mạc thị gia tộc cũng có những đệ tử như vậy. Bọn hắn bình thường đều không được tham dự đại điển bài danh của gia tộc bởi vì bọn họ không xứng. Giống như con trai trưởng Mạc Thiên của gia chủ vậy. Năm mười một tuổi hắn bị giáng xuống làm Tam công tử vì bất tài. Tuy hắn lớn nhất nhưng lại phải gọi đệ đệ mình làm ca ca…”

“Nếu Tam âm mạch của Tiểu thư bị phế… thì… thì…” Đại hán áo đen đứng lên, nôn nóng hỏi: “Tiểu huynh đệ, cuối cùng thì tiểu thư nàng sẽ thế nào hả?”

“Tâm âm mạch bị phế…. Có phải sẽ bị gia tộc vứt bỏ, trở thành một công cụ để thiết lập quan hệ thông gia?”Ánh mắt cùng thanh âm của Sở Dương đầy lạnh lẽo, không quan tâm chút nào đến sự nôn nóng của vị cao thủ Vương cấp này.

“Aizz…” Đại hán áo đen thở dài: “Nếu là quyết định của gia tộc thì từ nay về sau sẽ không có hi vọng khôi phục… Chỉ sợ là…”
steve said…

تنظيف منازل بالدمام شركة تنظيف
تنظيف منازل بالاحساء شركة تنظيف منازل بالاحساء
تنظيف منازل بمكة شركة تنظيف منازل بمكة
تنظيف منازل بجدة شركة تنظيف منازل بجدة
تنظيف منازل بالمدينة المنورة شركة تنظيف المنازل بالمدينة المنورة

Popular posts from this blog

Configure PostgreSQL and phpPgAdmin in WAMP

As i told earlier am trying to switch to Flex , i am trying to learn connection between PHP and Flex. When searched i got a excellent tutorial . But the problem is that it uses PostgreSQL. As i don't have any prior experience in PostgreSQL i try to install it in my Windows 7 and configure it in WAMP . I got different errors and spend almost two days in searching and using different methods . Atlast i got it right. I will try to figure out the steps i have done.
Am using
PostgreSQL 9.1WAMP Server 2.0e phpPgAdmin 5.0.2 WAMP consists
1. Apache Version :2.2.17  2. PHP Version :5.3.5  3. MySQL Version :5.5.8 First install PostgreSQL , no need to install additional plugins like phpPgAdmin.
Install WAMP server where ever you need.
Download PhpPgAdmin  and unzip it to WWW folder in WAMP installation.

At this point if you try to access the http://localhost/phpPgAdmin/ you may get this error.

Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgs…

Angular 4 - Modules, components and routing

In the previous post we created a new Angular 4 project. Lets check the how to add modules, components and routing.

You could check out the code from here.
git checkout -b part2.0 origin/part2.0
We are going to use bootstrap styling . So lets add bootstrap in our aplication . We are going to use only styling not the components.

npm install bootstrap@3
We need to add the bootstrap stylesheet in tha .angular-cli.json.


"styles": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css", "styles.css" ],
Our first Module

Lets add a new module employee. Inside "src/app" run

ng generate module employee or
ng g m employee
Wait we are going to lazy load this module , so we need routing inside the module, right? So we are going to create the routing also.
ng g m employee --routing
Time for component

It will create new employee module with its own routing.lets add a component for listing the employee. So inside employee folder run

ng g c empl…

Angular - 4 year road map

AngularJS is one of the most popular JavaScript frameworks in the web. The Google developed framework is considered as one of the easiest framework to kick start a project. Two way binding and the dependency injection is the highlight of this framework.
My journey with AngularJS started about 4 years ago. Then popular ver1.4 amazed me in its capabilities. Developer like me, coming from Actionscript and plain old JQuery , AngularJS is a good option to kick start a project. It give me the confidence in JavaScript world, and from then I have tried lot of framework and tools from JavaScript itself like requireJS, webpack, etc. I did projects in Angular from 1.4 to the current 2.0, and trying to upgrade to the latest 4. Angular has now become one of the fastest growing framework. The journey starts with 1.4
One of the stable and mostly uses version. Started working on this for small projects and it seems easy for development. Dependency injection and two way binding seems quite interesting. …