A virtual machine creation method, comprising: acquiring a first installation package of a first application; determining a security level of the first application, and determining, according to the security level of the first application, that a virtual machine needs to be created for the first application; unpackaging and scanning the first installation package of the first application to determine the type of the operating system that the application running on, and determining essential environmental data to be called for running the first application in the operating system, wherein the environmental data comprises libraries and relevant files in the operating system, obtaining a simplified operating system via compilation according to the essential environmental data, wherein the simplified operating system only includes an operating system environment satisfying the need for the running environment during running of the first application, and packaging the simplified operating system and the first installation package to obtain a virtual machine installation package; and running the virtual machine installation package to create a virtual machine; after the running the virtual machine installation package to create a virtual machine, the method further comprises: acquiring a second installation package; determining that the second installation package and the first installation package of the first application satisfy a predetermined condition; and installing the second installation package to the virtual machine; the predetermined condition comprises: the second installation package is an installation package of a second application, and a security level of the second application is the same as the security level of the first application; prior to the installing the second installation package to the virtual machine, the method further comprises: determining that a similarity between essential environmental data corresponding to the second installation package and the essential environmental data corresponding to the first installation package exceeds a predetermined threshold. acquiring a first installation package of a first application; determining a security level of the first application, and determining, according to the security level of the first application, that a virtual machine needs to be created for the first application; unpackaging and scanning the first installation package of the first application to determine the type of the operating system that the application running on, and determining essential environmental data to be called for running the first application in the operating system, wherein the environmental data comprises libraries and relevant files in the operating system, obtaining a simplified operating system via compilation according to the essential environmental data, wherein the simplified operating system only includes an operating system environment satisfying the need for the running environment during running of the first application, and packaging the simplified operating system and the first installation package to obtain a virtual machine installation package; and running the virtual machine installation package to create a virtual machine; acquiring a second installation package; determining that the second installation package and the first installation package of the first application satisfy a predetermined condition; and installing the second installation package to the virtual machine; the second installation package is an installation package of a second application, and a security level of the second application is the same as the security level of the first application; prior to the installing the second installation package to the virtual machine, the method further comprises: determining that a similarity between essential environmental data corresponding to the second installation package and the essential environmental data corresponding to the first installation package exceeds a predetermined threshold.