Re: [Hampshire] Home server

Top Page
Author: Hugo Mills
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Home server

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x5850b100.hantslug.org.uk.26483': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Tue Feb 24 23:36:51 2009 GMT
gpg: using DSA key 20ACB3BE515C238D
gpg: Can't check signature: No public key
On Tue, Feb 24, 2009 at 11:28:54PM +0000, Gordon Scott wrote:
> I've just started setting up a home server on a nive little ITX box,
> based upon Ubuntu-server Intrepid Ibex.
>
> But .. the setup might make sense for a server farm, but for a small
> three/four machine network it seems disproportionately complex.
>
> Can anyone give a pointer to a straight-forward basic setup for
> NFS+Samba serving, and UPnP? I'm guessing that mail shouldn't bee too
> bad as I already use postfix.


NFS: Install nfs-kernel-server and portmap on the server. Add
exports to /etc/exports and restart the NFS server using its
initscript. Mount filesystem on the client and start using it...

/etc/exports entry:
----
/srv/media 10.0.0.3(rw,async,no_root_squash,no_subtree_check)
----

mount command:
# mount -t nfs vlad:/srv/video /media/video

Samba: Your guess is as good as mine for how to make it work.
Samba and I aren't on speaking terms, and haven't been for some
time. :)

> Ubuntu's setup uses LDAP, which has so far taken we two evenings of
> messing about, to achieve I'm not sure what. They seem to think I need
> it for Samba. I'm not convinced, and it seems grotesquely complex and
> arcane to manage the way they advise.


I think that describes LDAP quite well. :)

I have NFS+Samba at home (the latter under protest), and I don't
use LDAP here at all. The main point of LDAP is so that you can
centralise the username-uid mappings. There are other solutions for
this (including simply creating the users on client machines with the
right uids).

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
         --- 2 + 2 = 5,  for sufficiently large values of 2. ---