Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-15-2011, 08:18 PM
|
#1
|
LQ Newbie
Registered: Sep 2006
Posts: 9
Rep:
|
Building a storage and vpn server on the cheap
I am trying to figure out the best server configuration for the following: - Low power (I want to plug the server in and forget about it)
- High redundancy of data (I don't want to loose my music and documents!)
- The ability to stream music + movies to laptop (maybe subsonic or Jinzora)
- VPN server with IPsec or OpenVPN
- NAS
- $800 budget
- 2TB with ability to add more drives
My idea: - Unix Server with software RAID (maybe RAID6)
- VPN setup on virtual OS via VirtualBox
- NAS setup on virtual OS via VirtualBox
My Questions: - What would be the best raid configuration if I wanted at least 2TB of data and the ability to add more disks when the space begins to add up?
- What would be the best OS to use for setting up a software RAID (is a FakeRAID a better solution)?
- Does it make more sense to separate the VPN and NAS with different OS's?
My goal will be to access my data from any computer from anywhere but mostly just my Laptop from work. Suggested Hardware and Software for this configuration or better ideas for configuration would be greatly appreciated!
|
|
|
05-15-2011, 08:52 PM
|
#2
|
LQ Newbie
Registered: Aug 2009
Distribution: many
Posts: 16
Rep:
|
You might consider FreeNAS. No VPN support but you likely have support for that already in your gateway/router.
|
|
|
05-16-2011, 10:53 AM
|
#3
|
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339
|
You can enable SSH (maybe on an unusual port) in FreeNAS and use it to create a tunnel for certain ports, while blocking the additional services on the default ports by a firewall rule in FreeNAS. So one must use an SSH tunnel to access a service.
|
|
|
05-16-2011, 11:37 AM
|
#4
|
Member
Registered: Sep 2008
Distribution: Fedora
Posts: 129
Rep:
|
I've become a big fan of zfs. It's working well for me on Fedora machines with 4+ storage drives and it's just so much easier to deal with. Want to add another drive, one command to run and you're done, no more mucking around resizing lvm volumes and the like.
Google search "zfs linux"
|
|
|
05-16-2011, 11:52 AM
|
#5
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Just one side note:
Quote:
High redundancy of data (I don't want to loose my music and documents!)
|
A RAID is not a way to securely store data. It is intended to reduce downtimes. A faulty disk-controller, a bug in the controller driver or OS, or just an user error can easily cause severe data-loss. If you don't want to loose your data the you have to back it up to a different medium/machine.
|
|
|
All times are GMT -5. The time now is 04:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|