Changing the hostname and IP in Solaris 10

All changes must be done as root.

To change the hostname of a Solaris 10 system it's necessary to edit 4 files.

/etc/hosts
In this file there is an entry like this:
# Internet host table
#
::1 localhost
127.0.0.1 localhost
[ip address] [hostname] loghost
Change the last line to:
[ip address] [new hostname] loghost
If required to change the host ip change it here.

/etc/nodename
This file will only has the hostname, change it to the new hostname.

/etc/hostname.xxx
(where 'xxx' is your network interface name, like pcn0)
Like the file /etc/nodename, this file will only has the hostname, change it to the new hostname.

/etc/netmasks
This file associates Internet Protocol (IP) address masks with IP network numbers.

Changes to this file are only necessary if changing the IP address to a new subnet. Set the new netmask here.

Installing VMWare Server on Ubuntu 7.10 - the Gutsy Gibbon

Installation
I've just installed VMWare Server on Ubuntu 7.10 - the Gutsy Gibbon and it couldn't have been simpler.

First of all download the latest VMWare Server edition (the one I installed was 1.0.4 and I've downloaded the tar.gz file).

Before installing VMWare prepare your build environment:
aptitude install linux-headers-`uname -r` build-essential
aptitude install xinetd
Extract the tar.gz to any folder and execute the installation script:
./vmware-install.pl
Accept all the default setting checking each one of them. After filling your license VMWare is ready to go.

Problems
When at first I tried to run a virtual machine I had previously built, and which I had on a NTFS file system, that virtual machine didn't run. Checking the logs at /var/log/vmware I found the following error message:
Failed to allocate page for guest RAM!
Searching on Google about this problem I found the solution which was to add to the following line to the vmx configuration file:
mainMem.useNamedFile=FALSE