|
|
Installer vmware serveur sur ubuntu 7.10 serveurDe $1Sommaire
Que pensez-vous de cet article?
Sommaire
INSTALLATION D'UBUNTU 7.10 SERVEURBootez sur le Cd Ubuntu 7.10 serveur ftp://releases.ubuntu.com/releases/7.10/ Lancez l'installation Suivez la procédure d'installation Ubuntu PS : Pour installer l'interface graphique gnome : sudo apt-get install ubuntu-desktop
INSTALLATION DE WEBMINUne fois l'installation terminée, si besoin l'interface graphique chargée et les update fait :
Téléchargez webmin pour ubuntu "archive .deb" http://www.webmin.com/download.html
apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl dpkg --install webmin"version".deb Vous pouvez maintenant y accéder à l'adresse : https://"IP du server":10000
INSTALLATION DE VMWARE SERVEURuname -r # Pour connaître la version du noyau # sudo apt-get install build-essential linux-headers-`version de votre noyau` sudo apt-get install xinetd
http://www.vmware.com/download/server/ Décompressez l'archive Allez dans le dossier "vmware-server-distrib"
./vmware-install.pl
Décompressez le Allez dans le dossier vmware-mui-distrib ./vmware-install.pl Laissez les options par défaut.
FINITIONSDésactivez maintenant l'interface graphique au démarrage "inutile par défaut" update-rc.d -f gdm remove
PSAprès l'installation de tout ça, si vous essayez de vous connecter sur l'interface web de management vmware .... ben ça marche pas ! Adresse : https://"ipduserveur":8333 Oups !!!!
Editez le script de lancement de httpd.vmware "/etc/init.d/httpd.vmware" Remplacez le bloc :
start)
vmware_exec "Starting httpd.vmware:" vmware_start_httpd
;;
stop)
vmware_exec "Shutting down http.vmware: " vmware_stop_httpd
;;
start)
if [ ! -d /var/run/vmware/httpd ]
then
echo "Directory: var/run/vmware/httpd Not found. Creating it."
mkdir /var/run/vmware/httpd
echo "Setting user and group ownership to: User: www-data, Group: nogroup"
chown www-data:nogroup /var/run/vmware/httpd
echo "Setting directory permissions to: RWX------ (700)"
chmod 777 /var/run/vmware/httpd
fi
echo "Starting httpd.vmware:"
vmware_start_httpd
;;
stop)
echo "Shutting down http.vmware: "
vmware_stop_httpd
;;
Modifiez également :
if [ "$VMWARE_DEBUG" = 'yes' ]; then
(trap SIGHUP; "$func" "$@")
else
(trap SIGHUP; "$func" "$@") >/dev/null 2>&1
fi
if [ "$VMWARE_DEBUG" = 'yes' ]; then
(trap HUP; "$func" "$@")
else
(trap HUP; "$func" "$@") >/dev/null 2>&1
fi
Rebootez
Et là, une chance sur deux que ça ne marche toujours pas ... Si tel est le cas : Créez manuellement un dossier vmware puis httpd: /var/run/vmware/httpd Attribuez les droits 777 aux dossiers /etc/init.d/httpd.vmware restart Normalement ça doit fonctionner.
Mots clés:
|