How to build a frozen release
Configuring VMXs as hosted frozen releases
To use a Virtual Machine as a server, a few small modifications need to be made.
1. From the VMWare Server console, launch the current server core virtual machine (it should be running)
2. Set a static IP (must be assigned!)
In this example, the guest OS IP is 18.104.22.168. This should be changed to whatever your assigned IP address is.
ifconfig eth0:0 22.214.171.124 netmask 255.255.255.0 broadcast 126.96.36.199 route add -host 188.8.131.52 dev eth0
You can also do this from the GUI if you prefer, under System Settings -> Network. Double click on the network adaptor.
Address: Your assigned IP address Subnet mask: 255.255.255.0 Default gateway: 184.108.40.206 Broadcast host: 220.127.116.11 (not explicitly set in the GUI)
3. Reset the MAC ID of the guest
System Tools > Network
Double click on the network adaptor and select the "Hardware" tab. Click on "Probe", then "OK"
4. Add the following lines to /etc/resolve.conf for DNS
search cshl.edu nameserver 18.104.22.168 nameserver 22.214.171.124
5. Set the hostname
This can be done either in the GUI under the Network panel, or using the command line.
If you have a static IP address, then /etc/hosts is configured as follows:
127.0.0.1 localhost.localdomain localhost 126.96.36.199 mybox.mydomain.com mybox
After updating the /etc/hosts file correctly, the "hostname" command should be run as follows to set your hostname:
6. Edit /usr/local/wormbase/conf/localdefs.pm and httpd.conf with the appropriate hostname
7. Set the machine to static addressing
To read: BOOTPROTO static
8. Shutdown the virtual machine and copy it as a backup
I append "server" to the name to indicate that it is configured as a server
tar czf wormbase-WS100.2003.05.13-server.tgz wormbase-WS100.2003.05.13