French version on http://infond.blogspot.com
updated 04/08/2010
tools
- VMWare Workstationdownload: https://www.vmware.com/tryvmware/?p=workstation&lp=1
A 30-days trial full version of VMWare Workstation can be used. VMWare Server (free) is available too.
installation with Ubuntu [2]
installation with Windows: easy!
- Ubuntu 9.10 Karmic Server
download: http://www.ubuntu-fr.org/telechargement
- Ubuntu 9.10 Karmic Gnome
- Windows
network map
The machines are virtualized with VMWare.
create the machines
We pass on VMWare installation, already well explained on the Internet [2] , as the creation of a virtual machine with VMWare, and VMWare tools installation.Remark 1: to use another language than US, check « I will install the operating system later ».
Remark 2: The creation of virtual machines with an Ubuntu host failed with VMWare 3.0.0 build-203739 version (Workstation, player and server) and kernel 2.6.31-17-generic. We had to create them under Windows (we used seven).
Here are some informations about the configuration of our machines
host
To put all machines on the same subnet 192.168.0.0/24, the network parameters of the VMNET8 interface must be set on VMWare Workstation.remark: how to set the network VMNET8 interface on Windows7:
client windows XP
Network configuration:Remark: here, we use google DNS servers.
client Linux
Network Configuration:server Linux
to install it, chose an ISO image of Ubuntu Server (no graphical interface) without any add-on (no DNS server, etc.):When the machine is started, in (virtualized) server:
update the machine:
$ sudo apt-get updateinstall VMWareTools:
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
in VMWare:
menu → VM → Install VMWareToolsin server:
serveur$ sudo mkdir /mnt/cdrom0set network interface of server
serveur$ sudo apt-get install gcc
serveur$ sudo mount /dev/scd0 /mnt/cdrom0
serveur$ cd ~
serveur$ tar -xvzf /mnt/cdrom0/VMwareTools-*
serveur$ sudo ./vmware*/vmware-install.pl
serveur~$ sudo vim /etc/network/interfacesset DNS configuration too
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.254
network 192.168.0.0
serveur~$ sudo vim /etc/resolv.confremark: to shutdown server
search test.com
nameserver 192.168.0.254
$ sudo shutdown -h nowto restart server
$ sudo reboot
references
- Gilles Chamillard book - Ubuntu Linux Création, configuration et gestion d'un réseau local d'entreprise - collection Solutions informatiques - eni éditions
- documentation Ubuntu: installation de VMWare - http://doc.ubuntu-fr.org/vmware
Aucun commentaire:
Enregistrer un commentaire