The invention relates to an automatic online
virtual machine software installing method and
system. The automatic online
virtual machine software installing method comprises the steps that for a Windows
system, an installation file, a configuration file and a keyboard and mouse operation script are obtained through automatic online
software installation tests, when an automatic software installation task arrives, a start-up running script is generated and the installation file, the start-up running script and / or the keyboard and mouse operation scrip are implanted into a
virtual machine image file; for a Linux
system, an installation file, a configuration file and a keyboard and mouse operation script for automatic and correct software installation are obtained through a plurality of automatic online software installation tests based on a
software package local
image repository mode or a script installation mode, and when an automatic software installation task arrives, the installation file and / or a start-up running script and / or the keyboard and mouse operation script are or is implanted into the virtual
machine image file; automatic online virtual
machine software installation is completed during starting up of a virtual
machine. By means of the automatic online virtual machine software installing method and system, large-scale automatic virtual machine software installation can be realized at the beginning of virtual machine starting up.