Kimsufi : Différence entre versions
(→installation NFS sous sme) |
(→installation NFS sous sme) |
||
Ligne 48 : | Ligne 48 : | ||
ln -s /etc/init.d/portmap S92portmap | ln -s /etc/init.d/portmap S92portmap | ||
ln -s /etc/init.d/nfs S93nfs | ln -s /etc/init.d/nfs S93nfs | ||
+ | chkconfig portmap on | ||
+ | chkconfig nfs on | ||
+ | |||
mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow | mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow | ||
Ligne 70 : | Ligne 73 : | ||
/sbin/e-smith/expand-template /etc/exports | /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://www.linux-france.org/prj/inetdoc/cours/admin.reseau.synthese-nfs-nis/admin.reseau.synthese-nfs-nis.nfs.html | ||
+ | |||
+ | 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://forums.contribs.org/viewtopic.php?t=35111&postdays=0&postorder=asc&start=0&sid=867a76fb6cd7fa6566d46a6c257c7cf4 |
Version du 12 juillet 2007 à 22:11
comment installe rune sme sur un serveur heberger chez OVH Kimsufi
methode Mondo Rescue
Nous allons utiliser la methode suivante:
1/ faire une installation sme serveur seul
2/ mise à jour, ouverture du ssh a tous et manager a tous
3/ configuration avec ip gateway et netmask de la box kimsufi
4/ mondo sur un disque usb (apres installation des paquets FC4 de mondo)
5/ netboot restore installation de mondo
6/ retauration via NFS
7/ modif mineures comme le /etc/fstab si la machine test etait en ide (SCSI chez kimsufi)
8/ modif pour rebooter sur le hdd et reboot
9/ configurations finales (modif de votre password root etc etc)
10/ configuration d'un firewall specifique
mode rescue
apt-cache search mondo apt-cache search nfs mkdir /mnt/mondo /etc/init.d/portmap start mount -t nfs pialasse.com:/opt/nfs /mnt/mondo ====> erreure mount: RPC: Program not registered
installation NFS sous sme
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/