Building Home Linux Server

darkmirror

Distinguished
Mar 16, 2011
51
0
18,630
I have a project in mind and I would like to build my own server instead of subscribing one monthly. What I want to do with the server is as follow

-Host websites
-Host database
-Host backend for the mobile app
-Approximately 500 users for the app
-The sole purpose of building server is to learn.

What are the best options for me? Of course the transfer speed depends on my internet; but I want something fast for the server with kind of low power consumption. My budget is $1000

Thanks!
 
Well first and foremost you will need to see if your ISP even allows you to host a website.

Most residential grade ISPs block port 80 and also have a dynamic IP address. You can work around the dynamic IP address, but no one is going to go to your website if they have to manually type a different port.

An intel nuc would be extremely small footprint and have very low power. An i3, 8gb of ram, and an ssd would be sufficient for this build.

Most people opt for just using a hosted server. At even $15 a month it takes years before the equal the cost of the server alone, not including increased cost for internet and power. If the website/hosting is for money/profit then reliabilty for something on this scale will be better/cheaper wth a hosted solution.
 

darkmirror

Distinguished
Mar 16, 2011
51
0
18,630


Yes, I have contacted the network deapartment and they are okay about that. Then, the sole purpose of this project is to learn; so, buying a set up thing will be negating the purpose. I should have posted it in my question.
 

darkmirror

Distinguished
Mar 16, 2011
51
0
18,630


Yes, as long as I have my server on for at least once a day; then it should have a static ip.
 
If the computer has a static IP it can be off for a month and not matter. If it has a dynamic IP then the router should SHOULD assign it the same IP over and over agian.

I am not talking about the computer though, I am talking about the IP address from your ISP to your router needing to be static.

You then mentioned "network department" which makes me wonder if you are talking about your ISP or some network admin that controls the network you are on (like a school). If you are on a large network like a school then you have several other obstacles that they would have to configure to allow your traffic through.

Its great that you are wanting to learn, but if you dont understand basic networking it is going to be very very difficult to get a website going at all.
 

darkmirror

Distinguished
Mar 16, 2011
51
0
18,630


Thanks for the tips; yes, I am living on university. Of course, the project won't be able accessed from outside of the school's network since every request will be blocked through school's firewall. I only need to turn the server on once a day to keep the same ip. This is what I want because the project will be on the development. Then, after the project is finished; I will thinking of moving it out of campus.
 
Your requirements are kind of contradicting: you want 500 users of your app, yet you will be turning your server on once in a while...
For LAMP server (Linux, Apache, MySQL, PHP) you need nothing more that mid-range PC (some CPU, 4-8GB RAM, any hard drive). If you look around, you might even find pre-build images for that.
 

darkmirror

Distinguished
Mar 16, 2011
51
0
18,630


Yes, students on my campus will be able to use it since they are using the school's net work. This is what I have right now; http://pcpartpicker.com/user/umoux/saved/Ly7MnQ

I am also thinking about doing multiple projects on that rig for future.