From owner-freebsd-questions Tue Apr 10 7:23:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 18D1D37B42C for ; Tue, 10 Apr 2001 07:23:13 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id RAA02595; Tue, 10 Apr 2001 17:31:06 +0200 Message-ID: <3AD317BB.4D2EB73@i-clue.de> Date: Tue, 10 Apr 2001 16:24:59 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: Alvin Sim Cc: FreeBSD Questions Subject: Re: Installing port(s) from an NFS server References: <1510883389.20010410124052@yahoo.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alvin Sim schrieb: > > Hello list, > > i dont know wether this has already been asked but i'm asking > anyways :) > > i have 2 machines running freebsd 4.3-RC with nfs and i came upon a > situation whereby i want to install a port that was already installed > on the server. > > i am currently on a dialup and i see it hard for me to be downloading > and updating the whole ports collection on both of the machines. > > example: > lets assume that i have installed vim on the server and now, i want > vim on the client as well. Assuming your NFS is properly configured: client# mount server:/usr/ports /usr/ports client# cd /usr/ports/editors/vim client# make install > i tried (after mounting /usr/ports (server) to /usr/ports (client)) > `make' in /usr/ports/editors/vim-lite but it seems that `make' is > making it on the server which, IMO, should be on the client? i didnt > try `make install' though. i was afraid that it would install (vim) > again on the server. No. You mounted the hard disk from your server. Thus the build will execute on your client and install into your client. > so what i'd like to know is that is it possible for me to install a > port from the server to the client machine with nfs? As shown above: yes. It's too simple to be true. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message