I suspect this is far simpler than I am finding it, which makes me feel a bit foolish really, but here goes.
My home network was comprised of an ISP-provided modem / router (Hitron), 2 linux-based Minix media boxes connected via wifi, an android tablet, an iPad, numerous phones of all flavours (BB10, iOS, android), a (current) Macbook, 3 Win 7 machines, an XP desktop box and a 1 TB LACIE Neil Poulton NAS. The NAS held all the media (iTunes, movies), outlook backups and acted as my file server depending on which Windows machine I was on. All the Windows machines used the NAS as their iTunes storage (great until you hit the road).
The first NAS was replaced under warranty a few years ago, but we lost all the data. The replacement unit died the other day. I tore the unit down, plugged the drive into a SATA/USB adapter, installed Ubuntu in a VM and pulled up the drive. The disk is perfectly fine - can access all the files without issue. But I don't need a USB drive, I need something on the network. I don't want another LACIE.
I re-deployed an old Dell Inspiron 530 box, added memory (5 gb), installed a new WD NAS 1 TB drive and installed Ubuntu Server 14.04 with a full-disk LVM partition. The install included basic server, openSSH and SAMBA options. I installed Unity desktop because I'm a command line newb, but have found I'm quite happy to use Putty from Windows, I just don't know any commands.
I shut the server down, installed the old LACIE drive in a 2nd slot, fired it all back up, and the primary storage partition appeared as a drive in Unity. However, when I try to open any of the folders, it tells me I'm not the owner and all the folders disappear. Not handy. Using the terminal, I changed permission -R 777 which now gets me access, but I suspect it's not quite what I'm after from a security standpoint.
What I'd like:
- A network drive for each individual, that they can access from their respective device, that can be mapped as another drive on the Windows and MAC machines
- A common network drive so we can share files between us.
- It would be amazing if these were available over the internet but the security aspect terrifies me.
- Backup space for each computer
- A shared iTunes repository (because once they have their claws in you, you can't get out)
- Movies / Television media are currently stored in 2 different folders depending on whether they're appropriate for kids or not. Access for the Minix boxes is only controlled through XBMC by mapping the folders to the different user accounts. I'd like that control moved to the server.
I tried to follow a couple of different online tutorials, but several used webmin, which I understand is no longer supported, or they included email servers and LAMP stacks which gave me no end of grief trying to configure (starting with a lack of domain name), or both.
I'm still struggling to get my head around the difference in layout between Ubuntu/Unix and Windows. What I had previously was a C drive with just the OS, a D drive with everything else, a folder in the NAS that was mapped to my machine as a Z drive, which was really only a subfolder of the folder holding all of the iTunes and other media folders. I don't know how to put all this together.
If I create a user for each person that needs a network drive space, that seems fairly straight forward, but who or how or where does the shared network space get created?
How do I incorporate the old NAS drive into the new environment without erasing everything on it?
Where do I begin?
Bookmarks