Personal tools
You are here: Home cmgui Wiki Setting up a VMware enviroment
Views
FrontPage >> Peters notes >> Using VMware to build ZINC >>

Setting up a VMware enviroment

last edited 4 years ago by pbier

The following steps describe how to get a virtual machine up and running to use for building zinc

  • Get the VMplayer software installed on your machine. Ask your friendly sysadmin person to do this for you.
  • Get a copy of the winxp.vmdk file (virtual machine disk format file) which describes the virtual machine you want to run. Warning: you will need more than 4G of space for this file!
  • Get a copy of the winxp.vmx file which is a small executable script file that is used when starting up vmplayer.
  • Start vwmplayer by typing vmplayer winxp.vmx. This should boot up a virtual machine and show a login prompt for winxp
  • Login using the default admin account, which has no password
  • Important: For security reasons check that when you right click on the Ethernet menu at the top of your window, it is set to Host-only. We do not want to allow a connection to the internet as we would then need to install antivirus software. This has implications on how we will move data to the machine as external svn and cvs access cannot be used. We will use ssh to access the machine and scp or rsync to transfer files.
  • Create a user account which matches your upi
  • Log out of admin, check you can log in using your upi and then log back in as admin.
  • Open up a cygwin console and type ipconfig to check what ip address has been assigned to your virtual machine. Note this down.
  • Create the correct password files for ssh by typing the following in a cygwin console :
        mkpasswd -l> /etc/passwd
        mkgroup -l> /etc/group
    
  • Your virtual machine should now be configured to allow you ssh and scp access via the ip address. Unfortunately this ip address changes occassionally so every now and then you will need to recheck to see what it is.

Contributing to this site

Please add to the wiki any relevant information that you think might be useful to other users of this website. For example, you might like to contribute your experiences, questions and answers.

You are encouraged to contribute to this site regardless of your level of experience. Contributions are welcomed from new and regular visitors.

If you ask a question and receive an answer from a developer you should record it in the wiki. This information is extremely useful and can help other users overcome the same problem.

See how to add and edit pages for more information.