From owner-freebsd-questions Mon Dec 16 10:18:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB75E37B401 for ; Mon, 16 Dec 2002 10:18:10 -0800 (PST) Received: from glamredhel.hayholt.org (hayholt.org [195.18.102.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E3EC43EA9 for ; Mon, 16 Dec 2002 10:18:10 -0800 (PST) (envelope-from marcel@hayholt.org) Received: from moredhel.hayholt.org (unknown [192.168.0.3]) by glamredhel.hayholt.org (Postfix) with ESMTP id F2932AF11; Mon, 16 Dec 2002 19:17:53 +0000 (WET) Date: Mon, 16 Dec 2002 19:18:01 +0100 (CET) From: Marcel Stangenberger To: Shantanu Mahajan Cc: RD , Subject: Re: nfs help plz In-Reply-To: <20021215200937.GA528@mahajan.homeunix.net> Message-ID: <20021216191242.A76036-100000@moredhel.hayholt.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 16 Dec 2002, Shantanu Mahajan wrote: > +++ RD [freebsd] [14/12/02 22:02 -0500]: > | hi guys , > | i'm trying to make one of my boxes a file server, ftp server, and mysql > | .... > | i'm running apache on box #2... > | > | now i need to mount my users dir on box 2 from box 1.... > | > | i can't seem to make it work from freebsd handbook..... > | > | any step by step links? > | tx > | RD > | > | ------------------------------ > First take care that both boxes have a a user with same name and uid. And try to share it. Hope this will solve your prob. as I faced the similar one when I tried to use nfs. > create and compile a kernel with options NFS on both machines then edit the file /etc/exports on the machine that needs to share the directory, and add the line : /usersdir -ro add the -ro to share read only. if read write then use -maproot=: after this do a killall -HUP mountd and then login to the client and type mount -t nfs :/userdir /mnt you can change /mnt in any other directory. this should be all you need to do to set up an NFS system. Marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message