Kimsufi
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
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