Guest VMWare

De FrozenWiki
Aller à la navigation Aller à la recherche

Create a new Virtual Machine in VMWare Server Administration Tool

  • Open VM console
  • Create Virtual Machine:
    • Give a name
    • Datastore: standard
    • Guest OS: Linux operating system / Ubuntu Linux (64-bit)
    • Memory size: 128MB
    • #CPU: 1
    • Create a new virtual disk: 4GB , Policies>> Optimize for performance
    • Add a Network Adapter (bridged)
    • Use an ISO image: ubuntu-10.04-server-adm64.iso
    • Don't add a floppy drive
    • Don't add a USB controller
    • Finish

Change Ubuntu Server from DHCP to a Static IP Address

  • Open up the /etc/network/interfaces file. For the primary interface, which is usually eth0, you will see these lines:
auto eth0
iface eth0 inet dhcp

Change it to values similar to:

auto eth0
iface eth0 inet static
       address 192.168.1.100
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
  • Add the DNS settings in the /etc/resolv.conf file. On the line ‘name server xxx.xxx.xxx.xxx’ replace the x with the IP of your name server. (You can do ifconfig /all to find out what they are)
  • Restart the networking components:
sudo /etc/init.d/networking restart