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 <ip of client> add the -ro to share read only. if read write then use -maproot=<uid>:<gid> after this do a killall -HUP mountd and then login to the client and type mount -t nfs <ip of server>:/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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
