Guest User

/hsg/ - Home Server General FAQ & Guide

a guest
Oct 25th, 2017
5,753
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 0
  1. ===========================================================================================
  2. /hsg/ - Home Server General FAQ & Guide
  3. v1.00 - Last updated: 2017-10-25
  4.  
  5. NOTE: Do not take this guide as a rulebook. Feel free to use any pre-existing hardware. This guide is written with beginner and intermediate sysasmins in mind.
  6.  
  7. Also, CTRL+F and the Table of Contents are your friends.
  8.  
  9. Welcome to home servers, gentooman.
  10.  
  11. Read this document thoroughly before asking a question in the thread. It should give you a primer on how to select the hardware you need and configuring the OS for ideal operation.
  12.  
  13. If you came here for the miscellaneous links, go to the bottom sections.
  14.  
  15. Check the OP for Discord and previous thread:
  16. Permanent link: https://boards.4chan.org/g/hsg
  17. Discord: https://discord.gg/9vZzCYz
  18.  
  19. If you have any feedback, suggestions on things to add, edit, or remove, please reply to the OP with it. We'll try to check it frequently to keep this updated. It's easier than browsing the thread looking for suggestions. In addition, any contributions/submissions are highly appreciated.
  20.  
  21. ===========================================================================================
  22. Table of Contents
  23. [FAQ]
  24. -------- What is a home server?
  25. -------- Is it worth to own one?
  26. [BUILD SUGGESTIONS]
  27. -------- Consumer level (Synology/QNAP/other NAS)
  28. -------- Entry level (Single-board computers)
  29. -------- Intermediate Level (repurposed desktops)
  30. -------- (Semi-)professional Level (Xeon, enterprise hardware)
  31. [GENERAL TIPS]
  32. -------- "I just bought a used server."
  33. -------- UPS (uninterruptible power supplies)
  34. -------- Setting up HTTPS / Issuing Certificates
  35. --------
  36. [CONFIGURATION]
  37. -------- Server Settings
  38. -------- BIOS Settings
  39. [VIDEOS]
  40. -------- Server Tips
  41. -------- Miscellaneous
  42. [LINKS]
  43. -------- Useful links
  44. -------- Miscellaneous
  45. [CHANGELOG]
  46.  
  47. ===========================================================================================
  48. [FAQ]
  49.  
  50. -------- What is a home server?
  51.  
  52. A home server is a computing server located in a private residence providing services to other devices inside or outside the household through a home network or the Internet. Such services may include file and printer serving, media center serving, web serving (on the network or Internet), web caching, account authentication and backup services. Because of the relatively low number of computers on a typical home network, a home server commonly does not require significant computing power and can be implemented with a re-purposed, older computer, or a plug computer. An uninterruptible power supply is sometimes used in case of power outages that can possibly corrupt data.
  53.  
  54. -------- Is it worth to own one?
  55.  
  56. Hosting your website on a home server can be done if you know what you're actually doing. But if you have to spend so much time learning and buying new equipment from scratch, perhaps you need to assess if all this is worth the trouble. Most growing businesses would rather rent web servers from professional web hosts on a monthly or yearly basis because they find that it much cheaper to do so. However if you prefer to learn how to do all this yourself whilst remaining in control over the hardware and the content you serve in the way you please, a home server is the better option.
  57.  
  58.  
  59. ===========================================================================================
  60. [BUILD SUGGESTIONS]
  61.  
  62. What follows are descriptions on the basic build options you might have when getting into owning your own home server. Discussion about their hardware mostly falls under the questions of what you want to achieve with it and consider more important. For info on this, check the [FAQ] section above for a general answer.
  63.  
  64. -------- Consumer level (Synology/QNAP/other NAS)
  65.  
  66. Good for basic protocol support. Limited in what you might be able to run. If you just want to own a file server you'll find plenty of in-built options:
  67. HTTP/HTTPS/SMB/FTP
  68.  
  69. For around 150-250 bucks you can saturate a 1 Gbit/s ethernet and get a good dual bay device without drives.
  70.  
  71. -------- Entry level (Single-board computers)
  72.  
  73. For the poor of us. For just $40 you can have a Raspberry Pi 3 with USB-PSU, case and cooling pad.
  74. Additional cost may be:
  75. SD card
  76. USB to SATA adapter
  77. External 2.5" drive, SSD or HDD
  78.  
  79. You might need a stronger power supply or a powered USB hub depending on what kind of drive and how many you want to hook up.
  80.  
  81. This is the weakest of all servers, but it suffices for streaming properly encoded full-HD content.
  82.  
  83. Install Debian, Ubuntu server or even RasPlex.
  84.  
  85. -------- Intermediate Level (repurposed desktops)
  86.  
  87.  
  88. -------- (Semi-)professional Level (dual Xeon, enterprise hardware, etc)
  89.  
  90.  
  91.  
  92.  
  93. ===========================================================================================
  94. [GENERAL TIPS]
  95.  
  96. -------- "I just bought a used server."
  97.  
  98. -------- UPS (uninterruptible power supplies)
  99.  
  100.  
  101. -------- Setting up HTTPS / Issuing Certificates
  102.  
  103. https://github.com/hlandau/acme/blob/master/README.md
  104.  
  105.  
  106. ===========================================================================================
  107. [CONFIGURATION]
  108.  
  109. -------- Server Settings
  110.  
  111. 1) You should create a private RSA-4096 key for remote access.
  112. 2) Export your rsa-pubkey
  113. 3) Use vi/vim/nano to edit it into .ssh/authorized_keys
  114. 4) Configure sshd_config accordingly to only allow pubkey authentication.
  115.  
  116. -------- BIOS Settings
  117.  
  118. ===========================================================================================
  119. [VIDEOS]
  120.  
  121. -------- Server Tips
  122.  
  123. -------- Miscellaneous
  124.  
  125. ===========================================================================================
  126. [LINKS]
  127.  
  128. -------- Useful links
  129.  
  130. -------- Miscellaneous
  131.  
  132. ===========================================================================================
  133. [CHANGELOG]
  134.  
  135. v1.00 - initial draft released
  136.  
  137. ===========================================================================================
Advertisement
Add Comment
Please, Sign In to add comment