On 11 Mar 09:45, Peter Alcibiades wrote:
Thanks to Mick for offline help. Meanwhile, can I ask for help on something which is so simple no-one seems to write about it?
I have installed minimal debian, and then added the requisite stuff for nfs and cherokee and SSH. I'm fine with configuring both of them through the command line, and then in the cherokee case login in and using a web browser. Vi or emacs it will never be, but nano is fine. The command line in general is fine. Its just I never set up a server before.
Servers are just machines (tm).
The thing I do not know how to do, is have the installation start up with nfs and cherokee at power-on. And I don't understand what the relationship is between the server function and user accounts.
As in the nfs server started? and cherokee started? What is cherokee? Was it installed as a debian package?
So, when I did the minimal install of Debian, I did one user and set up the root password, and also set up a separate home partition without knowing if this is right or wrong. Was that right? The result is two partitions, one about 10G for / and the other with the rest. Presumably the nfs area will be in the rest. But how do I tell it that?
It's all down to what you're planning to use the machine for, I tend to have: 500M /boot everything thing else LVM / - LVM root - 4G /usr - LVM usr - 4G /var - LVM var - 4G /home - LVM /home - whatever I think I'm going to need
And then, over time, monitor the usage, and assign any space left in the PVs for LVM to the partitions that need it. But that's my preference.
When the server starts, I think this is done by putting entries in init.d, yes? When it starts, does it start with a user login? Or is it running with no users logged in?
With most packaged software that should be handled for you, nfs-kernel-server is the usual package for exporting NFS shares, then you need to decide wether you want to do NFSv3 style exports (they're a bit better).
It will be without screen or keyboard, so I am assuming I do SSH to the IP address. And then login as root? Or as the user?
Well, depends on what you're trying to do, but yes, ssh in as either, do what you need. Sorted.
Thanks,