NFS
De SME Server Wiki
ceci est une ebauche non finalisée et non fonctionelle a vous de completer si vous avez des pistes
installation NFS sous sme
cette ebauche se trouve ici car le besoin d'un paratge nfs pour mondo s'est fait sentir
yum --enablerepo=base install nfs-utils nfs-utils-lib system-config-nfs
ouvrir port 111 et 2049 en TCP et UDP
cd /etc/rc.d/rc7.d ln -s /etc/init.d/portmap S92portmap ln -s /etc/init.d/nfs S93nfs chkconfig portmap on chkconfig nfs on
mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow echo "nfs: 88.160.117.47/255.255.255.0" > /etc/e-smith/templates-custom/etc/hosts.allow/nfs echo "portmap: 88.160.117.47/255.255.255.0" > /etc/e-smith/templates-custom/etc/hosts.allow/portmap echo "rpcbind: 88.160.117.47/255.255.255.0" > /etc/e-smith/templates-custom/etc/hosts.allow/rpcbind echo "nfs: 91.121.67.15/255.255.255.0" >> /etc/e-smith/templates-custom/etc/hosts.allow/nfs echo "portmap: 91.121.67.15/255.255.255.0" >> /etc/e-smith/templates-custom/etc/hosts.allow/portmap echo "rpcbind: 91.121.67.15/255.255.255.0" >> /etc/e-smith/templates-custom/etc/hosts.allow/rpcbind
ou
echo "ALL: 88.160.117.47/255.255.255.255" > /etc/e-smith/templates-custom/etc/hosts.allow/rpcbind
/sbin/e-smith/expand-template /etc/hosts.allow
mkdir -p /etc/e-smith/templates-custom/etc/exports echo "/tftpboot/GEEXBOX.i386 192.168.1.0/255.255.255.0(ro,sync,no_root_squash)" > /etc/e-smith/templates-custom/etc/exports/NFS1 /sbin/e-smith/expand-template /etc/exports
mkdir -p /etc/e-smith/templates-custom/etc/exports echo "/opt/nfs *(ro,no_root_squash)" > /etc/e-smith/templates-custom/etc/exports/nfs
/sbin/e-smith/expand-template /etc/exports
bon ca marche pour les msie a jour de stop nfs,restartportmap, start nfs
reste un bug : 'rpcidmapd' is not a valid service name
http://mirror.hamakor.org.il/archives/linux-il/07-2004/10991.html
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=222678
http://www.sunmanagers.org/archives/1999/1619.html
http://forums.contribs.org/viewtopic.php?t=24054&highlight=service+portmap
http://forums.ixus.fr/viewtopic.php?t=29387&highlight=nfs+how
ftp://ibiblio.org/pub/linux/distributions/smeserver/contribs/gordonr/RPMS/noarch/
http://biowiki.org/MountingNFSThroughSSHTunnel