Create a new virtual machine image. Make sure the hard drive has a lot of space (I choose: dynamic sized 2TB)
Download the CentOS 64-bit DVD1 .iso image: http://isoredirect.centos.org/centos/6/isos/x86_64/
Mount the .iso Boot the VM Install CentOS. Choose software development machine.
Open a terminal: Alt-F2, “gnome-terminal”
Add your username to sudoer file: su visudo
Install VirtualBox guest additions. If you choose desktop during install you may have to run: sudo yum install gcc g++ kernel-devel
Mount a shared folder from VM to host machine. Reboot. Create a soft link in your home directory for easier access: ln -s ~/shared /media/sf_folder
Add yourself to vboxsf group to access shared folder: sudo usermod -a -G vboxsf <user> Logout and Log back in.
Download Diamond 64-bit for Linux: http://www.latticesemi.com/latticediamond Put the .rpm file in your shared folder (or download inside VM)
Install Diamond: sudo yum install diamond_3_4-base_x64-80-x86_64-linux.rpm
Add Diamond to your path, in your .bashrc: export PATH=/usr/local/diamond/3.4_x64/bin/lin64/:$PATH
Add license.dat file in the appropriate place: sudo cp license_6124.dat /usr/local/diamond/3.4_x64/bin/lin64/../../license/license.dat
Check 'ifconfig'. If you only see eth1 then do the following. Remove the eth0 device and rename eth1 to eth0 (this is needed for the license.dat file to work – it only looks at eth0): sudo vim /etc/udev/rules.d/70-persistent-net.rules