|
|
Installer vmware serveur sur ubuntu 8.04 serveurDe $1Sommaire
Que pensez-vous de cet article?
Sommaire
Installer vmware serveur sur ubuntu 8.04 serveurInstallation d'Ubuntu 8.04 serveur LTSTéléchargement des sources : ftp://releases.ubuntu.com/releases/8.04/ Bootez sur le Cd Ubuntu 8.04 serveur
Sélectionner : Openssh server Samba File server
apt-get update apt-get upgrade L'interface graphiqueCe chapitre n'est pas obligatoire,même déconseillé sur un hyperviseur mais cela permet plus de "confort" moyennant bien sur une consommation supplémentaire de ressources système. apt-get install gdm gnome-core xfonts-base xserver-xorg x11-xserver-utils apt-get install synaptic update-manager human-theme ubuntu-gdm-themes language-support-fr language-pack-gnome-fr apt-get install language-pack-fr alsa-base gnome-media gnome-audio gnome-volume-manager gnome-system-tools apt-get install network-manager-gnome system-config-printer-gnome firefox Les Utilitaires de baseapt-get install rdiff-backup rsnapshot open-iscsi apt-get install nfs-common mc nfs-kernel-server dump mt-st ParamétragesDésactivation de l'interface graphique au démarrageDésactivez maintenant l'interface graphique au démarrage "inutile par défaut" update-rc.d -f gdm remove /etc/init.d/gdm stop Paramétrages de la carte graphiqueEditez le fichier : /etc/x11/xorg.conf Section "Device" Identifier "Configured Video Device" Driver "vesa" EndSection
/etc/init.d/gdm start
/etc/init.d/gdm stop L'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 wget http://downloads.yakakliker.org/mnt/volume/datas/www/Webmin/webmin_1.480_all.deb apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl openssl libapt-pkg-perl apt-show-versions dpkg --install webmin_1.480_all.deb En cas d'erreur quelconque : apt-get install -f Vous pouvez maintenant y accéder à l'adresse : https://"IP du server":10000 La synchronisation de l'horlogeapt-get install ntpdate ntpdate "Adresse du serveur de temps" Les indispensablesapt-get install xinetd build-essential uname -r # Pour connaître la version du noyau # apt-get install linux-headers-`version de votre noyau` Exemple : apt-get install linux-headers-2.6.24-16-server Ou : apt-get install linux-headers-$(uname -r) L'installation de Vmware ServeurTéléchargez vmware serveur : http://www.vmware.com/download/server/ Décompressez l'archive : tar -xzvf VMware-server-xxx.tar.gz
cd vmware-server-distrib/
./vmware-install.pl
Creating a new VMware Server installer database using the tar4 format. Installing VMware Server. In which directory do you want to install the binary files? [/usr/bin] [Entrée] What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc] [Entrée] What is the directory that contains the init scripts? [/etc/init.d] [Entrée] In which directory do you want to install the daemon files? [/usr/sbin] [Entrée] In which directory do you want to install the library files? [/usr/lib/vmware] [Entrée] The path "/usr/lib/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] [Entrée] In which directory do you want to install the manual files? [/usr/share/man] [Entrée] In which directory do you want to install the documentation files? [/usr/share/doc/vmware] [Entrée] The path "/usr/share/doc/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] [Entrée] The installation of VMware Server 2.0.1 build-156745 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall.pl". Before running VMware Server for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes] [Entrée] Making sure services for VMware Server are stopped. Stopping VMware autostart virtual machines: Virtual machines failed Stopping VMware management services: VMware Virtual Infrastructure Web Access VMware Server Host Agent failed Stopping VMware services: VMware Authentication Daemon done Virtual machine monitor done You must read and accept the End User License Agreement to continue. Press enter to display it. [Entrée]
Do you accept? (yes/no) yes Thank you. The bld-2.6.24-16-i386server-Ubuntu8.04 - vmmon module loads perfectly into the running kernel. The bld-2.6.24-16-i386server-Ubuntu8.04 - vmci module loads perfectly into the running kernel. The bld-2.6.24-16-i386server-Ubuntu8.04 - vsock module loads perfectly into the running kernel. Do you want networking for your virtual machines? (yes/no/help) [yes] [Entrée] Configuring a bridged network for vmnet0. Please specify a name for this network. [Bridged] [Entrée] Your computer has multiple ethernet network interfaces available: eth0, eth1. Which one do you want to bridge to vmnet0? [eth0] [Entrée] Do you wish to configure another bridged network? (yes/no) [no] yes si vous avez d'autres cartes réseau à configurer sinon [Entrée] Do you want to be able to use NAT networking in your virtual machines? (yes/no) [yes] [Entrée] Configuring a NAT network for vmnet8. Please specify a name for this network. [NAT] [Entrée] Do you want this program to probe for an unused private subnet? (yes/no/help) [yes] [Entrée] Probing for an unused private subnet (this can take some time)... The subnet 192.168.163.0/255.255.255.0 appears to be unused. The following NAT networks have been defined: . vmnet8 is a NAT network on private subnet 192.168.163.0. Do you wish to configure another NAT network? (yes/no) [no] [Entrée] Do you want to be able to use host-only networking in your virtual machines? [yes] [Entrée] Configuring a host-only network for vmnet1. Please specify a name for this network. [HostOnly] [Entrée] Do you want this program to probe for an unused private subnet? (yes/no/help) [yes] [Entrée] Probing for an unused private subnet (this can take some time)... The subnet 172.16.18.0/255.255.255.0 appears to be unused. The following host-only networks have been defined: . vmnet1 is a host-only network on private subnet 172.16.18.0. Do you wish to configure another host-only network? (yes/no) [no] [Entrée] The bld-2.6.24-16-i386server-Ubuntu8.04 - vmnet module loads perfectly into the running kernel. Please specify a port for remote connections to use [902] [Entrée] Please specify a port for standard http connections to use [8222] [Entrée] Please specify a port for secure http (https) connections to use [8333] [Entrée] The current administrative user for VMware Server is ''. Would you like to specify a different administrator? [no] [Entrée] Using root as the VMware Server administrator. In which directory do you want to keep your virtual machine files? [/var/lib/vmware/Virtual Machines] /home/Machines Please enter your 20-character serial number. Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: 9AXF4-R69D2-JEQ4N-4H4JR Creating a new VMware VIX API installer database using the tar4 format. Installing VMware VIX API. In which directory do you want to install the VMware VIX API binary files? [/usr/bin] [Entrée] In which directory do you want to install the VMware VIX API library files? [/usr/lib/vmware-vix/lib] [Entrée] The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] [Entrée] In which directory do you want to install the VMware VIX API document pages? [/usr/share/doc/vmware-vix] [Entrée] The path "/usr/share/doc/vmware-vix" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] [Entrée] The installation of VMware VIX API 1.6.2 build-156745 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl". Enjoy, --the VMware team Starting VMware services: Virtual machine monitor done Virtual machine communication interface done VM communication interface socket family: done Virtual ethernet done Bridged networking on /dev/vmnet0 done Host-only networking on /dev/vmnet1 (background) done DHCP server on /dev/vmnet1 done Bridged networking on /dev/vmnet2 done Host-only networking on /dev/vmnet8 (background) done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done VMware Server Authentication Daemon (background) done Shared Memory Available done Starting VMware management services: VMware Server Host Agent (background) done VMware Virtual Infrastructure Web Access Starting VMware autostart virtual machines: Virtual machines done The configuration of VMware Server 2.0.1 build-156745 for Linux for this running kernel completed successfully. Les plus MaisonPour les partages Nfs réseauapt-get install nfs-common nfs-kernel-server SourcesInstallation de Vmbackupapt-get install nas libqt3-mt-mysql libqt3-mt-odbc libqt3-mt-psql python-qt3-gl python-qt3-doc wget http://nas052/mnt/volume/datas/Images/Deploiement/deploiement/Serveurs%20Vmware/vmbackup_2.94_all.deb dpkg --install vmbackup_2.94_all.deb http://computing.dwighthubbard.info/index.php/downloads/ http://computing.dwighthubbard.info/index.php/software/vmware-server-backup/ Pour envoyer les logs par mailapt-get install zip unzip sharutils mailx Configurer Exim4Il s'agit de d'installer et de paramétrer un MTA sur votre serveur donc attention aux risques ! De mauvais paramétrages peuvent permettre à certains de s'appuyer sur votre serveur pour spammer... dpkg-reconfigure exim4-config ScriptEcho Intitule du mail > courrier.txt zip -T fichier.zip fichier.log uuencode fichier.zip piecejointe.zip > piecejointe.zip echo "\n" >> courrier.txt cat piecejointe.zip >> courrier.txt mailx -s "Envoi des Logs" "adresse@mail.dest" < courrier.txt Agent Baculaapt-get install bacula-fd
Mots clés:
|