From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 X-Virus-Scanned: amavisd-new at telenet.dn.ua Date: Mon, 31 Mar 2008 09:07:31 +0300 To: "ALT Linux Community general discussions" From: "Aleksander N.Gorohovski" Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 References: <20080324061208.GC7240@jamun.localdomain> <20080329210923.GR21709@osdn.org.ua> <200803300830.49651.haw@inbox.ru> <200803300915.38780.haw@inbox.ru> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <200803300915.38780.haw@inbox.ru> User-Agent: Opera Mail/9.25 (Linux) Subject: Re: [Comm] =?koi8-r?b?8NLPwszFzcEg0yBORlM=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 06:07:35 -0000 Archived-At: List-Archive: List-Post: Вот за это множетственные благодарности, и думаю не только от меня лично. :) On Sun, 30 Mar 2008 08:15:38 +0300, Владимир wrote: > у меня так получается > #по мативам > http://www.crazysquirrel.com/computing/debian/servers/setting-up-nfs4.jspx > #сеть 192.168.13.0/24, NFS сервер 192.168.13.5, хотим, что бы клиентские > /home были на сервере, авоторизация в сети LDAP > apt-get install nfs-server nfs-utils nfs-clients portmap > #В /etc/sysconfig/portmap > #Изменить > #PORTMAP_ARGS="-l" на PORTMAP_ARGS=" " > mkdir /export > chmod a+rwxt /export > mkdir -m 1777 /export/home > mount --bind /home /export/home > echo "/export > 192.168.13.0/24(ro,sync,insecure,root_squash,no_subtree_check,fsid=0)" > >> /etc/exports > echo "/export/home > 192.168.13.0/24(rw,nohide,sync,insecure,root_squash,no_subtree_check)" > >> /etc/exports > service portmap restart; service nfs restart > exportfs -rv > echo "/home /export/home none rw,bind 0 0" >> /etc/fstab > > ######## > #На клиенте > ######## > apt-get install nfs-clients > #если /home уже монтируется отдельным разделом, добавляем sed -i > '/home/d' /etc/fstab > mount -t nfs4 192.168.13.5:/home /home > #посмотреть как примонтировалось > df > #посмотреть, что там с правами > ls -ln /home > #добавляем запись в /etc/fstab, что бы монтировалось само при загрузке. > echo "192.168.13.5:/home /home nfs4 rw 0 0" >> /etc/fstab > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community