Jump to content

Getting stuck setting up mass storage NAS

I've recently built a second pc from secondhand parts.

The PC I want to use for the NAS is already running Windows 10 Pro, but I am getting stuck setting up the software side of things. I have Googled a good amount of times now but I just can't seem to find the right tutorial.

 

I want to use the second pc for mass storage, and being accessible from the internet (via an app or website)

And I would also like to automatically upload photo's taken on my phone, to the NAS's storage.

Main gaming pc: Lian-Li Lancool II Mesh Performance - Ryzen 5 5600X - MSI GTX1080Ti Armor - AMD Wraith Spire RGB - ASUS TUF Gaming B550 Plus - Corsair Vengeance RGB PRO 2x8GB 3200MHz - 500GB M.2 (and a few other drives)

 

Gaming laptop: ASUS GL552VW: i7 6700HQ - GTX960M 2GB - 8GB DDR4 2166Mhz RAM - 1TB 7200RPM HDD

Link to comment
Share on other sites

Link to post
Share on other sites

How much storage do need? Windows has storage spacse to make software raid of multiple drives.

 

You can easily make a file share on windows under sharing properties. 

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, Electronics Wizardy said:

How much storage do need? Windows has storage spacse to make software raid of multiple drives.

 

You can easily make a file share on windows under sharing properties. 

I have a 3TB NAS HDD

 

I would like to use something like Nextcloud

Main gaming pc: Lian-Li Lancool II Mesh Performance - Ryzen 5 5600X - MSI GTX1080Ti Armor - AMD Wraith Spire RGB - ASUS TUF Gaming B550 Plus - Corsair Vengeance RGB PRO 2x8GB 3200MHz - 500GB M.2 (and a few other drives)

 

Gaming laptop: ASUS GL552VW: i7 6700HQ - GTX960M 2GB - 8GB DDR4 2166Mhz RAM - 1TB 7200RPM HDD

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, xDanielxOossiex said:

I would like to use something like Nextcloud

Nextcloud is linux only, so you would need to setup a linux vm or install linux on the system.

 

How much storage do you need?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Electronics Wizardy said:

Nextcloud is linux only, so you would need to setup a linux vm or install linux on the system.

 

How much storage do you need?

I already tried using HyperV, that's also why I chose Win10Pro.

 

I have a new 3TB NAS HDD

Main gaming pc: Lian-Li Lancool II Mesh Performance - Ryzen 5 5600X - MSI GTX1080Ti Armor - AMD Wraith Spire RGB - ASUS TUF Gaming B550 Plus - Corsair Vengeance RGB PRO 2x8GB 3200MHz - 500GB M.2 (and a few other drives)

 

Gaming laptop: ASUS GL552VW: i7 6700HQ - GTX960M 2GB - 8GB DDR4 2166Mhz RAM - 1TB 7200RPM HDD

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, xDanielxOossiex said:

I already tried using HyperV, that's also why I chose Win10Pro.

 

I have a new 3TB NAS HDD

were you able to setup nextcloud in hyper-v?

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Setting it up in windows is not that easy to begin with, as server cloud and sync software is rare or pricey. Also having your system connected to the internet makes it an easy target for mass hacking attempts. Unless you already have bought hard drives etc. You may want to consider renting a dedicated linux server. You can get those in 2 to 3 tb capacity from a company called Hetzner in germany. I have one running Nextcloud (a sort of dropbox alternative). It only works on linux as a server but has windows and mobile clients as well for unlimited sharing between logged in devices. It also comes with plugins to edit documents and spreadsheets.

If you mus go the windows route, the only option of syncing photos the easy way is MS onecloud service. Transferring photos via ftp or ssh is an option but you would have to program an app for that to work with windows and I am not if that is even possible. On the other hand, if your system is fairly new and can run MS Hyper-V, you can run a debian or ubuntu machine on your system (virtual machine) and have that do all the server stuff. Not very efficient though. Penguin people won't like to hear that.

Link to comment
Share on other sites

Link to post
Share on other sites

What I'd suggest is setting up nextcloud in docker within WSL2, if you really intend to use Windows.

Otherwise - Linux with nextclud, again in docker.

 

If you are overly cautions&scared about security - Hyper-V with Linux, or in Linux KVM.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...

If you're interested in the topic, and enjoy this kind of thing as a hobby, then I would definitely recommend learning how to use Linux.

It may seem scary/complicated at first, but having a project like this will help you get familiar with the operating system, as well as using containers.

Getting some experience in Linux will vastly increase the amount of homelabbing projects that you can take on, and will also give you a lot of experience should you wish to pursue this kind of stuff as a career.

 

If this sounds like the kind of thing you would like to try out, then I would:

  • Look into a hypervisor such as Proxmox (which uses KVM underneath)
    • Storage can be set up in a few different ways:
      • You could have your hypervisor control all of your disks, and then create virtual disks for your VM. (I'd recommend this approach for a beginner)
      • You could dedicate a ssd/hdd for the hypervisor (or even a usb if using esxi), then passthrough a secondary disk(s) to a virtual machine.
      • You could have your hypervisor control all of your disks, create a virtual disk for your VM's OS, and then use NFS to grant your VM access to your hypervisor's disk.
  • Create a VM and install Debian/Ubuntu/CentOS on it.
    • Note that setting up a static IP for your server, or dhcp reservation will be key to making sure that the VM is accessible even after rebooting your modem/router.
  • Learn how to remotely access this VM via ssh.
  • Watch an introductory video on Docker, and then go through a few tutorials to get yourself familiar with it.
  • Read a tutorial on creating a Nextcloud instance via docker (try use docker-compose as you can easily see what container configuration that you have defined)
  • Try accessing your Nextcloud instance over local lan.
  • Don't expose Nextcloud to the internet unless using https.

 

Some considerations and more advanced topics

  • Learn about ssh keys, and set them up to increase security around remotely accessing your server.
  • Learn about dns, and consider getting a domain (there are some cheap/free options)
  • Learn about https, certificates and reverse proxies before exposing Nextcloud to the internet.
    • Traefik, caddy, nginx, and haproxy are all examples of reverse proxies.
    • Letsencrypt is a service which you can use to issue https certificates to your sites (requires a domain)
  • Some other cool things you can deploy via docker:
    • pihole
    • bookstack
    • emby/plex
    • wordpress
Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×