Not sure if this is the right sub,so if its not, mod, please move this to the right thread. My question:
I want to host a Minecraft/FTB server and a NAS on one computer, not dual booting. I'll obviously use different drives for the NAS and the server. My question is, how would I do it? I heard using a VM could be very bad, so I don't wanna try that.
Since it is based on Debian you'll install it to a boot drive (say a 30-60GB SSD or small HDD) and you'd use your other HDDs for storage. Once you've set up the NAS than you can simply setup the game servers as you would on a normal Debian system.
I don't recommend doing that because mc is gonna soak up all the cpu cycles. If you still want to do it then install openjre same as on a desktop linux box get the server working on the desktop box then just move it to the server.
I run an FTP server on my local network, along with an Insurgency server on the same rig, that is hooked up to the internet... it's a strange setup, but it works.
FTP is one way to get files onto a NAS, the data transferred this way is un-encrypted and anyone can read it.
SFTP is a better way as it encrypts the data and the commands needed to make it work.
Running a "File server" and a minecraft server one one pc is not a problem.
Generally a NAS is a dedicated self contained unit/server. What you are describing would be more of a File Server.
If you are planing on doing this there are several ways, my way is probably not the best as I am logged into the machine as root and run my stuff within the root user.(Don't do this!!) I don't care as the server doesn't have access to anything else but it's self and the NAS Minecraft backup folder.
**Caution probably not best way but here's how I do it****
I just run CentOS with 16GB of ram and an old i7 with one 1TB WD red drive, and i logg into it as root(DON'T DO THIS EVER TO RUN STUFF!!!) and just have start scripts for the minecraft(spigot) servers along with my BungeeCord proxy. you then would install say Samba and set it up to use my other hard drive. that way samba says hey network I have this drive available for you to save stuff too, and minecraft goes on without any care. Now I don't actuality use my server as a file server since i have a nas, but the server doesn't care if it were to run an extra service next to minecraft.
*** As said above I don't know that this even without it running in root is the best way, it's just how I do it. ******
If anyone has a better way post here so everyone including me can make a better environment.
Pretty much what Urworstnit3m3r said. FTP is a means of getting files around, the NAS is an actual box.
What I'm running is more of a file server, and when Windows Homegroup stuff works (which it rarely does), a NAS. Setting up an FTP server in Windows was far easier than setting up FreeNAS, and required far less attention than I was willing to give. While it isn't as secure as something that runs through SSH (rsync, properly setup SFTP), it works fine for a local network. Both FTP and SFTP can be setup on Windows through either Filezilla or Cygwin. I'm sure for Linux you can just Google it up.
One very nice thing about running just an FTP server is that all the CPU power just sits around idle when nothing is being transferred, which allows for other stuff to be run along side it, without too much worry.
No problem, only problem I've ever had is maintaining a working SSH tunnel, but that is most likely some problem on my end, not SFTP or SSH's fault.
Might I add, having nice network hardware is nice... I don't have gigabit or better across my own house, and it annoys the hell out of me (darn laptop manufactures).
And SSH tunnel is what SFTP sends data through, you can think of it as a virtual Ethernet cable. Not having gigabit in my entire network forces me to actually think about time for large files. One of the folders I move around all my computers is over 100GB and it takes hours for it to transfer. If it's small files, doesn't really matter, but huge transfers are annoying. and that will tell you about how fast it will transfer. I always google that bandwidth stuff.
There is also FTPS, however SFTP is better security wise, There are other ways of transfering data as well but I am not familiar with them.
I don't have an issue like VXAce does but, my SFTP is handled by my synology nas i just enter a web interface and say turn on SFTP, FTP, FTPS and presto magico magnifico its up and running, lol
Out of curiosity, does the Synology come with software pre-installed? And if so, how much are able to play with it (or even change it out)? All my psuedo-NASes has been laptops that are finishing their lifetime, but have a working HDD, a CPU and some amount of RAM. I usually just load it up with Filezilla (server + client) and Cygwin and pretend like I know what I'm doing.