It defeats the purpose of creating a base VM if I forget something critical before I start cloning, so I created a list of standard installations I should make on a base virtual machine for it to be ready for cloning.
Here is the current list (and this is a MS Windows-centric guide - sorry I have not made many Linux or other VMs yets). If you have any additions or comments (or alternatives), let me know.
New VM Checklist
During New VM Wizard
- Customise Hardware: This is pretty obvious and I do not stray much from the OS-based defaults. One habit I think that is emerging is adding a second HDD for data and programs that are specific to a clone. And I always split the data files on this host to the 2Gb, since backing up 200 Gb files over my current network is a non-starter, and more importantly, some flash storage devices struggle with files over 2Gb.
- Set Networking Appropriately. I usually use NAT for desktop operating systems and Briding for Server operating systems. On rare occasions I create a virtual network when running a team of virtual machines.
- During OS I make sure I set up an admin or root user. This stipulation seems silly on Linux systems but on MS Windows I find that I want to automatically create a administrator account that is not my login account. So I don't create an account for myself to login here.
Post OS install
- Make sure VM Ware tools installed. If not installed, install manually.
- Create an unprivileged user to log in with. You always need one so create it during your base build
- Install anti-virus software. This is a no-brainer. For non-commercial virtual machines I use Avast since it seems pretty lightweight in comparison to AVG.
- Select a wallpaper. I always customise the wallpaper, even on Base machines, for the login user (I really enjoy wallpapers from here)
- Map or Share your standard drives. I've found through unscientific experimentation that sharing folders on the host has the best performance. Mapping drives from network resources is next fastest and sharing a mapped drive from the host is slowest. I minimise sharing or mapping of drives on servers.
- Install a good compression program since you always need them; and they need to cope with a variety of formats (RAR compatibility is the one that frequently catches me out). After a recent endorsement from a Podcast I am trying to standardise on Pkware's SecureZip express. Its free and uses industry standard encryption using public and private keys.
- Install notepad++. One day I might find a more general useful text editor but it is not today. You start taking having notepad++ installed on the systems you work on for granted very quickly.
- Set up BgInfo. BgInfo is from the SysInternals pack and writes system information to the current wallpaper. Called from a startup script it can very usefully display your machine name, current user, IP address, free HDD and other vital on your desktop, which when you work with virtual machines a lot is dead useful.
- Set up Junkdrawer deletion script. I saw this tip on www.lifehacker.com and it is somewhat useful. I set up a folder in the "My documents" location called 'Junkdrawer' and set all of my download locations to point to that folder. As I use a machine I also put any temporary files here. At this stage in my setup I create the folder, install a nifty utility called Tdel and create a simple script to run it at start up. TDel is an intelligent delete utility that is called from the script to delete files and folders under Junkdrawer older than, say, 14 days. This is a neat way to keep the folder clean without losing downloads or other temporary files that should stick around for a few days.
- Turn on automatic updates if required. This is essential - your virtual machines will hopefully have some life in them and they need to stay up to date and secure.
- Check the time and timezone; VMWare tools will normally synchronise the time but the timezone is often not set.
Some additional installs only for desktop machines ( mostly self explanatory). Note I find I need to be really careful with licensing and remember that most license agreements consider virtual machines as separate install sites.
- Install Adobe Flash Runtime
- Adobe Acrobat Reader (Although I am considering getting a lighter reader for this base image instead, like Foxxit)
- Adobe AIR
- Java Runtime
- Additional Browser(s) (like Mozilla Firefox)
- Your mandatory browser plugins - in my case Delicious
No comments:
Post a Comment